Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: Using XPath in libXML

by ramrod (Curate)
on Feb 09, 2009 at 17:46 UTC ( #742498=note: print w/replies, xml ) Need Help??


in reply to Re: Using XPath in libXML
in thread Using XPath in libXML

Ah, the quotes mix up. I didn't consider that. The criteria I was using to access some of the nodes was in the form:

my $query = "//property[color = 'Blue']/OtherProperty/text()";

This threw me off. I switched to using the single (literal) quotes and this has helped quite a bit. However I am still curious if there are other "/text()" style path calls. (Just in case there are better ways of doing things.)

Thanks for you help.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://742498]
help
Chatterbox?
[nysus]: Can anyone else submit a post? I can't. I just see the preview button. No way for me to submit a post.

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (5)
As of 2017-12-15 03:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (416 votes). Check out past polls.

    Notices?