aspose file tools*
The moose likes XML and Related Technologies and the fly likes xml node insert 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 "xml node insert" Watch "xml node insert" New topic
Author

xml node insert

Edward Durai
Ranch Hand

Joined: Oct 09, 2004
Posts: 223
how to insert one node in a particualr position of xml file.

thanks


Thank You<br />Edward
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12781
    
    5
1. learn how to parse an xml document into a DOM
2. learn how to select a given location in document
3. learn how to insert a node at given location
4. learn how to write a modified DOM to a file

Where are you in the above sequence?
Have you read a tutorial on working with DOM in Java? If not, try this one at Sun.
Bill
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: xml node insert