Scroll to navigation

Catmandu::Fix::xml_write(3pm) User Contributed Perl Documentation Catmandu::Fix::xml_write(3pm)

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

Set to false to not expect attribute hashes in the XML structure.
Pretty-print XML if set to 1.

SEE ALSO

Catmandu::Fix::xml_read

2021-01-09 perl v5.32.0