NAME
PICA::Parser::XML - PICA+ XML parser
SYNOPSIS
use PICA::Parser::XML;
my $parser = PICA::Parser::XML->new( $filename );
while ( my $record_hash = $parser->next() ) {
# do something
}
METHODS
new($filename | $filehandle | $string)
file
-
Path to file with PICA XML records.
fh
-
Open filehandle for file with PICA XML records.
string
-
XML string with PICA XML records.
next()
Reads the next record from PICA+ XML input stream. Returns a Perl hash.
_decode()
Deserialize a PICA+ XML record to an array of field arrays.
SEEALSO
PICA::XMLParser, included in the release of PICA::Record implements another PICA+ XML format parser, not aligned with the Catmandu framework.