jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rohnny Moland" <rmol...@gmail.com>
Subject Searching for multiple types using xpath
Date Wed, 04 Jul 2007 08:16:59 GMT
Hi,

I am trying to search for multiple types in jcr using xpath. To search
for one type the spec says I can use something like:

//element(*,nt:file)

Works great. My guess was that I could use something like:

/path/to/context//element(*, typeA or typeB)

But this did not work. Tried to search this mailing list also, but
couldnt find any answer for this.


Thanks,
Rohnny

Mime
View raw message