PICA::XMLWriter - Write and count PICA+ records and fields in XML format
Create a new XML writer.
Write a record(s) of type PICA::Record. You can also pass strings that will be printed as comments. Please make sure to have set the default namespace ('info:srw/schema/5/picaXML-v1.0') to get valid PICA XML.
This method does not write an XML header and footer but you can easily chain method calls like this:
$writer->start_document()->write($record)->end_document();
Write one ore more PICA::Field in XML, based on PICA::Field-to_xml>.
PICA::Field
PICA::Field-
Write XML header and collection start element. The default namespace is set to 'info:srw/schema/5/picaXML-v1.0'.
Possible parameters include 'stylesheet' to add an XSLT script reference.
Write XML footer (collection end element). Note that this method does close the file handle if you write to a file.
Jakob Voss <jakob.voss@gbv.de>
<jakob.voss@gbv.de>
Copyright (C) 2007-2009 by Verbundzentrale Göttingen (VZG) and Jakob Voß
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.
1 POD Error
The following errors were encountered while parsing the POD:
Non-ASCII character seen before =encoding in 'Göttingen'. Assuming UTF-8
To install PICA::Record, copy and paste the appropriate command in to your terminal.
cpanm
cpanm PICA::Record
CPAN shell
perl -MCPAN -e shell install PICA::Record
For more information on module installation, please visit the detailed CPAN module installation guide.