Posted on 2007-06-27 20:41:11-07 by mirod in response to 5558
Re: XML::Twig crashing when encountering unqouted ampersand.

No, it can't.

XML::Twig is based on an XML parser, which like all XML parsers, refuses to work with mal-formed XML. It only works with XML. That is part of the XML spec. I am afraid you will have to pre-process yur data to turn it into well-formed XML before using any XML tool on it.

Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.