jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexandru Popescu <the.mindstorm.mailingl...@gmail.com>
Subject polymorphic queries
Date Fri, 10 Feb 2006 00:35:12 GMT

Considering the following hierarchy of node types: nt:parentType, nt:childType1 extends 
nt:parentType and nt:childType2 extends nt:parentType, than I am wondering if a query in the

//element(*, nt:parentType) is gonna return both types of children (or is it strict, meaning
the query will look only for nt:parentType nodes and no children of nt:parentType; Than to
both children types nodes you should use //element(*, nt:childType1) or //element(*, nt:childType2)).

Thanks in advance,

.w( the_mindstorm )p.

View raw message