jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torgeir Veimo <torg...@netenviron.com>
Subject Re: query node by node identifier
Date Mon, 30 Aug 2010 18:29:31 GMT
On 30 August 2010 19:12, JOSE FELIX HERNANDEZ BARRIO
<jose.hernandez@isthari.com> wrote:
>
> i'm trying to extract a node from the repository given de node identifier
> (the one returned by node.getIdentifier)
> i've tried:
> //*[@jcr:identifier='abbe81d4-5d5b-457e-901f-7ffdb0cef7fa']
>
> with no results
>
> any tip?

If you actually need to use a query to find a node by its id, I belive
the correct query would use jcr:uuid, not jcr:identifier.

-- 
-Tor

Mime
View raw message