posted 17 years ago
assume I only know the value of price and I want to access the according year how can I do it.
I expect to use //price[text()='29.99']/../../year but It seems do not work, however //price[text()='29.99'] return the price correctly.
So is it means I can not access the parent node on the text()?
SCJP 1.4<br />SCWCD 1.3<br />SCJD<br />SCBCD<br />IBM Xml Cert in progress