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