NAME
Catmandu::Exporter::XML - serialize and export XML documents
DESCRIPTION
This Catmandu::Exporter exports items serialized as XML. Serialization is implemented based on XML::Struct::Writer::Stream. By default, each item is written to STDOUT.
CONFIGURATION
- attributes
 - xmldecl
 - encoding
 - version
 - standalone
 - pretty
 - 
These options are passed to XML::Struct::Writer. The target (option
to) is based on Catmandu::Exporter's optionfhorfile. - field
 - 
Take XML from a given field of each item, e.g. field
xmlas following:{ xml => [ root => { xmlns => 'http://example.org/' }, [ ... ] ] } - directory
 - 
Serialize to multiple files in a given directory.
 - filename
 - 
Field to take filenames from if option
directoryis set. Defaults to_id. The file extension.xmlis appended unless given.