Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Idea for XPath implementation

by dakkar (Hermit)
on Apr 01, 2003 at 11:36 UTC ( #247212=note: print w/replies, xml ) Need Help??


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 ;-)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://247212]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (7)
As of 2022-05-16 08:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (62 votes). Check out past polls.

    Notices?