|Keep It Simple, Stupid|
XML::LibXML and Namespace… I don't get itby Skeeve (Vicar)
|on Jun 06, 2014 at 15:21 UTC||Need Help??|
Skeeve has asked for the
wisdom of the Perl Monks concerning the following question:
I found this interesing node: 1003089 and tried to adopt it to my problem.
This is the code I have:
You see? When I use "/*" as my query, I get my html node. But when I use "/html" or "/xml:html", I get nothing.
What's wrong with my code - or my lack of understanding of XML::LibXML?
For completeness, here is the beginning of my XML file:
Update: When I remove the namespace from the file, it seems to work :(