how to define Schems xml document
Answer / arun
<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="note">
<xs:complexType>
<xs:sequence>
<xs:element name="to" type="xs:string"/>
<xs:element name="from" type="xs:string"/>
<xs:element name="heading" type="xs:string"/>
<xs:element name="body" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
it (xs) gives uniquness than other elements having same name..
| Is This Answer Correct ? | 3 Yes | 0 No |
Can xml replace html?
How does xslt transform xml?
Can we use xslt to covert html into vxml?
Can we debug xml file?
What is rss (really simple syndication)?
What is dtd used for?
How can I validate an xml document that uses xml namespaces?
What is the difference between csv and xml?
How do I open an rss file?
What is xml designed for?
What is an rss feed for a blog?
Which xsl type is used for navigation in xml documents?