Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to append an element in XML document  RSS feed

 
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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!