Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

how to define Schems xml document

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


Please Help Members By Posting Answers For Below Questions

What do you mean by xslt element?

894


What is meant by xsl formatting?

896


How does xml handle metadata?

928


What is difference between internal and external dtd?

990


What is xml file in android?

873


What is difference between xsl and xslt?

895


What is XML Namespace?

847


What happens about the presence of the top-level element?

881


How do I convert xml to word?

1031


What are the two types of xml parsers?

983


What are the components of xml?

892


How do you use tags in indesign?

850


What is xml and why it is used?

882


How can I declare xml namespaces so that all elements and attributes are in their scope?

861


How do I open an rss file?

907