- Timestamp:
- 01/10/13 15:24:21 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
metadata/trunk/toolkit/xslt/imdi2clarin.xsl
r2408 r2454 37 37 <MdSelfLink> 38 38 <xsl:choose> 39 <xsl:when test="not($uri-base='') and normalize-space(@ArchiveHandle)=''"> 40 <xsl:value-of select="$uri-base"/> 41 </xsl:when> 42 <xsl:otherwise><xsl:value-of select="@ArchiveHandle"/>@format=cmdi</xsl:otherwise> 39 <!-- MPI handle prefix? Use handle + @format=cmdi suffix --> 40 <xsl:when test="starts-with(normalize-space(@ArchiveHandle), 'hdl:1839/')"><xsl:value-of select="@ArchiveHandle"/>@format=cmdi</xsl:when> 41 <!-- No handle? Then just use the URL --> 42 <xsl:when test="not($uri-base='') and normalize-space(@ArchiveHandle)=''"><xsl:value-of select="$uri-base"/></xsl:when> 43 <!-- Other handle prefix? Use handle (e.g. Lund) --> 44 <xsl:otherwise><xsl:value-of select="@ArchiveHandle"/></xsl:otherwise> 43 45 </xsl:choose> 44 46 </MdSelfLink>
Note: See TracChangeset
for help on using the changeset viewer.