Problems seeing attributes with SimpleXml

From: Date: Wed, 03 Mar 2004 09:59:34 +0000
Subject: Problems seeing attributes with SimpleXml
Groups: php.xml.dev 
Request: Send a blank email to php-xml-dev+get-333@lists.php.net to get a copy of this message
I'm running through the SimpleXml examples on http://uk.php.net/simplexml. Unfortunately I can't get Example 4 to work as advertised. When I do a var_dump($xml) the $rating['type'] attributes do show up: ["rating"]=> array(2) { [0]=> string(1) "7" [1]=> string(1) "5" } This is the pertinent bits of my configure: --with-libxml2 --with-dom --with-simplexml --with-xsl And phpinfo() shows: dom api version: 20031129 libxml version: 2.6.2 simplexml revision: $Revision: 1.132 $ Any ideas? Philip

« previous php.xml.dev (#333) next »