[librecat-dev] marc to dublin core
Rolschewski, Johann
Johann.Rolschewski at sbb.spk-berlin.de
Thu Aug 19 12:06:23 CEST 2021
Hi,
> could someone provide me with an example of transforming an mrc file to
> dublin core xml?
> Using catmandu commands of course
you could use a fix like this
<https://github.com/jorol/processing-marc/blob/master/files/marc2dc.fix>
and export to RDF-XML
$ catmandu convert MARC to RDF --type xml --fix marc2dc.fix < loc.mrc
Or use the LoC XSL file <https://www.loc.gov/standards/marcxml/xslt/MARC21slim2OAIDC.xsl> to transform it without Catmandu:
$ xsltproc MARC21slim2OAIDC.xsl loc.mrc.xml
See <https://jorol.github.io/processing-marc/#/transformation?id=-with-xlst>.
Best
Johann
More information about the librecat-dev
mailing list