This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes how to create a new XML using java 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 a new XML using java" Watch "how to create a new XML using java" New topic
Author

how to create a new XML using java

santosh akella
Ranch Hand

Joined: Oct 24, 2004
Posts: 32
hi

i have some data and i want to write a new XML for that data. can this be done in java using any parsers.
if yes can nyone pls give me sample code of it.

thank u
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12761
    
    5
You will probably find it easier just to write the XML document file directly with print statements than to fool around with creation of a Document object in memory.
 
 
subject: how to create a new XML using java
 
Similar Threads
HOW TO CONVERT TEXT FILE TO XML FILE GENERICALLY
XML Doubt
Must I create new file when client invoke soap method?
Need JAXP tutorial
response xml