in reply to Re: Comments in XML::Twig
in thread Comments in XML::Twig

Thanks. This works well.

Any ideas on why it is reformatting the prolog: it added standalone="no" to the xml declaration, and in the DOCTYPE changes PUBLIC to SYSTEM even if I disable DTD loading with

LoadDTD => 0