- small changes for oai_iso19139.xslt
- oai_datacite.xslt version 3.0
This commit is contained in:
parent
5b6f81c34d
commit
cb40b2c7dc
7 changed files with 55 additions and 52 deletions
|
@ -470,7 +470,7 @@
|
|||
</gmd:keyword>
|
||||
</xsl:for-each>
|
||||
<gmd:type>
|
||||
<MD_KeywordTypeCode xmlns="http://www.isotc211.org/2005/gmd" codeList="https://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_KeywordTypeCode" codeListValue="theme">theme</MD_KeywordTypeCode>
|
||||
<gmd:MD_KeywordTypeCode xmlns="http://www.isotc211.org/2005/gmd" codeList="https://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_KeywordTypeCode" codeListValue="theme">theme</gmd:MD_KeywordTypeCode>
|
||||
</gmd:type>
|
||||
</gmd:MD_Keywords>
|
||||
</gmd:descriptiveKeywords>
|
||||
|
@ -697,45 +697,45 @@
|
|||
|
||||
<!-- <gmd:onLine> -->
|
||||
<xsl:template name="datacite_identifier">
|
||||
<xsl:for-each select="*[name() = 'Identifier']">
|
||||
<xsl:variable name="identifier" select="."/>
|
||||
<xsl:if test="starts-with($identifier/@Value, 'doi:') or $identifier/@Type = 'Doi' or starts-with($identifier/@Value, 'http://')">
|
||||
<gmd:onLine>
|
||||
<gmd:CI_OnlineResource>
|
||||
<gmd:linkage>
|
||||
<gmd:URL>
|
||||
<xsl:choose>
|
||||
<xsl:when test="starts-with($identifier/@Value, 'doi:')">
|
||||
<!-- stower http auf https gesetzt -->
|
||||
<xsl:value-of select="concat('http://dx.doi.org/', substring-after($identifier/@Value, 'doi:'))"/>
|
||||
</xsl:when>
|
||||
<xsl:when test="$identifier/@Type = 'Doi'">
|
||||
<xsl:value-of select="concat('http://dx.doi.org/', normalize-space($identifier/@Value))"/>
|
||||
</xsl:when>
|
||||
<xsl:when test="starts-with($identifier/@Value, 'http://')">
|
||||
<xsl:value-of select="normalize-space($identifier/@Value)"/>
|
||||
</xsl:when>
|
||||
</xsl:choose>
|
||||
</gmd:URL>
|
||||
</gmd:linkage>
|
||||
<gmd:protocol>
|
||||
<gco:CharacterString>WWW:LINK-1.0-http--link</gco:CharacterString>
|
||||
</gmd:protocol>
|
||||
<gmd:name>
|
||||
<gco:CharacterString>Landing Page</gco:CharacterString>
|
||||
</gmd:name>
|
||||
<gmd:description>
|
||||
<gco:CharacterString>
|
||||
<xsl:value-of select="normalize-space(string(
|
||||
'Link to DOI landing page or data facility landing page if no DOI is assigned.'))"/>
|
||||
</gco:CharacterString>
|
||||
</gmd:description>
|
||||
<gmd:function>
|
||||
<gmd:CI_OnLineFunctionCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#CI_OnLineFunctionCode" codeListValue="information">information</gmd:CI_OnLineFunctionCode>
|
||||
</gmd:function>
|
||||
</gmd:CI_OnlineResource>
|
||||
</gmd:onLine>
|
||||
</xsl:if>
|
||||
<xsl:for-each select="*[name() = 'Identifier']">
|
||||
<xsl:variable name="identifier" select="."/>
|
||||
<xsl:if test="starts-with($identifier/@Value, 'doi:') or $identifier/@Type = 'Doi' or starts-with($identifier/@Value, 'http://')">
|
||||
<gmd:onLine>
|
||||
<gmd:CI_OnlineResource>
|
||||
<gmd:linkage>
|
||||
<gmd:URL>
|
||||
<xsl:choose>
|
||||
<xsl:when test="starts-with($identifier/@Value, 'doi:')">
|
||||
<!-- stower http auf https gesetzt -->
|
||||
<xsl:value-of select="concat('http://dx.doi.org/', substring-after($identifier/@Value, 'doi:'))"/>
|
||||
</xsl:when>
|
||||
<xsl:when test="$identifier/@Type = 'Doi'">
|
||||
<xsl:value-of select="concat('http://dx.doi.org/', normalize-space($identifier/@Value))"/>
|
||||
</xsl:when>
|
||||
<xsl:when test="starts-with($identifier/@Value, 'http://')">
|
||||
<xsl:value-of select="normalize-space($identifier/@Value)"/>
|
||||
</xsl:when>
|
||||
</xsl:choose>
|
||||
</gmd:URL>
|
||||
</gmd:linkage>
|
||||
<gmd:protocol>
|
||||
<gco:CharacterString>WWW:LINK-1.0-http--link</gco:CharacterString>
|
||||
</gmd:protocol>
|
||||
<gmd:name>
|
||||
<gco:CharacterString>Landing Page</gco:CharacterString>
|
||||
</gmd:name>
|
||||
<gmd:description>
|
||||
<gco:CharacterString>
|
||||
<xsl:value-of select="normalize-space(string(
|
||||
'Link to DOI landing page or data facility landing page if no DOI is assigned.'))"/>
|
||||
</gco:CharacterString>
|
||||
</gmd:description>
|
||||
<gmd:function>
|
||||
<gmd:CI_OnLineFunctionCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#CI_OnLineFunctionCode" codeListValue="information">information</gmd:CI_OnLineFunctionCode>
|
||||
</gmd:function>
|
||||
</gmd:CI_OnlineResource>
|
||||
</gmd:onLine>
|
||||
</xsl:if>
|
||||
</xsl:for-each>
|
||||
</xsl:template>
|
||||
|
||||
|
@ -775,7 +775,7 @@
|
|||
<gmd:scope>
|
||||
<gmd:DQ_Scope>
|
||||
<gmd:level>
|
||||
<MD_ScopeCode xmlns="http://www.isotc211.org/2005/gmd" codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_ScopeCode" codeListValue="dataset" />
|
||||
<gmd:MD_ScopeCode xmlns="http://www.isotc211.org/2005/gmd" codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_ScopeCode" codeListValue="dataset" />
|
||||
</gmd:level>
|
||||
<gmd:levelDescription xmlns:gco="http://www.isotc211.org/2005/gco" gco:nilReason="inapplicable" />
|
||||
</gmd:DQ_Scope>
|
||||
|
@ -795,7 +795,7 @@
|
|||
<gco:Date xmlns:gco="http://www.isotc211.org/2005/gco">2010-12-08</gco:Date>
|
||||
</gmd:date>
|
||||
<gmd:dateType>
|
||||
<CI_DateTypeCode xmlns="http://www.isotc211.org/2005/gmd" codeList="https://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_DateTypeCode" codeListValue="publication" />
|
||||
<gmd:CI_DateTypeCode xmlns="http://www.isotc211.org/2005/gmd" codeList="https://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_DateTypeCode" codeListValue="publication" />
|
||||
</gmd:dateType>
|
||||
</gmd:CI_Date>
|
||||
</gmd:date>
|
||||
|
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue