jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <m...@onlaw.at>
Subject neighboring node
Date Thu, 26 Jul 2007 12:47:27 GMT
Hello List,

 

what do you think is the best way to get the neighbor (=next/previous
sibling) of a Node?

 

The XPath "preceding-sibling" axis does not seem to work, and I couldn't
find a way to do it without iterating over all child nodes of the
parent.

 

Any hints, ideas and links are very welcome.

 

Regards, 

Marcus.


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