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

Is xml schema better than dtd?

789


Define structure of xml?

846


How do I open an xml file?

835


Where can I find my rss feed on wordpress?

756


Is feedburner still active?

754


Explain how to rename a particular element and attribute from XML using XSL?

888


How you can enhance your XSL test?

1021


How does xml parsing work?

826


Can xml be used for multimedia purpose?

861


Why is xml useful?

819


What is dtd example?

833


Whether graphics can be used in XML? If so, How?

946


Why xml is used in web applications?

799


do I have to change any of my server software to work with xml?

775


What do you mean by nested elements in xml?

807