0

Can any one show me some online tool or any other free tool which can produce a XML file based on my XSD with some dummy data.

i have a XSD with lots of fields and i don't want to do it manualy so looking some auto tool who can help me so that i can focus on parsing part rather than XML creation

FrustratedWithFormsDesigner
  • 26,726
  • 31
  • 139
  • 202
Umesh Awasthi
  • 23,407
  • 37
  • 132
  • 204

3 Answers3

0

I use Altova XML Spy. It will generate sample XML based on a schema file. The sample data will only be default text based on the data type of the elements (i.e. xs:string elements are populated with the word 'String', xs:int elements are populated with 0, etc...).

XMLSpy is only free as a trial, but if you're working with a lot of XML it's definitely a worthwhile investment.

pmartin
  • 2,731
  • 1
  • 25
  • 30
0

I don't know if there's an online tool for this.

However take a look at this discussion.

Anyway Eclipse IDE can generate an XML file starting from a XML Schema or a DTD or an XML template.

bluish
  • 26,356
  • 27
  • 122
  • 180
0

The OpenXSD library mentions that they have support for generating XML instances based on the XSD. Check that out.

Aravind Yarram
  • 78,777
  • 46
  • 231
  • 327