File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes XML and Related Technologies and the fly likes XSD to XML java source code Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "XSD to XML java source code" Watch "XSD to XML java source code" New topic
Author

XSD to XML java source code

Sarone Thach
Ranch Hand

Joined: Jun 25, 2003
Posts: 89
Hi there,

I would like to see some source code of a java class or application that can read an XSD file and generate an XML message. Based on the rules defined in the XSD.

Could someone be able to point me in the right direction, whether it be key words so I can do a google search or a tutorial that explains how its done.

thanks,
:-)
Bajji Pat
Ranch Hand

Joined: Apr 05, 2005
Posts: 50
Hi Sarone,

Pls elaborate on your requirement. Even if we were able to generate XML from XSD where would the code fill in the data for all the XML tags.

Pls go through this link Info on JAXB)
http://www-106.ibm.com/developerworks/edu/x-dw-xjaxb-i.html

Hope this helps
Bajji
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: XSD to XML java source code
 
Similar Threads
Creation of simple XML Parser
Generate XML using XSD and data in CSV
XML validation against XSD
converting xsd to html
Any Java API similar to DataSet in ADO.NET