- Joined
- May 8, 2009
- Messages
- 1
- Reaction score
- 0
Hi,
I am stuck trying to get the following to work.
/image_list/image[image_purpose='Thumbnail']/image_url
I don't get any errors that I can find, just doesn't pull the info.
The xml looks like this.
<image>
<image_url><![CDATA[/room/thumb.jpg]]></image_url>
<image_caption><![CDATA[Whistler Hotel]]</image_caption>
<image_purpose><![CDATA[Thumbnail]]></image_purpose>
</image>
If I put image[2] it works, but that's not what I want.
Any ideas? I don't think I need the CDATA....
Thanks,
I am stuck trying to get the following to work.
/image_list/image[image_purpose='Thumbnail']/image_url
I don't get any errors that I can find, just doesn't pull the info.
The xml looks like this.
<image>
<image_url><![CDATA[/room/thumb.jpg]]></image_url>
<image_caption><![CDATA[Whistler Hotel]]</image_caption>
<image_purpose><![CDATA[Thumbnail]]></image_purpose>
</image>
If I put image[2] it works, but that's not what I want.
Any ideas? I don't think I need the CDATA....
Thanks,