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 files using Java Language 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 create XML files using Java Language" Watch "how to create XML files using Java Language" New topic
Author

how to create XML files using Java Language

Ramesh Shanmugam
Ranch Hand

Joined: Sep 13, 2004
Posts: 132
how to create XML files using Java Language??


Ramesh Shanmugam - SCJP 1.5
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39547
    
  27
You can create all elements and attributes yourself, and write them to a file, or you can construct a DOM object in memory, and have it write itself to a file. There are various DOM-like APIs (DOM itself, XOM, JDOM, dom4j).

You can find in introduction to Java XML processing here.


Ping & DNS - updated with new look and Ping home screen widget
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to create XML files using Java Language
 
Similar Threads
Generating XSD
Creating XML
Java And XML
xml as database for java
Converting Xml to Java Object