http://www.perlmonks.org?node_id=1024828


in reply to LibXML, XPath and Namespaces

Lookup the xpath functions name() and local-name()

The XML FIles: Understanding XML Namespaces, Re: XML::LibXSLT ignoring namespace on some Win32 machines (libxslt-1.1.27 bug), Re^2: XML::LibXML and namespaces, Re^2: XML::LibXML and namespaces, Re: XML::LibXML and namespaces, XPATH DOM traverse html/xml,

  • Comment on Re: LibXML, XPath and Namespaces (name(), local-name())

Replies are listed 'Best First'.
Re^2: LibXML, XPath and Namespaces (name(), local-name())
by space_monk (Chaplain) on Mar 22, 2013 at 09:32 UTC

    Both of the above actually increase the level of verbosity in the XPath queries. It's more of a fault of XPath than it is Perl, so I guess one has to live with its eccentricities.

    Thanks for the extra info

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