http://qs321.pair.com?node_id=247212


in reply to Idea for XPath implementation

/descendant-or-self::*[@id='this']/preceding-sibling::*[starts-with(local-name(),'a')][contains(namespace-uri(),'perlmonks')]//some[3]/text()

I know, it's quite an unlikely expression. But XPath is not only about child node names...

-- 
        dakkar - Mobilis in mobile

Replies are listed 'Best First'.
Re: Re: Idea for XPath implementation
by Jaap (Curate) on Apr 01, 2003 at 20:01 UTC
    You make a good point about the complexity of XPath. I am aware of it. The reason why i made the simple example was to err... make a simple example ;-)