Ignore:
Timestamp:
07/21/2007 03:01:56 PM (17 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
3f96749
Parents:
f5da8e9
Message:

Merged r8226 from new-xsl branch.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@6943 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

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

    rf5da8e9 rbbe9b3da  
    136136
    137137  <xsl:variable name="summary">
    138     <xsl:call-template name="dbhtml-attribute">
    139       <xsl:with-param name="pis" select="processing-instruction('dbhtml')"/>
    140       <xsl:with-param name="attribute" select="'table-summary'"/>
    141     </xsl:call-template>
     138    <xsl:call-template name="pi.dbhtml_table-summary"/>
    142139  </xsl:variable>
    143140
    144141  <xsl:variable name="cellspacing">
    145     <xsl:call-template name="dbhtml-attribute">
    146       <xsl:with-param name="pis" select="processing-instruction('dbhtml')"/>
    147       <xsl:with-param name="attribute" select="'cellspacing'"/>
    148     </xsl:call-template>
     142    <xsl:call-template name="pi.dbhtml_cellspacing"/>
    149143  </xsl:variable>
    150144
    151145  <xsl:variable name="cellpadding">
    152     <xsl:call-template name="dbhtml-attribute">
    153       <xsl:with-param name="pis" select="processing-instruction('dbhtml')[1]"/>
    154       <xsl:with-param name="attribute" select="'cellpadding'"/>
    155     </xsl:call-template>
     146    <xsl:call-template name="pi.dbhtml_cellpadding"/>
    156147  </xsl:variable>
    157148
     
    216207    <xsl:choose>
    217208      <xsl:when test="$table.borders.with.css != 0">
    218         <xsl:attribute name="border">0</xsl:attribute>
    219209        <xsl:choose>
    220210          <xsl:when test="../@frame='all' or (not(../@frame) and $default.table.frame='all')">
     
    303293            </xsl:attribute>
    304294          </xsl:when>
     295          <xsl:when test="../@frame='none'">
     296            <xsl:attribute name="style">
     297              <xsl:text>border: none;</xsl:text>
     298            </xsl:attribute>
     299          </xsl:when>
    305300          <xsl:otherwise>
    306301            <xsl:attribute name="style">
     
    309304          </xsl:otherwise>
    310305        </xsl:choose>
     306
    311307      </xsl:when>
    312308      <xsl:when test="../@frame='none' or (not(../@frame) and $default.table.frame='none') or local-name(.) = 'entrytbl'">
     
    327323
    328324    <xsl:variable name="explicit.table.width">
    329       <xsl:call-template name="dbhtml-attribute">
    330         <xsl:with-param name="pis" select="../processing-instruction('dbhtml')[1]"/>
    331         <xsl:with-param name="attribute" select="'table-width'"/>
     325      <xsl:call-template name="pi.dbhtml_table-width">
     326        <xsl:with-param name="node" select=".."/>
    332327      </xsl:call-template>
    333328    </xsl:variable>
     
    417412<xsl:template match="tgroup/processing-instruction('dbhtml')">
    418413  <xsl:variable name="summary">
    419     <xsl:call-template name="dbhtml-attribute">
    420       <xsl:with-param name="pis" select="."/>
    421       <xsl:with-param name="attribute" select="'table-summary'"/>
    422     </xsl:call-template>
     414    <xsl:call-template name="pi.dbhtml_table-summary"/>
    423415  </xsl:variable>
    424416
     
    546538  <xsl:variable name="row-height">
    547539    <xsl:if test="processing-instruction('dbhtml')">
    548       <xsl:call-template name="dbhtml-attribute">
    549         <xsl:with-param name="pis" select="processing-instruction('dbhtml')"/>
    550         <xsl:with-param name="attribute" select="'row-height'"/>
    551       </xsl:call-template>
     540      <xsl:call-template name="pi.dbhtml_row-height"/>
    552541    </xsl:if>
    553542  </xsl:variable>
     
    555544  <xsl:variable name="bgcolor">
    556545    <xsl:if test="processing-instruction('dbhtml')">
    557       <xsl:call-template name="dbhtml-attribute">
    558         <xsl:with-param name="pis" select="processing-instruction('dbhtml')"/>
    559         <xsl:with-param name="attribute" select="'bgcolor'"/>
    560       </xsl:call-template>
     546      <xsl:call-template name="pi.dbhtml_bgcolor"/>
    561547    </xsl:if>
    562548  </xsl:variable>
     
    564550  <xsl:variable name="class">
    565551    <xsl:if test="processing-instruction('dbhtml')">
    566       <xsl:call-template name="dbhtml-attribute">
    567         <xsl:with-param name="pis" select="processing-instruction('dbhtml')"/>
    568         <xsl:with-param name="attribute" select="'class'"/>
    569       </xsl:call-template>
     552      <xsl:call-template name="pi.dbhtml_class"/>
    570553    </xsl:if>
    571554  </xsl:variable>
     
    777760      <xsl:variable name="bgcolor">
    778761        <xsl:if test="processing-instruction('dbhtml')">
    779           <xsl:call-template name="dbhtml-attribute">
    780             <xsl:with-param name="pis" select="processing-instruction('dbhtml')"/>
    781             <xsl:with-param name="attribute" select="'bgcolor'"/>
    782           </xsl:call-template>
     762          <xsl:call-template name="pi.dbhtml_bgcolor"/>
    783763        </xsl:if>
    784764      </xsl:variable>
Note: See TracChangeset for help on using the changeset viewer.