Skip to content
Snippets Groups Projects
Commit 0372ebcc authored by tr114zuky's avatar tr114zuky :speech_balloon:
Browse files

update dwc mapping

parent d167cf3a
Branches
No related merge requests found
......@@ -4,7 +4,7 @@
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:dwc="http://rs.tdwg.org/dwc/terms/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:acl="xalan://org.mycore.access.MCRAccessManager"
xmlns:xalan="http://xml.apache.org/xalan"
xmlns:mcrxml="xalan://org.mycore.common.xml.MCRXMLFunctions" exclude-result-prefixes="mcrxml">
......
......@@ -4,7 +4,7 @@
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:dwc="http://rs.tdwg.org/dwc/terms/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:mcrxml="xalan://org.mycore.common.xml.MCRXMLFunctions"
xmlns:i18n="xalan://org.mycore.services.i18n.MCRTranslation"
exclude-result-prefixes="mcrxml i18n">
......@@ -20,29 +20,29 @@
<!-- see https://www.loc.gov/standards/valuelist/rdacontent.html -->
<xsl:choose>
<xsl:when test="./metadata/def.biocol07/biocol07[@categid='objecttype_otolith']">
<dc:type>three dimensional object</dc:type>
<dcterms:type>three dimensional object</dcterms:type>
</xsl:when>
<xsl:when test="./metadata/def.biocol07/biocol07[@categid='objecttype_herbar']">
<dc:type>still image</dc:type>
<dcterms:type>still image</dcterms:type>
</xsl:when>
<xsl:otherwise>
<dc:type>mixed material</dc:type>
<dcterms:type>mixed material</dcterms:type>
</xsl:otherwise>
</xsl:choose>
<xsl:if test="./service/servdates/servdate[@type='modifydate']">
<dc:modified>
<dcterms:modified>
<xsl:value-of select="./service/servdates/servdate[@type='modifydate']"/>
</dc:modified>
</dcterms:modified>
</xsl:if>
<dc:language>ger</dc:language>
<dcterms:language>ger</dcterms:language>
<dc:license>
<dcterms:license>
<xsl:value-of select="i18n:translate('module.dptbase.license.shorttext')"/>
</dc:license>
</dcterms:license>
<dc:rightsHolder>
<dcterms:rightsHolder>
<xsl:choose>
<xsl:when test="./metadata/def.biocol02/biocol02">
<xsl:for-each select="./metadata/def.biocol02/biocol02">
......@@ -61,22 +61,22 @@
<xsl:value-of select="'Universität Leipzig'"/>
</xsl:otherwise>
</xsl:choose>
</dc:rightsHolder>
</dcterms:rightsHolder>
<dc:bibliographicCitation>
<dcterms:bibliographicCitation>
<xsl:value-of select="concat($WebApplicationBaseURL,'receive/',@ID)" />
</dc:bibliographicCitation>
</dcterms:bibliographicCitation>
<!-- dcterms:reference - Referenzen (links)-->
<xsl:if test="./metadata/def.biocol10/biocol10">
<dc:references>
<xsl:for-each select="./metadata/def.biocol10/biocol10">
<dcterms:references>
<xsl:for-each select="./metadata/def.biocol10/biocol10/@xlink:href">
<xsl:if test="position() != 1">
<xsl:value-of select="' | '"/>
</xsl:if>
<xsl:value-of select="."/>
</xsl:for-each>
</dc:references>
</dcterms:references>
</xsl:if>
<!-- dwc:informationWithheld - Bemerkung, allg. -->
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment