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 |
How do I use prefixes to refer to element type and attribute names in an xml namespace?
What is xsl used for?
What is valid xml document? What a well formed xml document?
What is the main disadvantage of dom?
Whats does dtd mean?
What is the use of namespace in xml?
What happens when an xml namespace declaration goes out of scope?
Difference between XML and HTML?
How do I edit an xsl file?
What does xslt stand for?
Can we use css in xml?
What is difference between xsl and xslt?