Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

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?

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2015-11-27 20:42 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (732 votes), past polls