jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexandru Popescu" <the.mindstorm.mailingl...@gmail.com>
Subject Re: XPath queries for versions
Date Wed, 18 Oct 2006 09:39:06 GMT
On 10/18/06, Alexandru Popescu <the.mindstorm.mailinglist@gmail.com> wrote:
> Hi!
>
> According to the specification, if an implementation is supporting
> versioning, then this is stored in a special version storage area,
> which must be exposed in each workspace under
> /jcr:system/jcr:versionStorage.
>
> I am wondering if you can use normal XPath queries upon this tree?
>

Considering a node:

/foo/bar/mynode with a property @my:property

I would like

1/ to find the version of this node whose my:property was 'data':

/jcr:root/jcr:system/jcr:versionStorage/foo/bar/mynode[@my:property = 'data'] ?

2/ to find a labeled version of mynode (label that I know)

thanks in advance,

./alex
--
.w( the_mindstorm )p.

Mime
View raw message