File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

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.

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)

Hope this helps
I agree. Here's the link:
subject: XSD to XML java source code
jQuery in Action, 3rd edition