Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: XML::LibXML and Namespace… I don't get it

by sundialsvc4 (Abbot)
on Jun 07, 2014 at 00:17 UTC ( #1089114=note: print w/replies, xml ) Need Help??


in reply to XML::LibXML and Namespace… I don't get it

As an aside ... one of the vexing problems that I often have with XPath ... powerful though this facility is ... is to get the dammed query exactly-right.   Web sites such as http://www.xpathtester.com/xpath can be priceless, because they let you stuff some data in, and (attempt to) run XPath queries against it, and see what happens (or, what errors are returned).

That way, you’re only banging your head against one brick-wall at a time:   first, getting the XPath query correct and knowing what results it should be producing; then, getting it to run in your Perl and to produce those same results.   (And it’s a reasonable guess that libxml is being used in both cases.)

  • Comment on Re: XML::LibXML and Namespace… I don't get it

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (2)
As of 2020-08-13 21:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which rocket would you take to Mars?










    Results (75 votes). Check out past polls.

    Notices?