Accessing xml using Linq with xsd available

I have an xml file that contains a lot of data. The file structure comes from several formats for which there are xsd files. They all merge into the outline that completes the presentation.

What is the best way to access an XML file using linq when I need to get all the data and work with it?

0


a source to share


2 answers


Your search for XDocument, which is a new XML model introduced to support LINQ. You can find more details here: http://msdn.microsoft.com/en-us/library/system.xml.linq.xdocument.aspx



+1


a source


Microsoft is experimenting with a LINQ to XSD provider. It might be worth checking out.



0


a source







All Articles