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 Head First Android 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
Rancher

Joined: Mar 22, 2005
Posts: 42956
    
  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.
 
Don't get me started about those stupid light bulbs.
 
subject: how to create XML files using Java Language
 
It's not a secret anymore!