valued customer wrote:
> I have the following HTML code:
>
> <code><b>Être en colère</b></code>
>
> How do I convert that to well-formed XML?
use an ISO encoding in your XML, e.g:
<?xml version="1.0" encoding="ISO-8859-1"?>
> I tried using HTML::Entities, but this does not produce well-formed
> XML because it creates undefined entity references.
or put those in the DTD.
> So how can it be done?
see above. I use the encoding one. If you use XML::Twig, see:
<http://johnbokma.com/mexit/2004/04/22/xmltwiginputfilter.html>
--
John MexIT:
http://johnbokma.com/mexit/
personal page:
http://johnbokma.com/
Experienced Perl programmer available:
http://castleamber.com/
Happy Customers:
http://castleamber.com/testimonials.html