Re: [PHP] XML Get Value of Node DOMXPath

2008-12-16 Thread Rob Richards
Stephen Alistoun wrote: Hello all, Need help to get the value of the node. We know how to get the value of the city , item and itemPrice nodes below. How do we get the value of NumberOfRooms? $hotelElements = $xpath->query( '', $searchReponseElement );

[PHP] XML Get Value of Node DOMXPath

2008-12-15 Thread Stephen Alistoun
Hello all, Need help to get the value of the node. We know how to get the value of the city , item and itemPrice nodes below. How do we get the value of NumberOfRooms? $hotelElements = $xpath->query( '', $searchReponseElement ); foreach( $h