Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: xpath problem

by ramrod (Curate)
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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://750464]
help
Chatterbox?
[LanX]: But reu germans have no humor, better to refrain from this site till the troll is gone...
[LanX]: true
[shmem]: I disagree
[LanX]: sure you are German
[shmem]: germans do have humour. Open debate is what germans, and what humour. There. :-)
[LanX]: :-P

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (10)
As of 2017-04-27 19:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (513 votes). Check out past polls.