note 43209 deleted from function.dom-domnode-replacechild by didou
| From: | didou@php.net | Date: | Sat, 02 Apr 2005 22:43:09 +0000 |
| Subject: | note 43209 deleted from function.dom-domnode-replacechild by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-87375@lists.php.net to get a copy of this message | ||
Note Submitter: mbm at interflow dot dk
----
When replaceing a node remember the new node *must* be a member of the document, either by being
created inside the document with document->createNode or by importing it.
Also note that when replaceing a node any elementlist the old node was a member off will change its
length and index since the node is no longer there, that had me confused for some time.