jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jukka Zitting <jukka.zitt...@gmail.com>
Subject Re: xpath
Date Thu, 02 Feb 2006 15:01:45 GMT
Hi,

On 2/2/06, Jukka Zitting <jukka.zitting@gmail.com> wrote:
>     //element(*,'type')[name/@value='test']

Sorry, I always forget that the type name in element() does not need
quoting. Here's a correct version of the query:

    //element(*,type)[name/@value='test']

Of course this won't work either in Jackrabbit.

BR,

Jukka Zitting

--
Yukatan - http://yukatan.fi/ - info@yukatan.fi
Software craftmanship, JCR consulting, and Java development
Mime
View raw message