Changeset 4320
- Timestamp:
- 01/22/14 14:15:37 (10 years ago)
- Location:
- metadata/trunk/toolkit/xslt
- Files:
-
- 2 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
metadata/trunk/toolkit/xslt/olac2cmdi.xsl
r1570 r4320 14 14 15 15 <xsl:key name="iso-lookup" match="lang" use="sil"/> 16 <xsl:key name="provider-lookup" match="prov" use="identifier"/>17 16 18 17 <!-- … … 23 22 <xsl:variable name="lang-top" select="document(concat($iso_xml_path,'sil_to_iso6393.xml'))/languages"/> 24 23 25 <xsl:param name="providers_path"/> 26 <xsl:variable name="id-top" select="document(concat($providers_path,'id_to_name.xml'))/providers"/> 24 <!-- 25 Name of the provider the record was harvested from (or empty 26 if name is not known). 27 --> 28 <xsl:param name="provider_name"/> 27 29 28 30 … … 53 55 </xsl:variable> 54 56 <MdCollectionDisplayName> 55 <xsl:apply-templates select="$id-top"> 56 <xsl:with-param name="curr-label" select="$oai_id"/> 57 </xsl:apply-templates> 57 <xsl:value-of select="$provider_name"/> 58 58 </MdCollectionDisplayName> 59 59 </Header> … … 204 204 <xsl:value-of select="key('iso-lookup', $silcode)/iso"/> 205 205 </xsl:template> 206 207 <xsl:template match="providers">208 <xsl:param name="curr-label"/>209 <xsl:variable name="id">210 <xsl:value-of select="$curr-label"/>211 </xsl:variable>212 <xsl:value-of select="key('provider-lookup', $id)/name"/>213 </xsl:template>214 215 206 216 207
Note: See TracChangeset
for help on using the changeset viewer.