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 |
What are the advantages of using xslt?
What is the difference between xml and xlsx?
What are the condtions that apply in case of xsl:stylesheet element?
how to transform an XML file into HTML using XSL transformation (XSLT)?
How do I find my youtube rss feed?
Where can I declare an xml namespace?
What is the extension of xslt file?
What is valid xml document? What a well formed xml document?
what is DTD?
Why was xml created?
Is xsl and xslt the same?
Can you open xml in excel?