• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to append an element in XML document

 
Ramesh R G V S
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All
How to append an element in XML document wiht DOM.
Ramesh
 
Micheal Jacob
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
Using Java, we have appendChild in Node Interface.
Using that we can append a child to a node.
 
Tong Chen
Ranch Hand
Posts: 1011
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is the code example I wrote, go to http://www.coderanch.com/t/147048/po/certification/DOM-Hierarchy-request-error
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!