Linq to XSD

Dec 29, 2009 at 5:28 PM

I am working on a project where i have to do a rest api call and in response i am getting back as a xml response.

I have XSD for the xml response  i am getting.

I would like to use a tool and then display the contents of the xml as html.

Can i do this with linq to xsd or not?


Feb 27, 2010 at 3:53 AM

You should try. 

1. Convert the XSD file to a C# file using the linqtoxsd command tool.

2. Add the generated file to your project.

3. Use generated Load/Parse functions to convert the XML response to an object model.

4. Generate HTML by using the object model.