We've expanded our news coverage and improved our search! Visit
oreilly.com for the latest or search for all things across O'Reilly!
Article:
 |
|
Generating an XML Document with JAXB
|
| Subject: |
|
XML to Java to XML.. |
| Date: |
|
2006-10-27 00:27:50 |
| From: |
|
AshBoy
|
|
|
|
I have an XML document. Now I need to create an XML with same structure populate it with lots of data. The XML document can vary.. and hence the way i thought to solve the above problem is..
Read the XML document. Generate Java classes corresponding to it. Create multiple Java objects. And finally create an XML document using these objects.. Is the process correct and can it be achieved through JAXB.
Please Help.
|