1

Possible Duplicate:
How to generate sample XML documents from their DTD or XSD?

I know that visual studio 2010 can generate sample XML document from an XSD schema, but there is no documentation to show how to do that programmatically. Does anyone have hints on how to accomplish this in C#? Thanks.

Community
  • 1
  • 1
user282807
  • 905
  • 3
  • 13
  • 26
  • There are numerous solutions on these questions: http://stackoverflow.com/questions/17106/how-to-generate-sample-xml-documents-from-their-dtd-or-xsd http://stackoverflow.com/questions/761661/tool-to-generate-xml-file-from-xsd-for-testing Several of them are open-source, so you should be able to grab the source and see exactly how they do it. – Tim Sylvester Apr 02 '11 at 00:51

0 Answers0