aspose 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: 41509
    
  53
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 - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to create XML files using Java Language