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 xml schema better than dtd?
Define structure of xml?
How do I open an xml file?
Where can I find my rss feed on wordpress?
Is feedburner still active?
Explain how to rename a particular element and attribute from XML using XSL?
How you can enhance your XSL test?
How does xml parsing work?
Can xml be used for multimedia purpose?
Why is xml useful?
What is dtd example?
Whether graphics can be used in XML? If so, How?
Why xml is used in web applications?
do I have to change any of my server software to work with xml?
What do you mean by nested elements in xml?