wood burning stoves 2.0*
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 41162
    
  45
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
 
Similar Threads
Converting Xml to Java Object
Creating XML
Generating XSD
Java And XML
xml as database for java