note 53413 added to function.simplexml-element-children

From: Date: Wed, 01 Jun 2005 01:05:45 +0000
Subject: note 53413 added to function.simplexml-element-children
Groups: php.notes 
Request: Send a blank email to php-notes+get-89709@lists.php.net to get a copy of this message
For anyone who hasn't read Sterling Hughe's article (http://www.zend.com/php5/articles/php5-simplexml.php): <?php $xml_document =<<<EOT <?xml version="1.0"?> <root xmlns:foo="http://google.com"> <foo:bar>baz</foo:bar> </root> EOT; $xml_document = simplexml_load_xml($xml_document); $foo_ns_bar = $xml_document->children('http://google.ca'); echo $foo_ns_bar->bar[0]; // prints 'baz' ?> ---- Manual Page -- http://www.php.net/manual/en/function.simplexml-element-children.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+53413 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+53413&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+53413&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+53413&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+53413&report=yes&reason=useless Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+53413&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+53413&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#89709) next »