NAME¶
XMLwriterSimple - Light weight re-implementation of XML::Writer.
This module is used internally by Excel::Writer::XLSX.
DESCRIPTION¶
This module is used by Excel::Writer::XLSX for writing XML documents. It is a
light weight re-implementation of XML::Writer.
XMLwriterSimple is approximately twice as fast as XML::Writer. This speed is
achieved at the expense of error and correctness checking. In addition not all
of the XML::Writer methods are implemented. As such, XMLwriterSimple is not
recommended for use outside of Excel::Writer::XLSX.
If required XMLwriterSimple can be overridden and XML::Writer can be used in its
place by setting an "_EXCEL_WRITER_XLSX_USE_XML_WRITER"
environmental variable:
export _EXCEL_WRITER_XLSX_USE_XML_WRITER=1
perl example.pl
Or for one off programs:
_EXCEL_WRITER_XLSX_USE_XML_WRITER=1 perl example.pl
This technique is used for verifying the test suite with both XMLwriterSimple
and XML::Writer:
_EXCEL_WRITER_XLSX_USE_XML_WRITER=1 prove -l -r t
SEE ALSO¶
XML::Writer.
AUTHOR¶
John McNamara jmcnamara@cpan.org
COPYRIGHT¶
X MM-MMXII, John McNamara.
All Rights Reserved. This module is free software. It may be used, redistributed
and/or modified under the same terms as Perl itself.
LICENSE¶
Either the Perl Artistic Licence
<
http://dev.perl.org/licenses/artistic.html> or the GPL
<
http://www.opensource.org/licenses/gpl-license.php>.
DISCLAIMER OF WARRANTY¶
See the documentation for Excel::Writer::XLSX.