Ignore:
Timestamp:
Apr 24, 2011, 11:51:46 AM (14 years ago)
Author:
Joe Ciccone <jciccone@…>
Children:
6d86eb1
Parents:
a8c30a5
Message:

Add a c:variant element to the c:package element to determine the variant to list in the index.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/stylesheets/clfs-profile.xsl

    ra8c30a5 rb9c15a7  
    144144          <xsl:value-of select="c:title" />
    145145        </xsl:element>
    146         <xsl:if test="string-length($titlesuffix) > 0">
     146        <xsl:if test="(string-length($titlesuffix) + string-length(c:variant)) &gt; 0">
    147147          <xsl:text>
    148148  </xsl:text>
    149149          <xsl:element name="secondary">
     150            <xsl:if test="string-length(c:variant) &gt; 0">
     151              <xsl:value-of select="c:variant" />
     152              <xsl:if test="string-length($titlesuffix) &gt; 0">
     153                <xsl:text>, </xsl:text>
     154              </xsl:if>
     155            </xsl:if>
    150156            <xsl:value-of select="$titlesuffix" />
    151157          </xsl:element>
Note: See TracChangeset for help on using the changeset viewer.