XML2MARC(1p)
π XML2MARC π
okay bestie, so the manual name is xml2marc and it's living in the Perl user-contributed docs section, section 1p for the record. yes this is a whole Perl thing. no we're not scared. π
π NAME π
xml2marc β it converts LC SlimSchema XML into MARC21. that's the whole vibe. glow up, but for metadata β¨
π SYNOPSIS π
so here's how you actually run it, bestie:
# convert a file
% xml2marc marc.xml > marc.dat.
# or use in a pipeline
% cat marc.xml | xml2marc > marc.dat
look at that. two ways. one file, one pipe. both iconic. π«Ά
π¦ DESCRIPTION π¦
okay so xml2marc is a command line utility β like, you run it in your terminal, it's that kind of girl β and what it does is convert XML that uses the Library of Congress Slim Schema into MARC21 bibliographic data. π
and how does it pull that off? the actual conversion is handled by two Perl packages doing the heavy lifting behind the scenes: MARC::Record and MARC::File::XML. they're the main characters here, fr fr. we're just the ones pressing enter. π
β¨ that's it, that's the page β¨
no options, no flags, no environment variables, no exit codes, no bugs, no author credit. this manpage is a short queen and she said everything she needed to say. don't go looking for more, there is no more. π
and that's a wrap, bestie π this whole page came to you courtesy of perl v5.32.1, dated 2022-01-20, and it's filed under XML2MARC(1p). go convert some XML. you got this. πΈπ¦β¨
π¦ where this page comes from
- debian bookworm: libmarc-xml-perl 1.0.5-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libmarc-xml-perl 1.0.5-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu jammy: libmarc-xml-perl 1.0.5-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libmarc-xml-perl 1.0.5-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libmarc-xml-perl 1.0.5-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libmarc-xml-perl 1.0.5-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms