aspose file tools
The moose likes Product and Other Certifications and the fly likes How to append an element in XML document Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Certification » Product and Other Certifications
Reply Bookmark "How to append an element in XML document" Watch "How to append an element in XML document" New topic
Author

How to append an element in XML document

Ramesh R G V S
Greenhorn

Joined: Apr 20, 2002
Posts: 18
Hi All
How to append an element in XML document wiht DOM.
Ramesh
Micheal Jacob
Ranch Hand

Joined: Nov 25, 2002
Posts: 89
Hi
Using Java, we have appendChild in Node Interface.
Using that we can append a child to a node.
Tong Chen
Ranch Hand

Joined: Apr 26, 2002
Posts: 1011
Here is the code example I wrote, go to http://www.coderanch.com/t/147048/po/certification/DOM-Hierarchy-request-error


Tong Chen (Seattle USA)<br />SCJP,SCWCD,SCDJWS,IBM XML,MCP.NET,MCAD.NET,MCSD.NET
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to append an element in XML document
 
Similar Threads
Merge two XML files using DOM
Creating nodes in a document
Append New content in previous XML generated using StreamResult
how to read complex xml document where element has attributes and sub element using java dom parser
Java code to append data into a existing xml file