Catman...:simple(3pm)

πŸ“¦
version 0.43.0 Β· 3 versions
, in ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– Catman...:simple(3pm) πŸ’–

okay bestie, gather round, because we're looking at Catmandu::Importer::SRU::Parser::simple β€” a lil Perl module from the User Contributed Perl Documentation corner of the universe, and honestly? it's giving quiet overachiever. no cap. πŸŽ€


✨ NAME ✨

Catmandu::Importer::SRU::Parser::simple β€” the one that parses SRU records as simple XML πŸ¦‹


🌸 SYNOPSIS 🌸

so here's the tea, bestie: this is the default record parser of Catmandu::Importer::SRU. like, it's the one that just shows up without being asked, main character energy fr fr πŸ‘‘

what it does: it takes the SRU response records field recordData and transforms it with XML::LibXML::Simple. that's it. that's the whole vibe. ✨

and the lil detail you do NOT wanna miss β€” namespaces are stripped by default. gone. deleted. not invited to the party πŸ™ˆπŸ’…


🫢 SEE ALSO 🫢

if you need your XML to keep its order, or you're dealing with mixed-content XML (messy queen behavior, but valid), go check out Catmandu::Importer::SRU::Parser::struct instead β€” that one's built for order-preserving / mixed-content XML 🧚


πŸ‘‘ AUTHOR πŸ‘‘

  • Patrick Hochstenbach, "<patrick.hochstenbach at ugent.be>" πŸ’Œ
  • Jakob Voss "voss@gbv.de" πŸ’Œ

shoutout to these two for literally writing the thing. icons only. πŸ’œ

and that's a wrap, bestie πŸŽ€ this page came to you courtesy of perl v5.38.2, dated 2021-09-02, filed under Catman...:simple(3pm). slay, go parse something. πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from