Answer Posted / 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 |
Post New Answer View All Answers
Is there a way to describe XML data?
Why is my rss feed not working?
Explain the purpose of XSLT in XML?
When will u use a XMLDataDocument and when will u use a XPathDocument? What's the differences between the two?
What are the ways to use namespaces?
what is difference between mail sendig in .net 1.1 and .net 2.0
What is XSLT data model?
How do I import an xml file into excel?
How does the XML structure is defined?
Is there any dtd file to validate atom feed files?
What is selectnode method will give?
Is xml is a programming language?
What is xsl fo template?
How do I create an xml file on a mac?
Explain XSL-FO Documents structure?