Catmandu::Fix::xml_write - parse XML
# serialize XML structure given in field 'xml' xml_write(xml) xml_write(xml, pretty: 1)
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.
Set to false to not expect attribute hashes in the XML structure.
Pretty-print XML if set to 1.
1
Catmandu::Fix::xml_read
To install Catmandu::XML, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Catmandu::XML
CPAN shell
perl -MCPAN -e shell install Catmandu::XML
For more information on module installation, please visit the detailed CPAN module installation guide.