jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Reutegger <marcel.reuteg...@gmx.net>
Subject Re: multiple nodetypes in element function
Date Thu, 11 May 2006 09:52:43 GMT
David Kennedy wrote:
> Is it possible to specify multiple nodeTypes in the type constraint of the 
> element(*, <nodetype>) function of an xpath query?

no, this is currently not possible. but adding support for the union operator to 
jackrabbit will eventually allow this.

regards
  marcel

> Obvious alternatives 
> would be to check the primaryType and mixinType properties, but I'd lose 
> inheritance with those.  Another alternative is to create a special 
> combined mixin type from which they all inherit, but will cause 
> proliferation of mixin types depending on the number of combinations from 
> which to query.


Mime
View raw message