Re: Problem with DOMElement/Node
| From: | Christoph Boget | Date: | Wed, 09 Apr 2008 14:17:39 +0000 |
| Subject: | Re: Problem with DOMElement/Node | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-272787@lists.php.net to get a copy of this message | ||
> DOM Nodes are specific to the document in which they were created, so
> you can't just append a node from one document into another document.
> The importNode function does what you want.
>
> http://us2.php.net/manual/en/function.dom-domdocument-importnode.php
Interesting. Why is that, out of curiosity?
Thanks for the pointer! That's exactly what I needed. :)
thnx,
Chris