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 is the difference between csv and xml?

852


How do I view xsd files?

831


How are comments used in xml?

854


What is the difference between xsl and xslt?

939


What is an xml tag?

791


Can multiple xml namespace declarations be in scope at the same time?

932


What is rss element rss?

789


If I start using xml namespaces, do I need to change my existing dtds?

899


What is a valid xml?

865


How do you display xml with xslt?

918


Is it possible to use graphics in xml?

913


How does the XML structure is defined?

973


Why is xml important?

850


Does youtube have an rss feed?

845


What are the ways to use namespaces?

949