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 |
How important is an element’s attributes used in xslt?
What is the difference between the xml and html?
How do I declare an xml namespace in an xml document?
Can I open an xml file in excel?
Why xml is used in web applications?
What are the differences between xml and html?
Can I (and my authors) still use client-side inclusions?
Xlink markup design?
Explain about the actor element?
While writing an xml document what are the rules that are to be followed?
What is html xml css?
What are the steps in the instantiation of a template?