xml-xindice-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <va...@reverycodes.com>
Subject Re: xpath question
Date Thu, 15 Apr 2004 11:21:03 GMT
Christopher Garwood wrote:

>Hi,
>
>I know this list is for Xindice but does anyone out there know a lot about
>xpath or can recommend some sites that address querying with xpath on
>multiple nested branches?
>

Not sure what exactly you need but you can use query like "//*" and put 
expression describing your "nested branches" as predicate...

    //*[(name() = 'myelement' or name() = 'anotherelement') and ....]

You'll need to complete this xpath with expression identifying your 
branches, I guess you'll need to use parent axis, see w3.com/TR/xslt for 
complete documentation.

Vadim



Mime
View raw message