Beefy Boxes and Bandwidth Generously Provided by pair Networks Bob
go ahead... be a heretic
 
PerlMonks  

Re: xpath problem

by ramrod (Hermit)
on Mar 13, 2009 at 16:21 UTC ( #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


Comment on Re: xpath problem
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2014-04-19 00:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (473 votes), past polls