Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

generating xml from xsd (urgent)

 
venkataramana raju
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ranchers,

we are facing some problems while generating XML file using some XSDS

we have some SCORM complaint XSDs.
we have to generate SCORM complaint imsmanifest.xml file which should
be valid with that XSDs.
i mean output xml should be valid with all the XSDs at the end.

now i am trying to use XMLBEANS for this task.
but i am new to this XMLBEANS,

can you suggest me best strategy, if there is any way.

if possible sample code also .please.............
 
Jesus Angeles
Ranch Hand
Posts: 2068
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how about jaxb, have you looked at it?

you can generate helper classes using the xsd. after that, you create your java object, then 'marshal' it to xml.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic