Changeset 41fab2e


Ignore:
Timestamp:
Apr 24, 2011, 1:38:14 PM (14 years ago)
Author:
Joe Ciccone <jciccone@…>
Children:
8823a97
Parents:
1bdabc9
Message:

Prevent unwanted attributes from being processed when dealing with the c:description tag is included via xi:include.

File:
1 edited

Legend:

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

    r1bdabc9 r41fab2e  
    193193          <xsl:choose>
    194194            <xsl:when test="$bits = '32'">
    195               <xsl:apply-templates select="c:description/@*|c:description/node()" mode="filter-bits-32" />
     195              <xsl:apply-templates select="c:description/node()" mode="filter-bits-32" />
    196196            </xsl:when>
    197197            <xsl:when test="$bits = 'n32'">
    198               <xsl:apply-templates select="c:description/@*|c:description/node()" mode="filter-bits-n32" />
     198              <xsl:apply-templates select="c:description/node()" mode="filter-bits-n32" />
    199199            </xsl:when>
    200200            <xsl:when test="$bits = '64'">
    201               <xsl:apply-templates select="c:description/@*|c:description/node()" mode="filter-bits-64" />
     201              <xsl:apply-templates select="c:description/node()" mode="filter-bits-64" />
    202202            </xsl:when>
    203203          </xsl:choose>
     
    462462                      <xsl:text>&#xa;      </xsl:text>
    463463                      <xsl:element name="para">
    464                         <xsl:apply-templates select="c:description/@*|c:description/node()" />
     464                        <xsl:apply-templates select="c:description/node()" />
    465465                      </xsl:element>
    466466                     
     
    518518                      <xsl:text>&#xa;      </xsl:text>
    519519                      <xsl:element name="para">
    520                         <xsl:apply-templates select="c:description/@*|c:description/node()" />
     520                        <xsl:apply-templates select="c:description/node()" />
    521521                      </xsl:element>
    522522                     
     
    575575                      <xsl:text>&#xa;      </xsl:text>
    576576                      <xsl:element name="para">
    577                         <xsl:apply-templates select="c:description/@*|c:description/node()" />
     577                        <xsl:apply-templates select="c:description/node()" />
    578578                      </xsl:element>
    579579                     
Note: See TracChangeset for help on using the changeset viewer.