-
-
15 Jun 2015 09:50:23 UTC
- Distribution: Catmandu-XML
- Module version: 0.16
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues
- Testers (1773 / 346 / 0)
- Kwalitee
Bus factor: 2- 85.71% Coverage
- License: perl_5
- Activity
24 month- Tools
- Download (18.22KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
NAME
Catmandu::Fix::xml_write - serialize XML
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
Module Install Instructions
To install Catmandu::XML, copy and paste the appropriate command in to your terminal.
cpanm Catmandu::XML
perl -MCPAN -e shell install Catmandu::XML
For more information on module installation, please visit the detailed CPAN module installation guide.