# How can I convert my Dublin Core (DC) or OLAC records to CMDI?

**URL:** <https://forum.clarin.eu/t/how-can-i-convert-my-dublin-core-dc-or-olac-records-to-cmdi/718>\
**Category:** Metadata\
**Tags:** metadata, cmdi\
**Created:** [26 February 2025 14:12 UTC](https://forum.clarin.eu/t/how-can-i-convert-my-dublin-core-dc-or-olac-records-to-cmdi/718 "2025-02-26T14:12:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![twagoo](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.clarin.eu/twagoo/32/11_2.png) [@twagoo](https://forum.clarin.eu/u/twagoo)\
**Post date:** [26 February 2025 14:12 UTC](https://forum.clarin.eu/t/how-can-i-convert-my-dublin-core-dc-or-olac-records-to-cmdi/718/1 "2025-02-26T14:12:46Z")

</div>

If you have old records in DC (or OLAC, a linguistic extension of DC) you can use the following profile: [OLAC-DcmiTerms](http://catalog.clarin.eu/ds/ComponentRegistry?item=clarin.eu:cr1:p_1288172614026)

From that profile you can generate the XSD: [http://catalog.clarin.eu/ds/ComponentRegistry/rest/registry/profiles/clarin.eu:cr1:p\_1288172614026/xsd](http://catalog.clarin.eu/ds/ComponentRegistry/rest/registry/profiles/clarin.eu:cr1:p_1288172614026/xsd)

And then you can transform your DC XML files into CMDI files that comply with the profile with the following XSLT: [olac-cmdi](https://github.com/clarin-eric/metadata-conversion/tree/master/olac-cmdi)

An example (DC) inputfile: [oai\_ota\_oucs\_0001.xml](http://infra.clarin.eu/cmd/example/conversion/input/oai_ota_oucs_0001.xml)  
The corresponding (CMDI) outputfile: [oai\_ota\_oucs\_0001.cmdi](http://infra.clarin.eu/cmd/example/conversion/output/oai_ota_oucs_0001.cmdi)
