I tried to use unlink_node to delete a node, but it never worked.
However, you can delete a node with this:
function delNode($node){
$nud=$node->parent_node();
$nud->remove_child($node);
}
![]() | DomNode->unlink_node![]()
starloran at hotmail dot com
01-Oct-2004 09:46
I tried to use unlink_node to delete a node, but it never worked.
phpnotes AT no Spam dot phillfox.net
23-Nov-2002 06:07
Just like dump_node*, this method requres the node as an argument. | ![]() |