Catmandu::Fix::xml_write(3pm)

Catmandu::Fix::xml_write3pm

Serialize xml

Usage

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

Overview

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

Releases

4 releases since Debian 10 (Buster); the text changed 2 times.

  1. 10
  2. 11
  3. 12–13

From libcatmandu-xml-perl 0.17-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.