PICA::Writer::XML - PICA+ XML format serializer
See PICA::Writer::Base for synopsis and details. In addition a PICA::Schema can be provided to include schema information in the XML records for human-readable documentation:
my $writer = PICA::Writer::XML->new( fh => $file, schema => $schema );
The counterpart of this module is PICA::Parser::XML.
In addition to write, this writer also contains end method to finish creating the XML document und check for well-formedness.
write
end
my $writer = PICA::Writer::XML->new( fh => $file ); $writer->write( $record ); $writer->end();
The end method does not close the underlying file handle.
To install PICA::Data, copy and paste the appropriate command in to your terminal.
cpanm
cpanm PICA::Data
CPAN shell
perl -MCPAN -e shell install PICA::Data
For more information on module installation, please visit the detailed CPAN module installation guide.