XML Instance from XML Schema

  • Thread starter Thread starter EAI
  • Start date Start date
E

EAI

How do I create an instance of XML from XML Schema (xsd to be specific) and
instantiate its elements in C#?

Thanks!
 
Yes, you can, but I believe that you have to write it yourself. There
are products out there (such as XMLSpy) that have functions to
auto-generate random XML data from schemas, but I believe that because
of the flexibility of XML schemas it's a non-trivial problem.

Try posting to microsoft.public.dotnet.xml... they may have more
information there.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top