Changeset 00b1e11 in clfs-embedded for BOOK/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/table.xsl
- Timestamp:
- Jul 21, 2007, 8:07:11 AM (17 years ago)
- Branches:
- master
- Children:
- a6966fa
- Parents:
- 3ca2208
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/table.xsl
r3ca2208 r00b1e11 136 136 137 137 <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"/> 142 139 </xsl:variable> 143 140 144 141 <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"/> 149 143 </xsl:variable> 150 144 151 145 <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"/> 156 147 </xsl:variable> 157 148 … … 216 207 <xsl:choose> 217 208 <xsl:when test="$table.borders.with.css != 0"> 218 <xsl:attribute name="border">0</xsl:attribute>219 209 <xsl:choose> 220 210 <xsl:when test="../@frame='all' or (not(../@frame) and $default.table.frame='all')"> … … 303 293 </xsl:attribute> 304 294 </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> 305 300 <xsl:otherwise> 306 301 <xsl:attribute name="style"> … … 309 304 </xsl:otherwise> 310 305 </xsl:choose> 306 311 307 </xsl:when> 312 308 <xsl:when test="../@frame='none' or (not(../@frame) and $default.table.frame='none') or local-name(.) = 'entrytbl'"> … … 327 323 328 324 <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=".."/> 332 327 </xsl:call-template> 333 328 </xsl:variable> … … 417 412 <xsl:template match="tgroup/processing-instruction('dbhtml')"> 418 413 <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"/> 423 415 </xsl:variable> 424 416 … … 546 538 <xsl:variable name="row-height"> 547 539 <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"/> 552 541 </xsl:if> 553 542 </xsl:variable> … … 555 544 <xsl:variable name="bgcolor"> 556 545 <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"/> 561 547 </xsl:if> 562 548 </xsl:variable> … … 564 550 <xsl:variable name="class"> 565 551 <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"/> 570 553 </xsl:if> 571 554 </xsl:variable> … … 777 760 <xsl:variable name="bgcolor"> 778 761 <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"/> 783 763 </xsl:if> 784 764 </xsl:variable>
Note: See TracChangeset
for help on using the changeset viewer.