note 92280 deleted from book.simplexml by thiago

From: Date: Fri, 17 Jul 2009 12:58:27 +0000
Subject: note 92280 deleted from book.simplexml by thiago
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-158413@lists.php.net to get a copy of this message
Note Submitter: appsol at gmail dot com ---- @joerg simplexml objects are accessible as arrays, but unlike xpath, the arrays are 0 (zero) based, so by accessing the [1] node you are accessing the second element in the array. Try using [0] to access the first element.

« previous php.notes (#158413) next »