![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Re: How to select nodes whose parent has a specific attribute >Thread Next - Re: How to select nodes whose parent has a specific attribute Re: How to select nodes whose parent has a specific attributeTo: NULL Date: 3/1/2005 3:03:00 PM bearclaws wrote: > I want to loop through "AAA" and get all "CCC" nodes whose parents id > is "111"...AND whose parents node value is "text". Then perhaps the XPath expression is /AAA/*[@id = '111' and text()[1] = 'text']/CCC but there are many different views of what the node value is so I am not sure that will select what you are looking for. You might want to look at tutorials like <http://www.w3schools.com/xpath/default.asp> -- Martin Honnen http://JavaScript.FAQTs.com/ | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
