Angelo Zanetti wrote:

> Thanks Per but I didn't send all the XML but you see that there is a
> city code and an item code:
> 
>   <Hotel HasExtraInfo="true" HasMap="true" HasPictures="true">
>                                  <Recommended = "true">
> <City Code="AMS"><![CDATA[ Amsterdam ]]></City>
> <Item Code="AME"><![CDATA[ AMERICAN ]]></Item>
> 
> How would I get the Item code then? Based on your answer above?
> 

Hi Angelo

this should work:

query( 'HotelDetails/Hotel/Item/@Code' ...


/Per Jessen, Zürich


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to