jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fran├žois Cassistat...@maya-systems.com>
Subject How to do this JCR XPath query
Date Wed, 28 Apr 2010 19:28:07 GMT
Hi !

I need to do something like :

//element(*, my:type)[... and element(*, my:othertype)[@someattribute='somevalue' and @someotherattribute='someothervalue']
and ...]

The problem is that my query don't know the subnode names, but one of these subnode should
satify the two (or more) conditions.

This does not look like an accepted syntax in JCR Xpath. Any equivalence? Is this possible
with SQL2 or JQOM?



View raw message