Browse Source

Fixed a bug with templating mods:identifier field that prevented it from being indexed.

pull/2/head
mroy 14 years ago
parent
commit
bf80038251
  1. 6
      workflow_client/xsl/mods-solr.xsl

6
workflow_client/xsl/mods-solr.xsl

@ -73,7 +73,7 @@
</xsl:if> </xsl:if>
<!-- identifier --> <!-- identifier -->
<xsl:apply-templates select="m:identifier[@type='local']"/> <xsl:apply-templates select="m:identifier"/>
<!-- titleInfo --> <!-- titleInfo -->
<xsl:apply-templates select="m:titleInfo"/> <xsl:apply-templates select="m:titleInfo"/>
@ -255,11 +255,11 @@
</xsl:template> </xsl:template>
<xsl:template match="m:identifier"> <xsl:template match="m:identifier">
<xsl:for-each select="m:identifier">
<xsl:element name="field"><xsl:attribute name="name"><xsl:text>identifier_t</xsl:text></xsl:attribute> <xsl:element name="field"><xsl:attribute name="name"><xsl:text>identifier_t</xsl:text></xsl:attribute>
<xsl:value-of select="."/> <xsl:value-of select="."/>
</xsl:element> </xsl:element>
</xsl:for-each>
</xsl:template> </xsl:template>
<xsl:template match="m:name"> <xsl:template match="m:name">

Loading…
Cancel
Save