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


Win a copy of Barcodes with iOS this week in the iOS forum
or Core Java for the Impatient in the Java 8 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
Rancher

Joined: Mar 22, 2005
Posts: 42954
    
  73
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.
 
rocket mass heater kickstarter
 
subject: how to create XML files using Java Language