The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Catmandu::Fix::xml_write - parse XML

VERSION

version 0.07

SYNOPSIS

  # serialize XML structure given in field 'xml' 
  xml_write(xml)
  xml_write(xml, pretty: 1)

DESCRIPTION

This Catmandu::Fix serializes XML documents (given in MicroXML form as used by XML::Struct or as instance of XML::LibXML::Document). In short, this is a wrapper around XML::Struct::Writer.

CONFIGURATION

attributes

Set to false to not expect attribute hashes in the XML structure.

pretty

Pretty-print XML if set to 1.

xmldecl
version
encoding
standalone

SEE ALSO

Catmandu::Fix::xml_read

AUTHOR

Jakob Voß

COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by Jakob Voß.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.