- Timestamp:
- 10/29/14 17:51:44 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
metadata/branches/cmdi-1.1/toolkit/xslt/olac2cmdi.xsl
r4320 r5757 51 51 </MdSelfLink> 52 52 <MdProfile>clarin.eu:cr1:p_1288172614026</MdProfile> 53 <xsl:variable name="oai_id">54 <xsl:value-of select="tokenize(/defns:OAI-PMH/defns:GetRecord[1]/defns:record[1]/defns:header[1]/defns:identifier[1], ':')[2]"/>55 </xsl:variable>56 53 <MdCollectionDisplayName> 57 54 <xsl:value-of select="$provider_name"/> … … 208 205 <xsl:template match="dc:identifier" mode="preprocess"> 209 206 210 <xsl:if test="contains(., 'http://') or contains(., 'urn:nbn') or contains(., 'hdl:')">207 <xsl:if test="contains(., 'http://') or contains(., 'https://') or contains(., 'urn:nbn') or contains(., 'hdl:')"> 211 208 <ResourceProxy> 212 209 <xsl:attribute name="id"><xsl:value-of select="generate-id()"/></xsl:attribute> … … 214 211 <ResourceRef><xsl:value-of select="."/></ResourceRef> 215 212 </ResourceProxy> 216 213 </xsl:if> 217 214 218 215 </xsl:template>
Note: See TracChangeset
for help on using the changeset viewer.