logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Catmandu::Fix::xml_write - serialize XML

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

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.

Name

       Catmandu::Fix::xml_write - serialize XML

See Also

       Catmandu::Fix::xml_read

perl v5.36.0                                       2022-09-15                      Catmandu::Fix::xml_write(3pm)

Synopsis

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

See Also