marc2xml(1) 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.