Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries [Thread Prev] >Thread Next - Re: XPath Question XPath QuestionTo: NULL Date: 4/3/2006 10:15:00 PM
assume the following data:
<movies>
<movie>
<title>Matrix</title>
<review>Cool!</review>
</movie>
<movie>
<title>Ice Age 2</title>
<review>Chill!</review>
</movie>
</movies>
what is the xpath to find the movie with the title string "Ice Age 2"?
I don't want to have to loop, if i don't have to. i just want to zero
in on the movie node with the <title> value of "Ice Age 2".
how do i go about getting the <review> text once i've found the movie
node for "Ice Age 2"?
tia...
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
