note 19086 deleted from function.domxml-node-set-content by nlopess

From: Date: Sat, 26 Jun 2004 11:36:35 +0000
Subject: note 19086 deleted from function.domxml-node-set-content by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-71746@lists.php.net to get a copy of this message
Note Submitter: christian.maehler@mapandguide.com ---- 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"!

« previous php.notes (#71746) next »