jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charles Brooking <public+jackrab...@charlie.brooking.id.au>
Subject Re: Query multi-valued properties
Date Thu, 05 Feb 2009 09:18:23 GMT
Edgar Merino wrote:
> I've got a node that contains a multi-valued property (containing
> references to other nodes), how can I query for nodes with specific
> properties? [jcr:contains(@mymultiprops, 'uuid')] doesn't work
> (substitute uuid with the actual uuid of the referenced node).

It's just [@mymultiprops='uuid'], which is true if any value in the 
multivalued property is equal to 'uuid'. This is like "general 
comparisons" in normal XPath.

See Section Searching Multi-value Properties of the JCR 1.0 spec.


View raw message