Browse Source

Added filter for blank subtitle field

pull/68/head
Alan Stanley 13 years ago
parent
commit
60943c95c7
  1. 3
      xsl/mods_to_dc.xsl

3
xsl/mods_to_dc.xsl

@ -39,6 +39,7 @@ Version 1.0 2007-05-04 Tracy Meehleib <tmee@loc.gov>
<srw_dc:dcCollection xsi:schemaLocation="info:srw/schema/1/dc-schema http://www.loc.gov/standards/sru/dc-schema.xsd">
<xsl:apply-templates/>
<xsl:for-each select="mods:modsCollection/mods:mods">
:67
<srw_dc:dc xsi:schemaLocation="info:srw/schema/1/dc-schema http://www.loc.gov/standards/sru/dc-schema.xsd">
<xsl:apply-templates/>
@ -66,9 +67,11 @@ Version 1.0 2007-05-04 Tracy Meehleib <tmee@loc.gov>
</xsl:if>
<xsl:value-of select="mods:title"/>
<xsl:if test="mods:subTitle">
<xsl:if test="text() [normalize-space(.) ]">
<xsl:text>: </xsl:text>
<xsl:value-of select="mods:subTitle"/>
</xsl:if>
</xsl:if>
<xsl:if test="mods:partNumber">
<xsl:text>. </xsl:text>

Loading…
Cancel
Save