Given this XmlStructure:
i want to read the node description where the title = Item1Title
Heres my try but this aint working:
//channel/item/title['Item1Title']/../description
anyone what I am doing wrong?
Thanks,
Stephan
Code:
<channel>
<title>ChannelTitle</title>
<link>link</link>
<description>des</description>
<item>
<title>Item1Title</title>
<link>link1</link>
<description>des1</description>
</item>
<item>
<title>Item2Title</title>
<link>link2</link>
<description>link3</description>
</item>
</channel>
i want to read the node description where the title = Item1Title
Heres my try but this aint working:
//channel/item/title['Item1Title']/../description
anyone what I am doing wrong?
Thanks,
Stephan