Is there an SQL2
query that is identical to the following XPath
query:
/jcr:root/content/ancestor//parent/jcr:content
It should return the following nodes, for example:
/content/ancestor/a/b/c/parent/jcr:content
/content/ancestor/a/parent/jcr:content
/content/ancestor/parent/jcr:content
But not the following nodes:
/content/xxx/a/b/c/parent/jcr:content
/content/xxx/a/parent/jcr:content
/content/xxx/parent/jcr:content