Changeset 1055

Show
Ignore:
Timestamp:
08/21/07 11:20:08 (1 year ago)
Author:
thomase
Message:

for title string, select the first non-abbreviated title, whatever its type

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • BibIt/trunk/searchforit.xsl

    r958 r1055  
    1313        <xsl:variable name="genre"><xsl:value-of select="mods:genre"/></xsl:variable> 
    1414        <xsl:variable name="parentgenres"><xsl:call-template  name="coins_parentgenres"><xsl:with-param name="mods" select="."/></xsl:call-template></xsl:variable> 
    15         <xsl:variable name="thetitle"><xsl:call-template name="smarttrunc"><xsl:with-param name="victim"><xsl:value-of select="mods:titleInfo[@type='uniform'][1]/mods:title"/></xsl:with-param></xsl:call-template></xsl:variable> 
     15        <xsl:variable name="thetitle"><xsl:call-template name="smarttrunc"><xsl:with-param name="victim"><xsl:value-of select="mods:titleInfo[@type!='abbreviated'][1]/mods:title"/></xsl:with-param></xsl:call-template></xsl:variable> 
    1616        <xsl:variable name="readytitle"><xsl:value-of select="replace(normalize-space($thetitle), ' ', '+')"/></xsl:variable> 
    1717        <xsl:variable name="theauthor"><xsl:value-of select="mods:name[@type='personal'][1]/mods:namePart[@type='family']"/></xsl:variable>