Follow via:
RSS
Email Alert
Question
0 Votes
+ -

Generating XML from XSD in VB.NET

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.
Tags: programming
12th Oct 2007

Answers (1)

0 Votes
+ -
XML Serialization
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.
20th Oct 2007
Answer the question
Formatting +
BB Codes - Note: HTML is not supported in forums
  • [b] Bold [/b]
  • [i] Italic [/i]
  • [u] Underline [/u]
  • [s] Strikethrough [/s]
  • [q] "Quote" [/q]
  • [ol][*] 1. Ordered List [/ol]
  • [ul][*] · Unordered List [/ul]
  • [pre] Preformat [/pre]
  • [quote] "Blockquote" [/quote]

Join the TechRepublic Community and join the conversation! Signing-up is free and quick, Do it now, we want to hear your opinion.