Your skill will accomplish what the force of many cannot |
|
PerlMonks |
XML::LibXML and Namespace… I don't get itby Skeeve (Parson) |
on Jun 06, 2014 at 15:21 UTC ( [id://1089041]=perlquestion: print w/replies, xml ) | 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 :( s$$([},&%#}/&/]+}%&{})*;#$&&s&&$^X.($'^"%]=\&(|?*{% +.+=%;.#_}\&"^"-+%*).}%:##%}={~=~:.")&e&&s""`$''`"e
Back to
Seekers of Perl Wisdom
|
|