DOKK / manpages / debian 12 / libmarc-xml-perl / xml2marc.1p.en
XML2MARC(1p) User Contributed Perl Documentation XML2MARC(1p)

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.

2022-01-20 perl v5.32.1