[Home] [By Thread] [By Date] [Recent Entries]



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:mbatsisSPAM_TRAP@n...
tel:+302103240940
http://forte.netsmart.gr/foaf/manos_foaf.rdf



Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member