Rachel
Rachel

Reputation: 103607

Generating XML from XSDs

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.

Upvotes: 3

Views: 13062

Answers (3)

Karthik
Karthik

Reputation: 111

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.

Upvotes: 5

Gokul
Gokul

Reputation: 163

once more suggestion is if you have BizTalk installed on your machine. The Visual studio support for XSD is excellent. You can right click on a XSD and generate instance will generate an XML for you.

You can also try using this tool from Microsoft

http://msdn.microsoft.com/en-us/library/aa302296.aspx

Upvotes: 0

Wim Coenen
Wim Coenen

Reputation: 66793

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

Upvotes: 1

Related Questions