Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: No bonus points for you :-)

by space_monk (Chaplain)
on Mar 25, 2013 at 10:07 UTC ( #1025267=note: print w/ replies, xml ) Need Help??


in reply to Re: No bonus points for you :-)
in thread LibXML, XPath and Namespaces

Everything you said is true, but the addition of this adds obscurity to the XPath selectors. Namespace confusion doesn't really exist as the entire document is written in the specified namespace.

I suppose another dirty way is to strip the xmlns attribute from the document before parsing it... :-)

Anyway my basic question has been answered in the negative, so I'm going to simply have to live with the "clean" way of doing it....

A Monk aims to give answers to those who have none, and to learn from those who know more.


Comment on Re^2: No bonus points for you :-)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2014-09-15 04:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (145 votes), past polls