Beefy Boxes and Bandwidth Generously Provided by pair Networks DiBona
There's more than one way to do things
 
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 perusing the Monastery: (8)
As of 2014-04-19 06:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (478 votes), past polls