note 45398 deleted from function.domxml-new-doc by nlopess
| From: | nlopess@php.net | Date: | Sun, 05 Sep 2004 08:38:26 +0000 |
| Subject: | note 45398 deleted from function.domxml-new-doc by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-76056@lists.php.net to get a copy of this message | ||
Note Submitter:
----
I use this code
<?php
$gsXML = "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>" .
"<something />"; // it will be erased
$o = domxml_open_mem($gsXML);
$something = $o->document_element();//obtaining node to delete
//echo("before:<pre>\n". print_r($o->dump_mem(true),true).
"</pre>\n");
$something->unlink_node($something); // deleting node
//echo("after:<pre>\n". print_r($o->dump_mem(true),true).
"</pre>\n");
?>
and it was error like this
Fatal error: Call to undefined function: domxml_open_mem()
in c:\appserv\www\k\testdom.php on line 4
How can I solve problem?
I use Win XP SP1
Appserv (Apache +Php +Mysql)
I've read that I have to edit php.ini by add 2 lines
extension c:\Appserv\php\extension
extension c:\domxml_lib.dll
but it not work Please help me...
Thank You Very Much
knicks3000@hotmail.com