A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Spring in Action
this week in the
XML and Related Technologies
appending xml document
Joined: May 05, 2001
Aug 04, 2001 01:49:00
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?
Joined: Feb 06, 2001
Aug 06, 2001 07:06:00
Can you show us the code?
Cheers,<br />Rani<br />SCJP, SCWCD, SCBCD
Joined: Jul 23, 2001
Aug 06, 2001 21:10:00
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.
Journey is as important as the Destination.<br /> <br />PMP, SCJP, SCJD, SCEA (Part 1), SCMAD, SCDJWS
I agree. Here's the link:
subject: appending xml document
JAXP/W3C DOM Question
Help making XML request from servlet
Insert JPEGs into XML
create xml document by xpath in java
creating a new xml document
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014