Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.2.1
-
None
-
None
Description
For example,
I want to find the root of a node tree that contains a node with a specified id. The child node may be n layers deep in the node tree. In my specific case, I know how deep it is so
//element(*, my:foo)[bar/*/*/*/*/@jcr:uuid = 'abc']
finds the node of type my:foo that contains the child node with id 'abc'.
Now, I would like to generalize this so I thought i could simply do the following.
//element(*, my:foo)[bar//*/@jcr:uuid = 'abc']
but this does not work.