Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

xml node insert

 
Edward Durai
Ranch Hand
Posts: 223
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how to insert one node in a particualr position of xml file.

thanks
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13045
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic