Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^3: XML::LibXML drives me to drinking

by Anonymous Monk
on Oct 23, 2016 at 05:00 UTC ( [id://1174537]=note: print w/replies, xml ) Need Help??


in reply to Re^2: XML::LibXML drives me to drinking
in thread XML::LibXML drives me to drinking

Wait, are you saying I need to create a new XML::LibXML::XPathContext object for each node as I loop through them?!

No, what gave you that idea?

All XML::LibXML::XPathContext does is map prefixes to namespaces, and that only needs to be done once.

See https://metacpan.org/pod/XML::LibXML::Node#findnodes

I haven't pulled this much hair in one day for a coding-related reason IN YEARS.

step away from the keyboard, lunch, nap, vacation, whatever it takes

  • Comment on Re^3: XML::LibXML drives me to drinking

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2024-04-24 03:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found