Ignore:
Timestamp:
Jul 21, 2007, 8:07:11 AM (17 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
master
Children:
a6966fa
Parents:
3ca2208
Message:

Merged r8226 from new-xsl branch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/lists.xsl

    r3ca2208 r00b1e11  
    197197<xsl:template match="variablelist">
    198198  <xsl:variable name="pi-presentation">
    199     <xsl:call-template name="dbhtml-attribute">
    200       <xsl:with-param name="pis" select="processing-instruction('dbhtml')"/>
    201       <xsl:with-param name="attribute" select="'list-presentation'"/>
    202     </xsl:call-template>
     199    <xsl:call-template name="pi.dbhtml_list-presentation"/>
    203200  </xsl:variable>
    204201
     
    218215
    219216  <xsl:variable name="list-width">
    220     <xsl:call-template name="dbhtml-attribute">
    221       <xsl:with-param name="pis" select="processing-instruction('dbhtml')"/>
    222       <xsl:with-param name="attribute" select="'list-width'"/>
    223     </xsl:call-template>
     217    <xsl:call-template name="pi.dbhtml_list-width"/>
    224218  </xsl:variable>
    225219
    226220  <xsl:variable name="term-width">
    227     <xsl:call-template name="dbhtml-attribute">
    228       <xsl:with-param name="pis" select="processing-instruction('dbhtml')"/>
    229       <xsl:with-param name="attribute" select="'term-width'"/>
    230     </xsl:call-template>
     221    <xsl:call-template name="pi.dbhtml_term-width"/>
    231222  </xsl:variable>
    232223
    233224  <xsl:variable name="table-summary">
    234     <xsl:call-template name="dbhtml-attribute">
    235       <xsl:with-param name="pis" select="processing-instruction('dbhtml')"/>
    236       <xsl:with-param name="attribute" select="'table-summary'"/>
    237     </xsl:call-template>
     225    <xsl:call-template name="pi.dbhtml_table-summary"/>
    238226  </xsl:variable>
    239227
     
    335323<xsl:template match="varlistentry" mode="varlist-table">
    336324  <xsl:variable name="presentation">
    337     <xsl:call-template name="dbhtml-attribute">
    338       <xsl:with-param name="pis" select="../processing-instruction('dbhtml')"/>
    339       <xsl:with-param name="attribute" select="'term-presentation'"/>
     325    <xsl:call-template name="pi.dbhtml_term-presentation">
     326      <xsl:with-param name="node" select=".."/>
    340327    </xsl:call-template>
    341328  </xsl:variable>
    342329
    343330  <xsl:variable name="separator">
    344     <xsl:call-template name="dbhtml-attribute">
    345       <xsl:with-param name="pis" select="../processing-instruction('dbhtml')"/>
    346       <xsl:with-param name="attribute" select="'term-separator'"/>
     331    <xsl:call-template name="pi.dbhtml_term-separator">
     332      <xsl:with-param name="node" select=".."/>
    347333    </xsl:call-template>
    348334  </xsl:variable>
     
    463449    <xsl:choose>
    464450      <xsl:when test="processing-instruction('dbchoice')">
    465         <xsl:call-template name="select.choice.separator"/>
    466       </xsl:when>
    467       <xsl:otherwise>
    468         <!-- empty -->
     451        <xsl:call-template name="select.choice.separator"/>
     452      </xsl:when>
     453      <xsl:otherwise>
     454        <!-- empty -->
    469455      </xsl:otherwise>
    470456    </xsl:choose>
     
    744730<xsl:template match="segmentedlist">
    745731  <xsl:variable name="presentation">
    746     <xsl:call-template name="dbhtml-attribute">
    747       <xsl:with-param name="pis" select="processing-instruction('dbhtml')"/>
    748       <xsl:with-param name="attribute" select="'list-presentation'"/>
    749     </xsl:call-template>
     732    <xsl:call-template name="pi.dbhtml_list-presentation"/>
    750733  </xsl:variable>
    751734
     
    815798<xsl:template match="segmentedlist" mode="seglist-table">
    816799  <xsl:variable name="table-summary">
    817     <xsl:call-template name="dbhtml-attribute">
    818       <xsl:with-param name="pis" select="processing-instruction('dbhtml')"/>
    819       <xsl:with-param name="attribute" select="'table-summary'"/>
    820     </xsl:call-template>
     800    <xsl:call-template name="pi.dbhtml_table-summary"/>
    821801  </xsl:variable>
    822802
    823803  <xsl:variable name="list-width">
    824     <xsl:call-template name="dbhtml-attribute">
    825       <xsl:with-param name="pis" select="processing-instruction('dbhtml')"/>
    826       <xsl:with-param name="attribute" select="'list-width'"/>
    827     </xsl:call-template>
     804    <xsl:call-template name="pi.dbhtml_list-width"/>
    828805  </xsl:variable>
    829806
     
    10531030<!-- ==================================================================== -->
    10541031
     1032<xsl:template name="orderedlist-starting-number">
     1033  <xsl:param name="list" select="."/>
     1034  <xsl:variable name="pi-start">
     1035    <xsl:call-template name="pi.dbhtml_start">
     1036      <xsl:with-param name="node" select="$list"/>
     1037    </xsl:call-template>
     1038  </xsl:variable>
     1039  <xsl:call-template name="output-orderedlist-starting-number">
     1040    <xsl:with-param name="list" select="$list"/>
     1041    <xsl:with-param name="pi-start" select="$pi-start"/>
     1042  </xsl:call-template>
     1043</xsl:template>
     1044
    10551045</xsl:stylesheet>
Note: See TracChangeset for help on using the changeset viewer.