jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Kennedy <da...@us.ibm.com>
Subject multiple nodetypes in element function
Date Wed, 10 May 2006 19:24:24 GMT
Is it possible to specify multiple nodeTypes in the type constraint of the 
element(*, <nodetype>) function of an xpath query?  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.

David
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message