marc2xml - convert a MARC file to XML
# convert a file % marc2xml marc.dat > marc.xml # or use in a pipeline % cat marc.dat | marc2xml > marc.xml
marc2xml is a command line utility for converting MARC21 bibliographic data to XML using the Library of Congress Slim Schema. Conversion is handled using the MARC::Record and MARC::File::XML packages.
To install MARC::File::XML, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MARC::File::XML
CPAN shell
perl -MCPAN -e shell install MARC::File::XML
For more information on module installation, please visit the detailed CPAN module installation guide.