jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Moales <mmoa...@fluent.com>
Subject XPath multivalue value query
Date Thu, 07 Dec 2006 18:30:48 GMT
Does anyone have an example of an xpath value query for a mutlivalue 
property?  For example, if I have a node foo with a multivalue property 
called myProp that contains three strings ('a','b','c'), I want to do 
something like:

//foo[@myProp eq ('a','b','c')]

I tried this and don't get any hits.  The JCR spec states "Value 
comparisons test the entire attribute value as a single unit.", but they 
don't provide any examples of the syntax.

Thanks in advance,

Mark


Mime
View raw message