Filewatcher File Search File Search
Content Search
» » » » »


Perl module for writing XML documents

XML::Writer is a helper module for Perl programs that write an XML document. The module handles all escaping for attribute values and character data and constructs different types of markup, such as tags, comments, and processing instructions.

By default, the module performs several well-formedness checks to catch errors during output. This behaviour can be extremely useful during development and debugging, but it can be turned off for production-grade code.

The module can operate either in regular mode in or Namespace processing mode. In Namespace mode, the module will generate Namespace Declarations itself, and will perform additional checks on the output.

Additional support is available for a simplified data mode with no mixed content: newlines are automatically inserted around elements and elements can optionally be indented based as their nesting level.


Package version:0.602-1


XML::Writer is a simple Perl module for writing XML documents: it
takes care of constructing markup and escaping data correctly, and by
default, it also performs a significant amount of well-formedness
checking on the output, to make certain (for example) that start and
end tags match, that there is exactly one document element, and that
there are not duplicate attribute names.

Here is an example


Writer(3pm)      User Contributed Perl Documentation     Writer(3pm)

       XML::Writer - Perl extension for writing XML documents.

         use XML::Writer;
         use IO::File;

         my $output = new IO::File(">output.xml");

         my $writer = new XML::Writer(OUTPUT => $output);
                           "class" => "simple");


libxml-writer-perl (0.602-1) unstable; urgency=low

  * New upstream release.
  * Add libtest-pod-perl, libtest-pod-coverage-perl to Build-Depends-Indep.

 -- gregor herrmann <>  Sun, 19 Nov 2006 18:19:17 +0100

libxml-writer-perl (0.601-1) unstable; urgency=low

  * New upstream release.
  * Set Standards-Version to 3.7.2 (no changes).

 -- gregor herrmann <gregor+debi


Revision history for Perl extension XML::Writer.

0.602 Sat Nov 11 16:54:22 GMT 2006    <joe@kafsemo


This package was debianized by Stevie Strickland <>
on Thu, 27 May, 1999, 

Browse inside libxml-writer-perl_0.602-1_all.deb

         [DIR]DEBIAN/ (2)  65535+ mirrors
         [DIR]usr/ (1)  65535+ mirrors

Download libxml-writer-perl_0.602-1_all.deb

Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2017