[PHP-DOC] #16397 [Opn->Fbk]: domxml_unlink_node() From: philip <email protected>
Date: 11/18/02

 ID: 16397
 Updated by: philip <email protected>
 Reported By: 2erudit <email protected>
-Status: Open
+Status: Feedback
 Bug Type: Documentation problem
 Operating System: w2k
 PHP Version: 4.1.2
 New Comment:

Please try PHP 4.3.0 as this extension is still experimental and many
major changes have happened to it recently.

Previous Comments:
------------------------------------------------------------------------

[2002-11-01 13:50:09] thle <email protected>

I'm using a PHP 4.1.2 version on SunOS. I have tried to delete a DOM
Element object by using:

$nodetodelete->unlink();

Actually, it works but it return a "The page cannot be display" page.
What should I do? Thanhs a lot,

Harry

------------------------------------------------------------------------

[2002-04-05 13:24:53] jtate <email protected>

domxml_unlink_node should not be used:

Usage for 4.2.0:
domxml_node_unlink_node($nodetodelete);
or
$nodetodelete->unlink();

For future versions:
domxml_node_unlink_node($nodetodelete);
or
$nodetodelete->unlink_node();

------------------------------------------------------------------------

[2002-04-02 12:59:30] 2erudit <email protected>

$node - is DOM Element object

domxml_unlink_node($node)
reports error: expects exactly 0 parameters, 1 given

but
$node->domxml_unlink_node()
reports error as well: Call to undefined function:
domxml_unlink_node()

8-OOO
8-\\\

------------------------------------------------------------------------

-- 
Edit this bug report at http://bugs.php.net/?id=16397&edit=1

-- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php