NAME

PICA::Writer::XML - PICA+ XML format serializer

DESCRIPTION

See PICA::Writer::Base for synopsis and details.

The counterpart of this module is PICA::Parser::XML.

METHODS

In addition to write, this writer also contains end method to finish creating the XML document und check for well-formedness.

my $writer = PICA::Writer::XML->new( fh => $file );
$writer->write( $record );
$writer->end();

The end method does not close the underlying file handle.