Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: xpath problem

by ramrod (Curate)
on Mar 13, 2009 at 16:21 UTC ( [id://750464]=note: print w/replies, xml ) Need Help??


in reply to xpath problem

Also, it looks like you're using double quotes and need to add a \ in front of every /.
For example
$xp->find("queries/query/$element")->get_nodelist
should be more like
$xp->find("queries\/query\/$element")->get_nodelist

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2024-04-19 23:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found