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.

Reply via email to