Hi Lasse,
Now I am trying to define a schema for my above xml file.I referred
www.xml.com site to read about schemas.....the schema file I wrote is as below:
--------------------------------ClassStudents.xsd--------------------------
<?xml version="1.0" encoding="ISO-8859-1"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="Class">
<xs:complexType>
<xs:sequence>
<xs:element name="Student" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="Name" type="xs:string">
<xs:element name="FavSubject" type="xs:string">
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
---------------------------------------------------------------------------
However I am now stuck on how to associate this schema file with my xml file.
The site doesn't seem to have covered this part.
Can you please help me into this!!
Thanks
Neha
[ September 08, 2003: Message edited by: Neha Purohit ]