A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
XML and Related Technologies
generating xml from xsd (urgent)
Joined: Sep 11, 2005
Mar 02, 2006 23:24:00
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.............
Joined: Feb 26, 2005
Mar 04, 2006 06:37:00
how about jaxb, have you looked at it?
you can generate helper classes using the xsd. after that, you create your
object, then 'marshal' it to xml.
It is sorta covered in the
JavaRanch Style Guide
subject: generating xml from xsd (urgent)
how to display xml validation errors in XSLT using java
XML parsing | SAX / STAX
creating huge xml file using xmlbeans
XmlBeans - Creating an XSD from an XML file
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014