jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Reutegger <marcel.reuteg...@gmx.net>
Subject Re: usage of jcr:path allowed in XPath?
Date Tue, 09 May 2006 12:23:03 GMT
Alexandru Popescu wrote:
> Now I have to think about some tricks to be done. For example, let's
> say that the nodes under /CCC have a property that is not available on
> /AAA and /BBB children. Would it be possible to make use of this in
> the XPath? I guess the other way around would work (having in both
> /AAA and /BBB children a property that is not available on /CCC).

you could get away with something like this:

/jcr:root/*[not(@cccProp)]//*[jcr:contains(.,'whatever')]


regards
  marcel

Mime
View raw message