Hi,

On Fri, Mar 28, 2008 at 9:39 AM, Paco Avila <[EMAIL PROTECTED]> wrote:
>  El vie, 28-03-2008 a las 08:57 +0200, Jukka Zitting escribió:
>  > You could use jcr:contains(., 'hola mundo') that looks in all
>  > properties of a node.
>
>  But nt:resource is a subnode and my:docText is a property,
>  jcr:contains(., 'hola mundo') will search in all properties and
>  subnodes?

Ah, yes. Put the extra text property in the nt:resource node (with an
appropriate mixin or subtype as mentioned by Philipp). Then
jcr:contains(jcr:content,'hola mundo') should match the content.

BR,

Jukka Zitting

Reply via email to