Thank you very much. I am also to find a way to create from mrc Europeana semantic elements format in xml. Any hints on this?<div><br><br>Στις Πέμπτη, 19 Αυγούστου 2021, ο χρήστης Rolschewski, Johann <<a href="mailto:Johann.Rolschewski@sbb.spk-berlin.de">Johann.Rolschewski@sbb.spk-berlin.de</a>> έγραψε:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
> could someone provide me with an example of transforming an mrc file to<br>
> dublin core xml?<br>
> Using catmandu commands of course<br>
<br>
you could use a fix like this <br>
<br>
<<a href="https://github.com/jorol/processing-marc/blob/master/files/marc2dc.fix" target="_blank">https://github.com/jorol/<wbr>processing-marc/blob/master/<wbr>files/marc2dc.fix</a>><br>
<br>
and export to RDF-XML<br>
<br>
$ catmandu convert MARC to RDF --type xml --fix marc2dc.fix < loc.mrc<br>
<br>
Or use the LoC XSL file <<a href="https://www.loc.gov/standards/marcxml/xslt/MARC21slim2OAIDC.xsl" target="_blank">https://www.loc.gov/<wbr>standards/marcxml/xslt/<wbr>MARC21slim2OAIDC.xsl</a>> to transform it without Catmandu:<br>
<br>
$ xsltproc MARC21slim2OAIDC.xsl loc.mrc.xml<br>
<br>
See <<a href="https://jorol.github.io/processing-marc/#/transformation?id=-with-xlst" target="_blank">https://jorol.github.io/<wbr>processing-marc/#/<wbr>transformation?id=-with-xlst</a>>.<br>
<br>
Best<br>
<br>
Johann<br>
</blockquote></div>