note 24589 added to function.domnode-dump-node

From: Date: Thu, 22 Aug 2002 10:22:51 +0000
Subject: note 24589 added to function.domnode-dump-node
Groups: php.notes 
Request: Send a blank email to php-notes+get-35352@lists.php.net to get a copy of this message
Note: This also dumps the tag that defines the node you are trying to dump. It is useful because it is the only way I could find to get a node's content including the tags in it. Example: From this xml bit of file: <block> Blah blah blah <some_stuff/> </block> doing a dump_node on this block node will return exactly all of the xml typed above, including the <block> tags. Trying to get the value or content of the node, however, will only return "Blah blah blah" as <some_stuff> is considered a child, not part of the /text() xpath. -- http://www.php.net/manual/en/function.domnode-dump-node.php http://master.php.net/manage/user-notes.php?action=edit+24589 http://master.php.net/manage/user-notes.php?action=delete+24589 http://master.php.net/manage/user-notes.php?action=reject+24589

« previous php.notes (#35352) next »