Re: Can I query across multiple contexts in one call?

Todd Byrne <[email protected]>
Newsgroups gmane.text.xml.xindice.user
Message-ID <[email protected]>
Hi Lisa,

You will have to write up a routine to do the recursive queries across
collections(contexts). You could also rethink how your storing your data
and nest the extra data inside xml files.

Todd

Lisa McCabe wrote:
> Hi,
>  
> I need to query multiple XML files, across multiple directories (or
> contexts as Xindice calls them).
>  
> For example, in the following directory structure:
>  
>             a
>             /\
>         b        c
>     /  /         /   \
> d    e        f      g
>  
> where a contains b and c
> b contains d and e, and
> c contains f and g
>  
> I would like to have my URI point to b and have Xindice check
> directories b, d, and e and returns results based on my xpath query. Is
> there some kind of wildcard that I can use in my URI or a trigger to
> Xindice telling it to make a resursive search? I would hate to have to
> make 3 calls when I could make one!
>  
> Thanks,
> Lisa McCabe
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.