<div>Are you committed to using XML::LibXML as opposed to another XML parsing module?</div><br clear="all">Sean Blanton<br>
<br><br><div class="gmail_quote">On Mon, Mar 2, 2009 at 2:26 PM, Jim Jacobus <span dir="ltr"><<a href="mailto:JJacobus@ponyx.com">JJacobus@ponyx.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I'm trying to parse an XML document using XML::LibXML. I'm running into a problem where it fails with "entity .. not found". The entities are HTML codes such as "&atilde;" "&cent;" etc. These entities are part of descriptions I want to use as-is. They are within a <description></description> block. I can't seem to find a way to have LibXML ignore trying to parse entities within a block.<br>
<br>
My code looks like:<br>
my $parser = XML::LibXML->new();<br>
my $doc = $parser->parse_file($url);<br>
<br>
The error I'm getting looks like "parser error: Entity &cent not defined"<br>
Any help would be appreciated.<br>
Thanks.<br>
<br>
_______________________________________________<br>
Chicago-talk mailing list<br>
<a href="mailto:Chicago-talk@pm.org" target="_blank">Chicago-talk@pm.org</a><br>
<a href="http://mail.pm.org/mailman/listinfo/chicago-talk" target="_blank">http://mail.pm.org/mailman/listinfo/chicago-talk</a><br>
</blockquote></div><br>