jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bahl Christian <christian.b...@gwvs.de>
Subject Question about XPATH and jcr:contains
Date Mon, 20 Jul 2009 11:18:32 GMT
Hi,

I`ve a problem with a query in XPATH. It looks like this:

/jcr:root//*[(@tempContent='false') and (jcr:contains(.,'*termin*') or jcr:contains(*/.,'*termin*')
or jcr:contains(*/*/.,'*termin*'))]

I´m searching all Nodes, not beeing Temp. 

And also containing the word "termin" in the same node, the first, and second child node.
And this is my problem. Is there any solution to merge the three jcr:contains in ONE? 

In future it might be possible that there are more than 2 child nodes and therefore I want
to check all child nodes and the node itself where the property tempContent='false'.

Thx
Bodo

Mime
View raw message