Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Re: how to find elements that don't have ancestor >Thread Next - Re: how to find elements that don't have ancestor Re: how to find elements that don't have ancestorTo: NULL Date: 10/10/2008 10:03:00 PM kishjeff a écrit : >> Can someone tell me how to find all the elements of type 'table' which >> have an attribute named 'source' and are not descendents of >> 'querybox' ? > oh geez, I'm trying out xpath. sorry.. I forgot to mention that > insignificant item. Why not : //table[@source and (count(ancestor::querybox) = 0)] Cheers, p. | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
