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.604-1


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.604-1) unstable; urgency=low
  [ gregor herrmann ]
  * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser
    field (source stanza); Homepage field (source stanza). Removed:
    Homepage pseudo-field (Description); XS-Vcs-Svn fields.
  * debian/rules: delete /usr/lib/perl5 only if it exists.

  [ Frank Lichtenheld ]
  * debian/rules: Cleanup:
    + fix depen


Revision history for Perl extension XML::Writer.

0.604 Thu Feb 21 00:42:06 GMT 2008    <>
        - Patch from Andreas Koenig for lc(undef) warning in 5.11 (#32874).
        - Include example code.

0.603 Mon Jun 25 22:31:40 BST 2007    <>
        - Escape all necessary white space in attributes (#25499).

0.602 Sat Nov 11 16:54:22 GMT 2006    <>


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

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

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

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

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