Create 'template' xml from xsd model [message #589807] |
Tue, 20 July 2004 16:59 |
Gary Messages: 8 Registered: July 2009 |
Junior Member |
|
|
Given an XSDSchema object I want to to generate a template XML tree using
all elements defined in the schema. In other words it would be the most
complete document that could be generated from the schema with all optional
elements and choices.
In my case I intend to generate an XML model that also contains not one but
all of the <choice> elements which means of course that the xml will not
validate against the schema but that's not what I want to do with it. I
just want an XML model that contains all the elements defined in the schema.
If someone could point me to the right place or has any ideas I would
appreciate it very much. Has anyone seen anything like this before or
anything close? Maybe anything that generates sample XML from a schema
would help.
|
|
|
Powered by
FUDForum. Page generated in 1.24677 seconds