Question Locked

Generating XML from XSD in VB.NET

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I have XSD file and I am trying to generate XML file based of off the XSD. Does anyome have code sample how this done? What I have is the xml stored in table and I am kind of combining xml from each record in the table into one huge xml file.

2 replies

by captaingoodnight

If you want to generate XML files based on a set of schema files using VB .Net, the easiest way I can think of is XML serialization.

If you are using Visual Studio 2005, you can use its xsd.exe command line tool to create a class file that contains the necessary code to parse or create XML data in object oriented fasion.

This discussion is closed to new replies.