• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

appending xml document

 
katyayan agrawal
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Friends
I am trying to append an existing xml document using appendChild() method but it doesnot write to the existing xml document & neither throws any exception.Can anybody give me some idea,how i can achieve this?
 
rani bedi
Ranch Hand
Posts: 358
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you show us the code?
 
Suresh Bansal
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try printing the node, this will prove if the node you are trying to append is being created properly.
In case you are appending a node from some other tree you need to do a importNode.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic