Quote Originally Posted by revvv1234
Quote Originally Posted by debasis
Quote Originally Posted by revvv1234
chema is a way to describe and validate data in an XML environment.What do you mean by give example of it?
Firstly its not "CHEMA" its "Schema" and proving a example means giving a sample code plz look at below.


<?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>
Thanks.
Thanks i know that example is like this only but got confused because some examples are too big.
I didn't get you you have written "i know that example is like this only", you mean there won't be any other example available for xml schema?Sorry but there are lots of things we can do with it and lots of example we can make from this.
Thanks.