I saw in another thread in this forum a post that I can do a query like this: select * from nt:base where jcr:path = '/MyFolder/MyNode' OR jcr:path='MyFolder/MyOtherNode'. But when I try it I get an error: "Invalid combination of jcr:path clauses" But, It would to work, doesn't it?
two jcr:path clauses can only be combined with an OR to form an equivalent query for the descendant-or-self axis in XPath:
e.g.: //element(foo, nt:base) is translated into: select * from nt:base where jcr:path = '/foo' or jcr:path like '/%/foo' regards marcel
