ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Generating an XML Document with JAXB
Subject:   Generating a XML document in JAXB
Date:   2007-01-18 09:02:24
From:   Sivacham
I have a schema that generates around 50 classes after i use the xjc batch file.The schema includes mandatory and optional elements.
i have a queries
1)can i automate the creation of xml document.Since i hav a schema and i have a input driven interface ie i configure the values of the elements dynamically can i bypass the usage of the java objects or can i use them more efficeintly depending on the input