note 19086 added to function.domxml-node-set-content
| From: | christian dot maehler at mapandguide dot com | Date: | Fri, 15 Feb 2002 11:17:40 +0000 |
| Subject: | note 19086 added to function.domxml-node-set-content | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-26638@lists.php.net to get a copy of this message | ||
domxml_node_set_content seems to have a bug: when using this function, the content is not reset but
added to existing content. Assuming the content of a node $node is "hello", the command
$node->set_content(" you");
would result in a content "hello you" and not " you"!
--
http://www.php.net/manual/en/function.domxml-node-set-content.php
http://master.php.net/manage/user-notes.php?action=edit+19086
http://master.php.net/manage/user-notes.php?action=delete+19086
http://master.php.net/manage/user-notes.php?action=reject+19086