jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hsp_ <piccina...@ibest.com.br>
Subject Range of levels in XPath
Date Thu, 07 May 2009 19:27:41 GMT

Hi;
How the xpath could help me in the following case:
I have to retrieve 3 levels of path below a relative path, for example:

A
|_B
|_C
   |_D
      |_E
      |_F
         |_G

starting in /A, I need to retrieve the nodes:
/A/B
/A/C
/A/C/D
/A/C/D/E
/A/C/D/F

(not /A/C/D/F/G and the other that would exists deeper)

Can I do this with xpath?
With sql I know how, but I need this in xpath.
Best Regards
Helio.
-- 
View this message in context: http://www.nabble.com/Range-of-levels-in-XPath-tp23433547p23433547.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.


Mime
View raw message