On 7/4/07, Marcel Reutegger <[EMAIL PROTECTED]> wrote:
Rohnny Moland wrote:
> 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.

you can have multiple checks for the jcr:primaryType property, but please note
that type inheritance is not respected in that case. the query will then only
return nodes that have the exact primary type you state in the query.

Right. But I need to have type inheritance working. Any other
suggestions? I could change to sql query language instead, that may be
easier.

Thanks,
Rohnny

Reply via email to