Ignore:
Timestamp:
12/10/2013 11:37:38 PM (11 years ago)
Author:
Krejzi <krejzi@…>
Branches:
7.5-systemd, 7.6-systemd, 7.7-systemd, 7.8-systemd, 7.9-systemd
Children:
112db9d
Parents:
f2a5108
Message:

Import new branch

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

File:
1 moved

Legend:

Unmodified
Added
Removed
  • stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml/inline.xsl

    rf2a5108 rb1a51ac1  
    55
    66<!-- ********************************************************************
    7      $Id$
     7     $Id: inline.xsl 9663 2012-11-06 19:09:16Z bobstayton $
    88     ********************************************************************
    99
     
    1313
    1414     ******************************************************************** -->
     15
     16<xsl:key name="glossentries" match="glossentry" use="normalize-space(glossterm)"/>
     17<xsl:key name="glossentries" match="glossentry" use="normalize-space(glossterm/@baseform)"/>
     18
    1519<xsl:template name="simple.xlink">
    1620  <xsl:param name="node" select="."/>
     
    1822    <xsl:apply-templates/>
    1923  </xsl:param>
    20   <xsl:param name="a.target"/>
    2124  <xsl:param name="linkend" select="$node/@linkend"/>
    2225  <xsl:param name="xhref" select="$node/@xlink:href"/>
     26
     27  <!-- Support for @xlink:show -->
     28  <xsl:variable name="target.show">
     29    <xsl:choose>
     30      <xsl:when test="$node/@xlink:show = 'new'">_blank</xsl:when>
     31      <xsl:when test="$node/@xlink:show = 'replace'">_top</xsl:when>
     32      <xsl:otherwise/>
     33    </xsl:choose>
     34  </xsl:variable>
    2335
    2436  <xsl:variable name="link">
     
    3951        <xsl:variable name="is.olink">
    4052          <xsl:choose>
    41             <!-- If xlink:role="http://docbook.org/xlink/role/olink" -->
     53            <!-- If xlink:role="http://docbook.org/xlink/role/olink" -->
    4254            <!-- and if the href contains # -->
    43             <xsl:when test="contains($xhref,'#') and           @xlink:role = $xolink.role">1</xsl:when>
     55            <xsl:when test="contains($xhref,'#') and                  @xlink:role = $xolink.role">1</xsl:when>
    4456            <xsl:otherwise>0</xsl:otherwise>
    4557          </xsl:choose>
     
    4759
    4860        <xsl:choose>
     61          <xsl:when test="$is.olink = 1">
     62            <xsl:call-template name="olink">
     63              <xsl:with-param name="content" select="$content"/>
     64            </xsl:call-template>
     65          </xsl:when>
     66
    4967          <xsl:when test="$is.idref = 1">
    5068
     
    7391              <xsl:otherwise>
    7492                <a>
    75                   <xsl:apply-templates select="." mode="class.attribute"/>
     93                  <xsl:apply-templates select="." mode="common.html.attributes"/>
     94                  <xsl:call-template name="id.attribute"/>
    7695
    7796                  <xsl:attribute name="href">
     
    92111                  </xsl:choose>
    93112
    94                   <xsl:if test="$a.target">
     113                  <xsl:if test="$target.show !=''">
    95114                    <xsl:attribute name="target">
    96                       <xsl:value-of select="$a.target"/>
     115                      <xsl:value-of select="$target.show"/>
    97116                    </xsl:attribute>
    98117                  </xsl:if>
     
    105124          </xsl:when>
    106125
    107           <xsl:when test="$is.olink = 1">
    108             <xsl:call-template name="olink">
    109               <xsl:with-param name="content" select="$content"/>
    110             </xsl:call-template>
    111           </xsl:when>
    112 
    113126          <!-- otherwise it's a URI -->
    114127          <xsl:otherwise>
    115128            <a>
    116               <xsl:apply-templates select="." mode="class.attribute"/>
     129              <xsl:apply-templates select="." mode="common.html.attributes"/>
     130              <xsl:call-template name="id.attribute"/>
    117131              <xsl:attribute name="href">
    118132                <xsl:value-of select="$xhref"/>
     
    123137                </xsl:attribute>
    124138              </xsl:if>
     139
     140              <!-- For URIs, use @xlink:show if defined, otherwise use ulink.target -->
     141              <xsl:choose>
     142                <xsl:when test="$target.show !=''">
     143                  <xsl:attribute name="target">
     144                    <xsl:value-of select="$target.show"/>
     145                  </xsl:attribute>
     146                </xsl:when>
     147                <xsl:when test="$ulink.target !=''">
     148                  <xsl:attribute name="target">
     149                    <xsl:value-of select="$ulink.target"/>
     150                  </xsl:attribute>
     151                </xsl:when>
     152              </xsl:choose>
     153             
    125154              <xsl:copy-of select="$content"/>
    126155            </a>
     
    138167
    139168        <a>
    140           <xsl:apply-templates select="." mode="class.attribute"/>
     169          <xsl:apply-templates select="." mode="common.html.attributes"/>
     170          <xsl:call-template name="id.attribute"/>
    141171          <xsl:attribute name="href">
    142172            <xsl:call-template name="href.target">
     
    184214      <xsl:value-of select="local-name(.)"/>
    185215    </xsl:attribute>
     216    <xsl:call-template name="id.attribute"/>
    186217    <xsl:call-template name="dir"/>
    187218    <xsl:call-template name="generate.html.title"/>
     
    201232  </xsl:param>
    202233  <code>
    203     <xsl:apply-templates select="." mode="class.attribute"/>
    204     <xsl:call-template name="dir"/>
    205     <xsl:call-template name="generate.html.title"/>
     234    <xsl:apply-templates select="." mode="common.html.attributes"/>
     235    <xsl:call-template name="id.attribute"/>
    206236    <xsl:copy-of select="$content"/>
    207237    <xsl:call-template name="apply-annotations"/>
     
    220250
    221251  <span>
    222     <xsl:apply-templates select="." mode="class.attribute"/>
    223     <xsl:call-template name="generate.html.title"/>
    224     <xsl:call-template name="dir"/>
     252    <xsl:apply-templates select="." mode="common.html.attributes"/>
     253    <xsl:call-template name="id.attribute"/>
    225254
    226255    <!-- don't put <strong> inside figure, example, or table titles -->
     
    249278  </xsl:param>
    250279  <em>
    251     <xsl:apply-templates select="." mode="class.attribute"/>
    252     <xsl:call-template name="generate.html.title"/>
    253     <xsl:call-template name="dir"/>
     280    <xsl:call-template name="common.html.attributes"/>
     281    <xsl:call-template name="id.attribute"/>
    254282    <xsl:copy-of select="$content"/>
    255283    <xsl:call-template name="apply-annotations"/>
     
    271299    <xsl:when test="local-name(..) = 'title'                     and (local-name(../..) = 'figure'                          or local-name(../..) = 'example'                          or local-name(../..) = 'table'                          or local-name(../..) = 'formalpara')">
    272300      <code>
    273         <xsl:apply-templates select="." mode="class.attribute"/>
    274         <xsl:call-template name="generate.html.title"/>
    275         <xsl:call-template name="dir"/>
     301        <xsl:call-template name="common.html.attributes"/>
     302        <xsl:call-template name="id.attribute"/>
    276303        <xsl:copy-of select="$content"/>
    277304        <xsl:call-template name="apply-annotations"/>
     
    280307    <xsl:otherwise>
    281308      <strong>
    282         <xsl:apply-templates select="." mode="class.attribute"/>
     309        <xsl:call-template name="common.html.attributes"/>
     310        <xsl:call-template name="id.attribute"/>
    283311        <code>
    284312          <xsl:call-template name="generate.html.title"/>
     
    302330  </xsl:param>
    303331  <em>
    304     <xsl:apply-templates select="." mode="class.attribute"/>
     332    <xsl:call-template name="common.html.attributes"/>
     333    <xsl:call-template name="id.attribute"/>
    305334    <code>
    306335      <xsl:call-template name="generate.html.title"/>
     
    323352  <sup>
    324353    <xsl:call-template name="generate.html.title"/>
     354    <xsl:call-template name="id.attribute"/>
    325355    <xsl:call-template name="dir"/>
    326356    <xsl:copy-of select="$content"/>
     
    340370  <sub>
    341371    <xsl:call-template name="generate.html.title"/>
     372    <xsl:call-template name="id.attribute"/>
    342373    <xsl:call-template name="dir"/>
    343374    <xsl:copy-of select="$content"/>
     
    361392
    362393  <span>
    363     <xsl:apply-templates select="." mode="class.attribute"/>
     394    <xsl:call-template name="common.html.attributes"/>
     395    <xsl:call-template name="id.attribute"/>
    364396    <xsl:copy-of select="$content"/>
    365397  </span>
     
    378410
    379411  <span>
    380     <xsl:apply-templates select="." mode="class.attribute"/>
     412    <xsl:call-template name="common.html.attributes"/>
     413    <xsl:call-template name="id.attribute"/>
    381414    <xsl:copy-of select="$content"/>
    382415  </span>
     
    395428
    396429  <span>
    397     <xsl:apply-templates select="." mode="class.attribute"/>
     430    <xsl:call-template name="common.html.attributes"/>
     431    <xsl:call-template name="id.attribute"/>
    398432    <xsl:copy-of select="$content"/>
    399433  </span>
     
    504538<xsl:template match="function/parameter" priority="2">
    505539  <xsl:call-template name="inline.italicmonoseq"/>
    506   <xsl:if test="following-sibling::*">
     540  <xsl:if test="$function.parens != 0 and following-sibling::*">
    507541    <xsl:text>, </xsl:text>
    508542  </xsl:if>
     
    511545<xsl:template match="function/replaceable" priority="2">
    512546  <xsl:call-template name="inline.italicmonoseq"/>
    513   <xsl:if test="following-sibling::*">
     547  <xsl:if test="$function.parens != 0 and following-sibling::*">
    514548    <xsl:text>, </xsl:text>
    515549  </xsl:if>
     
    553587
    554588<xsl:template match="keycap">
    555   <xsl:call-template name="inline.boldseq"/>
     589  <xsl:choose>
     590    <xsl:when test="@function and normalize-space(.) = ''">
     591      <xsl:call-template name="inline.boldseq">
     592        <xsl:with-param name="content">
     593          <xsl:call-template name="gentext.template">
     594            <xsl:with-param name="context" select="'keycap'"/>
     595            <xsl:with-param name="name" select="@function"/>
     596          </xsl:call-template>
     597        </xsl:with-param>
     598      </xsl:call-template>
     599    </xsl:when>
     600    <xsl:otherwise>
     601      <xsl:call-template name="inline.boldseq"/>
     602    </xsl:otherwise>
     603  </xsl:choose>
    556604</xsl:template>
    557605
     
    656704    <xsl:when test="$citerefentry.link != '0'">
    657705      <a>
    658         <xsl:apply-templates select="." mode="class.attribute"/>
     706        <xsl:apply-templates select="." mode="common.html.attributes"/>
    659707        <xsl:attribute name="href">
    660708          <xsl:call-template name="generate.citerefentry.link"/>
     
    696744<xsl:template match="emphasis">
    697745  <span>
     746    <xsl:call-template name="id.attribute"/>
    698747    <xsl:choose>
    699       <xsl:when test="@role and $emphasis.propagates.style != 0">
    700         <xsl:apply-templates select="." mode="class.attribute">
     748      <!-- We don't want empty @class values, so do not propagate empty @roles -->
     749      <xsl:when test="@role  and                       normalize-space(@role) != '' and                       $emphasis.propagates.style != 0">
     750        <xsl:apply-templates select="." mode="common.html.attributes">
    701751          <xsl:with-param name="class" select="@role"/>
    702752        </xsl:apply-templates>
    703753      </xsl:when>
    704754      <xsl:otherwise>
    705         <xsl:apply-templates select="." mode="class.attribute"/>
     755        <xsl:apply-templates select="." mode="common.html.attributes"/>
    706756      </xsl:otherwise>
    707757    </xsl:choose>
     
    737787<xsl:template match="foreignphrase">
    738788  <span>
    739     <xsl:apply-templates select="." mode="class.attribute"/>
    740     <xsl:if test="@lang or @xml:lang">
    741       <xsl:call-template name="language.attribute"/>
    742     </xsl:if>
     789    <xsl:apply-templates select="." mode="common.html.attributes"/>
    743790    <xsl:call-template name="inline.italicseq"/>
    744791  </span>
     
    751798<xsl:template match="phrase">
    752799  <span>
    753     <xsl:call-template name="generate.html.title"/>
    754     <xsl:if test="@lang or @xml:lang">
    755       <xsl:call-template name="language.attribute"/>
    756     </xsl:if>
    757     <xsl:if test="@role and $phrase.propagates.style != 0">
    758       <xsl:apply-templates select="." mode="class.attribute">
    759         <xsl:with-param name="class" select="@role"/>
    760       </xsl:apply-templates>
    761     </xsl:if>
     800    <xsl:call-template name="id.attribute"/>
     801    <xsl:call-template name="locale.html.attributes"/>
     802    <!-- We don't want empty @class values, so do not propagate empty @roles -->
     803    <xsl:choose>
     804      <xsl:when test="@role and                       normalize-space(@role) != '' and                      $phrase.propagates.style != 0">
     805        <xsl:apply-templates select="." mode="class.attribute">
     806          <xsl:with-param name="class" select="@role"/>
     807        </xsl:apply-templates>
     808      </xsl:when>
     809      <xsl:otherwise>
     810        <xsl:apply-templates select="." mode="class.attribute"/>
     811      </xsl:otherwise>
     812    </xsl:choose>
    762813    <xsl:call-template name="dir"/>
    763814    <xsl:call-template name="anchor"/>
     
    779830    </xsl:call-template>
    780831  </xsl:variable>
    781   <xsl:choose>
    782     <xsl:when test="$depth mod 2 = 0">
    783       <xsl:call-template name="gentext.startquote"/>
    784       <xsl:call-template name="inline.charseq"/>
    785       <xsl:call-template name="gentext.endquote"/>
    786     </xsl:when>
    787     <xsl:otherwise>
    788       <xsl:call-template name="gentext.nestedstartquote"/>
    789       <xsl:call-template name="inline.charseq"/>
    790       <xsl:call-template name="gentext.nestedendquote"/>
    791     </xsl:otherwise>
    792   </xsl:choose>
     832  <span>
     833    <xsl:apply-templates select="." mode="common.html.attributes"/>
     834    <xsl:choose>
     835      <xsl:when test="$depth mod 2 = 0">
     836        <xsl:call-template name="gentext.startquote"/>
     837        <xsl:call-template name="inline.charseq"/>
     838        <xsl:call-template name="gentext.endquote"/>
     839      </xsl:when>
     840      <xsl:otherwise>
     841        <xsl:call-template name="gentext.nestedstartquote"/>
     842        <xsl:call-template name="inline.charseq"/>
     843        <xsl:call-template name="gentext.nestedendquote"/>
     844      </xsl:otherwise>
     845    </xsl:choose>
     846  </span>
    793847</xsl:template>
    794848
     
    803857<xsl:template match="lineannotation">
    804858  <em>
    805     <xsl:apply-templates select="." mode="class.attribute"/>
     859    <xsl:apply-templates select="." mode="common.html.attributes"/>
    806860    <xsl:call-template name="inline.charseq"/>
    807861  </em>
     
    861915        <xsl:when test="$target">
    862916          <a>
    863             <xsl:apply-templates select="." mode="class.attribute"/>
     917            <xsl:apply-templates select="." mode="common.html.attributes"/>
    864918            <xsl:if test="@id or @xml:id">
    865919              <xsl:attribute name="id">
     
    944998          </xsl:variable>
    945999          <a href="{$chunkbase}#{$id}">
    946             <xsl:apply-templates select="." mode="class.attribute"/>
     1000            <xsl:apply-templates select="." mode="common.html.attributes"/>
    9471001            <xsl:call-template name="inline.italicseq">
    9481002              <xsl:with-param name="content" select="$content"/>
     
    9641018        </xsl:choose>
    9651019      </xsl:variable>
    966       <xsl:variable name="targets" select="//glossentry[normalize-space(glossterm)=$term                               or normalize-space(glossterm/@baseform)=$term]"/>
     1020      <xsl:variable name="targets" select="key('glossentries', $term)"/>
    9671021      <xsl:variable name="target" select="$targets[1]"/>
    9681022
     
    9781032        <xsl:otherwise>
    9791033          <a>
    980             <xsl:apply-templates select="." mode="class.attribute"/>
     1034            <xsl:apply-templates select="." mode="common.html.attributes"/>
    9811035            <xsl:if test="@id or @xml:id">
    9821036              <xsl:attribute name="id">
     
    10071061<xsl:template match="termdef">
    10081062  <span>
    1009     <xsl:apply-templates select="." mode="class.attribute"/>
    1010     <xsl:call-template name="generate.html.title"/>
     1063    <xsl:apply-templates select="." mode="common.html.attributes"/>
    10111064    <xsl:call-template name="gentext.template">
    10121065      <xsl:with-param name="context" select="'termdef'"/>
     
    10981151
    10991152  <code>
    1100     <xsl:apply-templates select="." mode="class.attribute">
     1153    <xsl:apply-templates select="." mode="common.html.attributes">
    11011154      <xsl:with-param name="class" select="concat('sgmltag-', $class)"/>
    11021155    </xsl:apply-templates>
    1103     <xsl:call-template name="generate.html.title"/>
    11041156    <xsl:call-template name="simple.xlink">
    11051157      <xsl:with-param name="content" select="$content"/>
     
    11151167      </xsl:if>
    11161168      <a>
    1117         <xsl:apply-templates select="." mode="class.attribute"/>
     1169        <xsl:apply-templates select="." mode="common.html.attributes"/>
     1170        <xsl:call-template name="id.attribute"/>
    11181171        <xsl:attribute name="href">
    11191172          <xsl:text>mailto:</xsl:text>
     
    12151268      <xsl:text>[</xsl:text>
    12161269      <a>
    1217         <xsl:apply-templates select="." mode="class.attribute"/>
     1270        <xsl:apply-templates select="." mode="common.html.attributes"/>
    12181271        <xsl:attribute name="href">
    12191272          <xsl:call-template name="href.target">
     
    12221275        </xsl:attribute>
    12231276
    1224         <xsl:choose>
    1225           <xsl:when test="$bibliography.numbered != 0">
    1226             <xsl:apply-templates select="$target" mode="citation"/>
    1227           </xsl:when>
    1228           <xsl:otherwise>
    1229             <xsl:call-template name="inline.charseq"/>
    1230           </xsl:otherwise>
    1231         </xsl:choose>
     1277        <xsl:choose>
     1278          <xsl:when test="$bibliography.numbered != 0">
     1279            <xsl:call-template name="id.attribute"/>
     1280            <xsl:apply-templates select="$target" mode="citation"/>
     1281          </xsl:when>
     1282          <xsl:otherwise>
     1283            <xsl:call-template name="inline.charseq"/>
     1284          </xsl:otherwise>
     1285        </xsl:choose>
    12321286
    12331287      </a>
     
    12421296</xsl:template>
    12431297
     1298<xsl:template match="citebiblioid">
     1299  <xsl:variable name="targets" select="//*[biblioid = string(current())]"/>
     1300  <xsl:variable name="target" select="$targets[1]"/>
     1301
     1302  <xsl:choose>
     1303    <!-- try automatic linking based on match to parent of biblioid -->
     1304    <xsl:when test="$target and not(xref) and not(link)">
     1305
     1306      <xsl:text>[</xsl:text>
     1307      <a>
     1308        <xsl:apply-templates select="." mode="common.html.attributes"/>
     1309        <xsl:attribute name="href">
     1310          <xsl:call-template name="href.target">
     1311            <xsl:with-param name="object" select="$target"/>
     1312          </xsl:call-template>
     1313        </xsl:attribute>
     1314
     1315        <xsl:call-template name="inline.charseq"/>
     1316
     1317      </a>
     1318      <xsl:text>]</xsl:text>
     1319    </xsl:when>
     1320    <xsl:otherwise>
     1321      <xsl:text>[</xsl:text>
     1322      <xsl:call-template name="inline.charseq"/>
     1323      <xsl:text>]</xsl:text>
     1324    </xsl:otherwise>
     1325  </xsl:choose>
     1326</xsl:template>
     1327
    12441328<xsl:template match="biblioentry|bibliomixed" mode="citation">
    12451329  <xsl:number from="bibliography" count="biblioentry|bibliomixed" level="any" format="1"/>
     
    12481332<!-- ==================================================================== -->
    12491333
    1250 <xsl:template match="comment[parent::answer|parent::appendix|parent::article|parent::bibliodiv|parent::bibliography|parent::blockquote|parent::caution|parent::chapter|parent::glossary|parent::glossdiv|parent::important|parent::index|parent::indexdiv|parent::listitem|parent::note|parent::orderedlist|parent::partintro|parent::preface|parent::procedure|parent::qandadiv|parent::qandaset|parent::question|parent::refentry|parent::refnamediv|parent::refsect1|parent::refsect2|parent::refsect3|parent::refsection|parent::refsynopsisdiv|parent::sect1|parent::sect2|parent::sect3|parent::sect4|parent::sect5|parent::section|parent::setindex|parent::sidebar|parent::simplesect|parent::taskprerequisites|parent::taskrelated|parent::tasksummary|parent::warning]|remark[parent::answer|parent::appendix|parent::article|parent::bibliodiv|parent::bibliography|parent::blockquote|parent::caution|parent::chapter|parent::glossary|parent::glossdiv|parent::important|parent::index|parent::indexdiv|parent::listitem|parent::note|parent::orderedlist|parent::partintro|parent::preface|parent::procedure|parent::qandadiv|parent::qandaset|parent::question|parent::refentry|parent::refnamediv|parent::refsect1|parent::refsect2|parent::refsect3|parent::refsection|parent::refsynopsisdiv|parent::sect1|parent::sect2|parent::sect3|parent::sect4|parent::sect5|parent::section|parent::setindex|parent::sidebar|parent::simplesect|parent::taskprerequisites|parent::taskrelated|parent::tasksummary|parent::warning]">
     1334<xsl:template match="comment[parent::answer|parent::appendix|parent::article|parent::bibliodiv|                                 parent::bibliography|parent::blockquote|parent::caution|parent::chapter|                                 parent::glossary|parent::glossdiv|parent::important|parent::index|                                 parent::indexdiv|parent::listitem|parent::note|parent::orderedlist|                                 parent::partintro|parent::preface|parent::procedure|parent::qandadiv|                                 parent::qandaset|parent::question|parent::refentry|parent::refnamediv|                                 parent::refsect1|parent::refsect2|parent::refsect3|parent::refsection|                                 parent::refsynopsisdiv|parent::sect1|parent::sect2|parent::sect3|parent::sect4|                                 parent::sect5|parent::section|parent::setindex|parent::sidebar|                                 parent::simplesect|parent::taskprerequisites|parent::taskrelated|                                 parent::tasksummary|parent::warning|parent::topic]|remark[parent::answer|parent::appendix|parent::article|parent::bibliodiv|                                 parent::bibliography|parent::blockquote|parent::caution|parent::chapter|                                 parent::glossary|parent::glossdiv|parent::important|parent::index|                                 parent::indexdiv|parent::listitem|parent::note|parent::orderedlist|                                 parent::partintro|parent::preface|parent::procedure|parent::qandadiv|                                 parent::qandaset|parent::question|parent::refentry|parent::refnamediv|                                 parent::refsect1|parent::refsect2|parent::refsect3|parent::refsection|                                 parent::refsynopsisdiv|parent::sect1|parent::sect2|parent::sect3|parent::sect4|                                 parent::sect5|parent::section|parent::setindex|parent::sidebar|                                 parent::simplesect|parent::taskprerequisites|parent::taskrelated|                                 parent::tasksummary|parent::warning|parent::topic]">
    12511335  <xsl:if test="$show.comments != 0">
    1252     <p class="remark"><i><xsl:call-template name="inline.charseq"/></i></p>
     1336    <p class="remark"><em><xsl:call-template name="inline.charseq"/></em></p>
    12531337  </xsl:if>
    12541338</xsl:template>
     
    13041388
    13051389  <span>
    1306     <xsl:apply-templates select="." mode="class.attribute"/>
     1390    <xsl:apply-templates select="." mode="common.html.attributes"/>
     1391    <xsl:call-template name="id.attribute"/>
    13071392    <xsl:copy-of select="$content"/>
    13081393  </span>
     
    13211406
    13221407  <span>
    1323     <xsl:apply-templates select="." mode="class.attribute"/>
     1408    <xsl:apply-templates select="." mode="common.html.attributes"/>
     1409    <xsl:call-template name="id.attribute"/>
    13241410    <xsl:copy-of select="$content"/>
    13251411  </span>
     
    13401426
    13411427  <span>
    1342     <xsl:apply-templates select="." mode="class.attribute"/>
     1428    <xsl:apply-templates select="." mode="common.html.attributes"/>
     1429    <xsl:call-template name="id.attribute"/>
    13431430    <xsl:copy-of select="$content"/>
    13441431  </span>
     
    13571444
    13581445  <span>
    1359     <xsl:apply-templates select="." mode="class.attribute"/>
     1446    <xsl:apply-templates select="." mode="common.html.attributes"/>
     1447    <xsl:call-template name="id.attribute"/>
    13601448    <xsl:copy-of select="$content"/>
    13611449  </span>
     
    13741462
    13751463  <span>
    1376     <xsl:apply-templates select="." mode="class.attribute"/>
     1464    <xsl:apply-templates select="." mode="common.html.attributes"/>
    13771465    <xsl:copy-of select="$content"/>
    13781466  </span>
     
    13911479
    13921480  <span>
    1393     <xsl:apply-templates select="." mode="class.attribute"/>
     1481    <xsl:apply-templates select="." mode="common.html.attributes"/>
     1482    <xsl:call-template name="id.attribute"/>
    13941483    <xsl:copy-of select="$content"/>
    13951484  </span>
Note: See TracChangeset for help on using the changeset viewer.