SAX2 XML Writer in Perl5