wood burning stoves 2.0*
The moose likes XML and Related Technologies and the fly likes generating xml from xsd (urgent) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "generating xml from xsd (urgent)" Watch "generating xml from xsd (urgent)" New topic

generating xml from xsd (urgent)

venkataramana raju

Joined: Sep 11, 2005
Posts: 28
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

Joined: Feb 26, 2005
Posts: 2046
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.
I agree. Here's the link: http://aspose.com/file-tools
subject: generating xml from xsd (urgent)
Similar Threads
creating huge xml file using xmlbeans
how to display xml validation errors in XSLT using java
XML parsing | SAX / STAX
XmlBeans - Creating an XSD from an XML file