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 |
Is xml hierarchical?
What is ?Async? property of XML Means ?
How are comments used in xml?
What is xml tag library?
Is xml schema better than dtd?
What is Complex Element?
Define xlink and xpointer?
What are well-formed xml documents?
What is an rss subscriber?
I Read xml is used to store and transfer data can you explain it with sample code for storing and displaying data.
What is the difference between wsdl and soap?
What is the use of xsd in xml?