Generating sample xml from xsd
Posted: Mon Dec 19, 2016 1:47 pm
-1
down vote
favorite
I've generated a sample XML from an XSD schema file here is a snippet of the output:
But ideally I need the sample file to contain attributes and data from the original XML file. So the output should be:
The attribute1,2,3 etc are actuall attribute names for the data element from the original XML.
Is this possible?
down vote
favorite
I've generated a sample XML from an XSD schema file here is a snippet of the output:
Code: Select all
<data name="name1">
<data name="name1">0</data>
<data name="name2">65535</data>
<data name="name3">1</data>
</data>
Code: Select all
<data name="attribute1" type="primary">
<data name="attribute2">
<data name="attribute3">_366170470</data>
<data name="attribute2">
<data name="attribute4">_120494376</data>
</data>
</data>
</data>
Is this possible?