my dog learned polymorphism*
The moose likes XML and Related Technologies and the fly likes how to generate xml file using xsd schema in java ? 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 "how to generate xml file using xsd schema in java ?" Watch "how to generate xml file using xsd schema in java ?" New topic
Author

how to generate xml file using xsd schema in java ?

Prabhat Ranjan
Ranch Hand

Joined: Oct 04, 2006
Posts: 391
how to generate xml file using xsd schema in java ?
Shinelin Samuel
Ranch Hand

Joined: Mar 01, 2010
Posts: 55
There are lot of XML processing APIs available in Java. I like JAXB (Java XML Binding) API, which actually creates a set of POJO classes for your XSD. By this means it is easy to marshall and unmarshall, java object to xml document and visa versa.

Here is the JAXB link -http://java.sun.com/webservices/docs/2.0/tutorial/doc/JAXBUsing.html
 
GeeCON Prague 2014
 
subject: how to generate xml file using xsd schema in java ?