Re: [xml-dev] Quick question regarding XPath

From
Emmanuil Batsis (Manos) <>
To
Murali Mani <>
Date
2004-02-25T13:57:22Z
ID
<>
Thread
Re: [xml-dev] Quick question regarding XPath
Murali Mani wrote:

> is it possible to say in XPath
> 
> a//@b
> 
> is the above equivalent to:
> 
> (a/@b | a//*/@b)

AFAIK '//' always uses the root node as the context, thus there is no 
difference between '/foo//foos' and '//foos'.

What exactly would you like to match? BTW such questions belong to XSL 
related forums...

-- 
Manos Batsis

     _  __    __                    __
    / |/ /__ / /____ __ _ ___ _____/ /_
   /    / -_) __(_-</  ' Y _ `/ __/ __/
  /_/|_/\__/\__/___/_/_/_|_,_/_/  \__/


http://www.netsmart.gr
mailto:
tel:+302103240940
http://forte.netsmart.gr/foaf/manos_foaf.rdf