This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

XSD to XML java source code

 
Sarone Thach
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic