[
Lists Home |
Date Index |
Thread Index
]
- From: David Valera <dvalera@pcl-hage.nl>
- To: 'Julian Reschke' <julian.reschke@gmx.de>, 'XML-Dev' <xml-dev@lists.xml.org>
- Date: Wed, 11 Oct 2000 15:10:15 +0200
> Hi,
>
> appendChild() doesn't let me add a child if it's
> ownerDocument is different
> from the one where it should be added. What is the easiest
> way to get around
> this (besides manually creating new nodes in the new Document)?
If i understand corerectly, you should be using clonenode and then
appendchild, otherwise you have the problem of two different documents
pointing to the same node...you dont want that...
first clone, then append.
David
|