MARC::Charset::Compiler - compile XML mapping rules from LoC


MARC-Charset documentation  | view source Contained in the MARC-Charset distribution.

Index


NAME

Top

MARC::Charset::Compiler - compile XML mapping rules from LoC

SYNOPSIS

Top

    $compiler = MARC::Charset::Compiler->new();
    $table = $compiler->compile('codetables.xml');

DESCRIPTION

Top

MARC::Charset uses mapping rules from the Library of Congress for generating a MARC::Charset::Table for looking up utf8 values based on the source MARC-8 character set and the character.

METHODS

Top

new()

Top

The constructor.

compile()

Top

Pass in the path to an XML file to compile.


MARC-Charset documentation  | view source Contained in the MARC-Charset distribution.