[librecat-dev] Marcxml to CSV: split to separate columns based on subfield

Rolschewski rolschewski at gmail.com
Tue Jul 25 10:15:05 CEST 2023


Hi Felix,

use marc_each  and marc_match <https://metacpan.org/pod/Catmandu::Fix::Bind::marc_each>:

do marc_each()
    if marc_match(7004,edt)
        marc_map(700a,columnEdt)
    end
    if marc_match(7004,win)
        marc_map(700a,columnWin)
    end
end

Best,

Johann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.uni-bielefeld.de/mailman2/unibi/public/librecat-dev/attachments/20230725/5cf4eafe/attachment.html>


More information about the librecat-dev mailing list