permaculture playing cards
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

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.


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

Joined: Mar 22, 2000
Posts: 13018
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.
I agree. Here's the link:
subject: xml node insert
It's not a secret anymore!