jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fabián Mandelbaum <fmandelb...@gmail.com>
Subject Re: Searching for nodes with a wildcard in a XPath query
Date Mon, 16 Aug 2010 13:22:43 GMT
If all the intermediate paths, the ones with ?, have one letter only,
why not /jcr:root/data/people/*/*/* then?

On Mon, Aug 16, 2010 at 3:55 AM, Ard Schrijvers
<a.schrijvers@onehippo.com> wrote:
> On Sun, Aug 15, 2010 at 9:44 PM, Krzysztof Hycnar
> <krzysztof.hycnar.and@gmail.com> wrote:
>>
>> Hi,
>>
>> I'm new to JCR and need some help to build an XPath query that would return
>> all nodes placed on a specific path.
>>
>> Basically I need to find nodes on a path like /jcr:root/data/people/?/?/*
>> where ? represents a single character?
>>
>> Is is possible to create a query like that?
>
> Not that I know of...perhaps someone else, but I don't think it can be
> done (apart from guaranteed poor performance if you could)
>
> Regards Ard
>
>>
>> Thanx for any suggestions.
>> K.
>> --
>> View this message in context: http://jackrabbit.510166.n4.nabble.com/Searching-for-nodes-with-a-wildcard-in-a-XPath-query-tp2326187p2326187.html
>> Sent from the Jackrabbit - Users mailing list archive at Nabble.com.
>>
>



-- 
Fabián Mandelbaum
IS Engineer

Mime
View raw message