http://qs1969.pair.com?node_id=430483


in reply to Re^3: Formatting in XML::Twig->print()
in thread Formatting in XML::Twig->print()

Indeed, but did you try using the pretty_print => 'indented' option too?