XPath select tags by id not descendants of
Posted
by Stefano
on Stack Overflow
See other posts from Stack Overflow
or by Stefano
Published on 2010-05-18T12:28:26Z
Indexed on
2010/05/18
12:30 UTC
Read the original article
Hit count: 247
xpath-expression
|xpath
I have the following code and I have to select all the nodes with id="text" but not the nodes that already have a parent with id="text":
test00 test01 test02 * test03 *
so in this example the query have to return only the two fo:block with content test00 and test03.
Thank you.
© Stack Overflow or respective owner