Brian Thompson wrote:
Is it even possible to do pattern matching on JCR path elements?
no, it is not. but with the next minor release of jackrabbit (1.4) you can use the fn:name() function together with the equals operator.
so, you can have: //element(*, nt:file)[fn:name() eq 'foo' or fn:name() eq 'bar'] returns file nodes named foo or bar. regards marcel
