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 is the main disadvantage of dom?
What is the use of namespace in xml?
What is xml format example?
What is the use of xslt?
What are the different scenarios under which an xml schema may be used?
What is the difference between xml and xlsx?
What is ?Async? property of XML Means ?
What are the ways to add styles to html?
Is excel an xml file?
Explain and describe xml?
How is xsl different from cascading style sheets? Why is a new stylesheet language needed?
What is rss subscription?