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 ancestorTo: NULL Date: 10/11/2008 8:48:00 AM kishjeff a écrit : > thanks so much. that works just fine evidently. You did most of the work ;-) < is there a way of > doing it without count, say with some sort of "not > decendent::querybox" sort of thing? Just try not(descendant::querybox) not() is a *function*, hence the parentheses. XPath 2.0 also introduces some other functions like exists(). Be aware that not(descendant::querybox) it is not what you have asked :-) Cheers, p.b. | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
