<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">&lt;<a href="mailto:JJacobus@ponyx.com">JJacobus@ponyx.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I&#39;m trying to parse an XML document using XML::LibXML. I&#39;m running into a problem where it fails with &quot;entity .. not found&quot;. The entities are HTML codes such as &quot;&amp;atilde;&quot; &quot;&amp;cent;&quot; etc. These entities are part of descriptions I want to use as-is. They are within a &lt;description&gt;&lt;/description&gt; block. I can&#39;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-&gt;new();<br>
        my $doc    = $parser-&gt;parse_file($url);<br>
<br>
The error I&#39;m getting looks like &quot;parser error: Entity &amp;cent not defined&quot;<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>