R
Remi COCULA
Please help me find a XPATH expression.
I'm searching to locate all preceding "cousin" nodes of a context element
node of type foo.
(cousin = nodes with same grandfather).
The expression '../../descendant::foo' gives me all foo nodes with the same
grandfather of the courant node.
But I don't know how to get only the ones preceding the courant node.
I'm searching to locate all preceding "cousin" nodes of a context element
node of type foo.
(cousin = nodes with same grandfather).
The expression '../../descendant::foo' gives me all foo nodes with the same
grandfather of the courant node.
But I don't know how to get only the ones preceding the courant node.