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
What is the difference between csv and xml?
How do I view xsd files?
How are comments used in xml?
What is the difference between xsl and xslt?
What is an xml tag?
Can multiple xml namespace declarations be in scope at the same time?
What is rss element rss?
If I start using xml namespaces, do I need to change my existing dtds?
What is a valid xml?
How do you display xml with xslt?
Is it possible to use graphics in xml?
How does the XML structure is defined?
Why is xml important?
Does youtube have an rss feed?
What are the ways to use namespaces?