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