in reply to Re^5: XML::LibXML Parser Error
in thread XML::LibXML Parser Error
This still seems to suggest an error with the parser having issues from the web output even though the HTML returns correctly...
However, what we can attempt to do is use this newly created string and parse as a string, instead of a location. That seems to bypass whatever issue has been causing problems, so we would use:
Instead of the URL directly. This seems to do the trick.$dom = XML::LibXML->new->load_xml(string => "$xml");
Thanks again for your help!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: XML::LibXML Parser Error
by Anonymous Monk on Mar 08, 2014 at 08:23 UTC |