jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Zdila <m.zd...@mwaysolutions.com>
Subject XPath order by on child attribute
Date Mon, 21 Apr 2008 13:13:48 GMT
Hello

I have nodes and they have childnodes. Each childnode has name attribute. Now 
I want to query for all nodes ordered by name of their childnodes, but this 
doesn't work:

//node order by childnode/@name

I get no error but result is not sorted. Is it somehow possible to achieve 
what I am expecting?

Thanks in advance.


-- 
Martin Zdila 
CTO

M-Way Solutions Slovakia s.r.o.
Letna 27, 040 01 Kosice
Slovakia

tel:+421-908-363-848
mailto:m.zdila@mwaysolutions.com
http://www.mwaysolutions.com
xmpp:zdila@jabbim.sk (Jabber)
skype:m.zdila

Mime
View raw message