note 59545 rejected from function.domnode-next-sibling by sp

From: Date: Fri, 09 Dec 2005 14:43:48 +0000
Subject: note 59545 rejected from function.domnode-next-sibling by sp
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-99830@lists.php.net to get a copy of this message
Note Submitter: alan3 dot bell at unn dot ac dot uk ---- I have a xml file which looks like this : flight> <flightno>BE145</flightno> <origin>NCL</origin> <destination>SOU</destination> <departures> <departure> <departdate>03-10-2005</departdate> <departtime>08:55</departtime> </departure> <departure> <departdate>03-10-2005</departdate> <departtime>17:55</departtime> </departure> .... I am trying to print out each departdate for a specific flightno, however using the above function creates an error : - "cannot use object of type domnodelist as array". Any ideas on how to solve this problem?

« previous php.notes (#99830) next »