jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shane Preater" <shane.prea...@googlemail.com>
Subject xpath aggregation question
Date Wed, 04 Oct 2006 12:35:42 GMT
I am trying to return the distinct brand property on a series of nodes and
have no idea how to go about it. Any help would be fantastic.

for example:
/categories//products/*   will return all my products
all the nodes returned have a brand property so:

/categories//products/*/@brand  will return all the brands

but how make the list distinct? Or will I need to use an SQL query instead?

Many thanks,

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