File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes XML and Related Technologies and the fly likes how to create Xml file programmatically Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "how to create Xml file programmatically" Watch "how to create Xml file programmatically" New topic
Author

how to create Xml file programmatically

ashuk
Greenhorn

Joined: Oct 09, 2002
Posts: 1
Hi
In my project I am in need of creating an XML file programmatically by inserting the data from a java class(can be a bean class). This is to forward the request of the client received in the web module to another module for processing. I am not able to visualise how I should create a xml file programmatically that is also conforming to the given schema. I need the conformance to xml schema so that in the future we can bring the changes in the XML file format in future. Thanks in advance.
Ashu
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how to create Xml file programmatically