Ignore:
Timestamp:
10/08/2013 08:03:29 PM (11 years ago)
Author:
Matthew Burgess <matthew@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 12.2, 12.2-rc1, 7.5, 7.6, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/loongarch-12.2, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
58675ce
Parents:
09a35dd
Message:

Update stylesheets to docbook-xsl-1.78.1.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10355 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 moved

Legend:

Unmodified
Added
Removed
  • stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml-1_1/admon.xsl

    r09a35dd r15c7d39  
    55
    66<!-- ********************************************************************
    7      $Id$
     7     $Id: admon.xsl 9352 2012-05-12 23:17:11Z bobstayton $
    88     ********************************************************************
    99
     
    6363
    6464  <div>
    65     <xsl:apply-templates select="." mode="class.attribute"/>
     65    <xsl:call-template name="common.html.attributes"/>
     66    <xsl:call-template name="id.attribute"/>
    6667    <xsl:if test="$admon.style != ''">
    6768      <xsl:attribute name="style">
     
    7071    </xsl:if>
    7172
    72     <table border="0">
    73       <xsl:attribute name="summary">
    74         <xsl:value-of select="$admon.type"/>
    75         <xsl:if test="title|info/title">
    76           <xsl:text>: </xsl:text>
    77           <xsl:value-of select="(title|info/title)[1]"/>
    78         </xsl:if>
    79       </xsl:attribute>
     73    <table border="{$table.border.off}">
     74      <!-- omit summary attribute in html5 output -->
     75      <xsl:if test="$div.element != 'section'">
     76        <xsl:attribute name="summary">
     77          <xsl:value-of select="$admon.type"/>
     78          <xsl:if test="title|info/title">
     79            <xsl:text>: </xsl:text>
     80            <xsl:value-of select="(title|info/title)[1]"/>
     81          </xsl:if>
     82        </xsl:attribute>
     83      </xsl:if>
    8084      <tr>
    8185        <td rowspan="2" align="center" valign="top">
    82           <xsl:attribute name="width">
    83             <xsl:apply-templates select="." mode="admon.graphic.width"/>
    84           </xsl:attribute>
     86         
    8587          <img alt="[{$alt}]">
    8688            <xsl:attribute name="src">
     
    8991          </img>
    9092        </td>
    91         <th align="left">
     93        <th align="{$direction.align.start}">
    9294          <xsl:call-template name="anchor"/>
    9395          <xsl:if test="$admon.textlabel != 0 or title or info/title">
     
    9799      </tr>
    98100      <tr>
    99         <td align="left" valign="top">
     101        <td align="{$direction.align.start}" valign="top">
    100102          <xsl:apply-templates/>
    101103        </td>
     
    107109<xsl:template name="nongraphical.admonition">
    108110  <div>
    109     <xsl:apply-templates select="." mode="class.attribute"/>
     111    <xsl:call-template name="common.html.attributes">
     112      <xsl:with-param name="inherit" select="1"/>
     113    </xsl:call-template>
     114    <xsl:call-template name="id.attribute"/>
    110115    <xsl:if test="$admon.style">
    111116      <xsl:attribute name="style">
Note: See TracChangeset for help on using the changeset viewer.