jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mathaj, Kerstin" <kerstin.mat...@condat.de>
Subject Order By in XPath with weakreference
Date Wed, 07 Dec 2011 14:27:07 GMT
Hi,

 

i have a node with a weakreference property to an other node. E.g. 

 

[my:book]

-          publisher [WEAKREFERENCE]

...

 

[my:publisher]

 - name

 

I want to query my:book and reference to my:publisher.name, to order by the
name. I tried:

 

.../element(*,my:book)[some conditions] order by publisher/@name ascending

 

The result isn't ordered by the publisher.name, but by the weakreference id
like (JCR identifier: 149553de-2646-4b95-8577-17c10776c4a8)

 

So, how can I use order by in xpath with weakreferences?

 

Thanks

k.m.


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