in reply to Re^3: Repair malformed XML
in thread Repair malformed XML

Thanks for the suggestion. Yes, I am running ActiveState 5.8.6 on WinXP. I'll have a look at XML::Twig, as well.