in reply to X(ht)ML Source Formatting

Hello, for XML-formatting I use XML::Twig
my $twig = XML::Twig->new(pretty_print => 'indented'); $twig->parse($text); $text = $twig->sprint;
It works great!