XML-DOM
| From: | Thomas Brusa | Date: | Mon, 05 Feb 2001 13:06:13 +0000 |
| Subject: | XML-DOM | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-38222@lists.php.net to get a copy of this message | ||
hello
I'm trying to parse and change a loaded xml-file using the DOM module.
I need to remove certain nodes and append new ones.
Is it really true that you can't remove a childnode
while working with dom.
in perl this would look somehow like this:
$doc1->removeChild($tmpele);
$tmpele->setOwnerDocument($doc2);
$somedoc2node->appendChild($tmpele);
thanx
tom