Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Generating XML from XSDs

Tags:

xml

xsd

I have an bunch of XSDs which in turn inherits schema's from different XSD's and I need to generate an XML file for testing purpose from this XSD. I am using the oXygen XML Editor to do this but when I try to do it, it is not working for me and it says please define root node but than it does not allow me to do so. So if anyone had worked with oxygenXML do suggest of what could be way around for this ?

Additional Question: How can we validate incoming XML file with XSD's which inherits schema's from other XSD's ? here the things is that I have single incoming XML file where as I have around 57 XSD's some of which inherits schema's from other XSD's.

like image 320
Rachel Avatar asked Jun 18 '26 17:06

Rachel


2 Answers

You can use XMLSPY. Using XMLSPY you can generate XSD/DTD from XML or generate simple XML (without values) from XSD and validate the XML with XSD.

like image 58
Karthik Avatar answered Jun 21 '26 05:06

Karthik


Since oXygen is commercial software, why not ask on their forum or just contact them for support?

like image 20
Wim Coenen Avatar answered Jun 21 '26 06:06

Wim Coenen



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!