How can I read malformed XML (unencoded entities) with Perl?
Posted
by Mrouge
on Stack Overflow
See other posts from Stack Overflow
or by Mrouge
Published on 2010-04-27T18:19:29Z
Indexed on
2010/04/27
18:53 UTC
Read the original article
Hit count: 231
I'm trying to parse an XML file I get from an external source but am having problems because there are unencoded XML entities in the text nodes.
Essentially, I'm asking the same question as this, but for Perl instead of PHP.
<report>
<company>A & W</company>
<company>Some Other Company with a < in Inc.</company>
</report>
© Stack Overflow or respective owner