There are various ways. One way is to use a dataset to read the schema, and
then the xml. You can use the ReadXMLSchema and ReadXML functions of a
dataset for this.
Another way is to create a set of typed classes out of your xsd - using xsd
tool or xsdobjectgen tool - and deserialize your xml file directly to the
object model.
--
Thanks a lot
-----------------------------------------------------------------------
Anoop Madhusudanan,
Solution Architect,
Application Development,
Sumeru Software Solutions Pvt Ltd
http://www.sumeru.com
Ph: (91)9886976328
-----------------------------------------------------------------------
visit me:
http://amazedsaint.blogspot.com
= = =
"Action without doership is meditation"
"Ben van Erp" <Be*******@discussions.microsoft.comwrote in message
news:DE**********************************@microsof t.com...
Somebody gave me an XSD file to read a XML file. Can somebody give me an
idea
how to use this XSD file in C# to start reading XML files?
Thanks, Ben