NAME

PICA::XMLWriter - Write and count PICA+ records and fields in XML format

METHODS

new ( [ <file-or-handle> ] [, %parameters ] )

Create a new XML writer.

write

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.

writefield

Write one ore more PICA::Field.

start_document

Write XML header and collection start element. The default namespace is set to 'info:srw/schema/5/picaXML-v1.0'.

end_document

Write XML footer (collection end element).

AUTHOR

Jakob Voss <jakob.voss@gbv.de>

LICENSE

Copyright (C) 2007, 2008 by Verbundzentrale Goettingen (VZG) and Jakob Voss

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.