I think it is because you print the root element of the document ($parser->root->print(\*PF)), instead of simply printing the document ($parser->print(\*PF)).
In reply to Re^6: Formatting in XML::Twig->print()
by mirod
in thread Formatting in XML::Twig->print()
by Nitrox
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |