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, 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/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/synop.xsl

    r09a35dd r15c7d39  
    55
    66<!-- ********************************************************************
    7      $Id$
     7     $Id: synop.xsl 9357 2012-05-12 23:36:14Z bobstayton $
    88     ********************************************************************
    99
     
    2222<xsl:template match="cmdsynopsis">
    2323  <div>
    24     <xsl:apply-templates select="." mode="class.attribute"/>
     24    <xsl:apply-templates select="." mode="common.html.attributes"/>
    2525    <p>
     26      <xsl:call-template name="id.attribute">
     27        <xsl:with-param name="conditional" select="0"/>
     28      </xsl:call-template>
    2629      <xsl:if test="..//processing-instruction('dbcmdlist')">
    2730        <!-- * Placing a dbcmdlist PI as a child of a particular element -->
     
    130133    <xsl:apply-templates select="$target" mode="synopfragment.number"/>
    131134  </xsl:variable>
    132   <i>
     135  <em xmlns:xslo="http://www.w3.org/1999/XSL/Transform">
    133136    <a href="#{@linkend}">
    134137      <xsl:text>(</xsl:text>
     
    138141    <xsl:text>&#160;</xsl:text>
    139142    <xsl:apply-templates/>
    140   </i>
     143  </em>
    141144</xsl:template>
    142145
     
    149152    <xsl:apply-templates select="." mode="synopfragment.number"/>
    150153  </xsl:variable>
    151   <p>
     154  <!-- You can't introduce another <p> here, because you're
     155       already in a <p> from cmdsynopsis-->
     156  <span>
    152157    <xsl:variable name="id">
    153158      <xsl:call-template name="object.id"/>
     
    160165    <xsl:text> </xsl:text>
    161166    <xsl:apply-templates/>
    162   </p>
     167  </span>
    163168</xsl:template>
    164169
     
    171176    <!-- * to output an a@id instance so that we will have something to -->
    172177    <!-- * link to -->
     178    <span>
     179      <xsl:call-template name="id.attribute">
     180        <xsl:with-param name="conditional" select="0"/>
     181      </xsl:call-template>
     182    </span>
    173183    <xsl:call-template name="anchor">
    174184      <xsl:with-param name="conditional" select="0"/>
     
    180190<xsl:template match="funcsynopsisinfo">
    181191  <pre>
    182     <xsl:apply-templates select="." mode="class.attribute"/>
     192    <xsl:apply-templates select="." mode="common.html.attributes"/>
     193    <xsl:call-template name="id.attribute"/>
    183194    <xsl:apply-templates/>
    184195  </pre>
     
    215226  </xsl:variable>
    216227
     228<!-- * 2008-02-17. the code no longer relies on the funcsynopsis.tabular.threshold -->
     229<!-- * param at all (the stuff below has been commented out since mid -->
     230<!-- * 2006), so I completely removed the funcsynopsis.tabular.threshold param -->
     231<!-- * .. MikeSmith -->
    217232<!--
    218233  <xsl:variable name="tabular-p"
     
    254269<xsl:template match="funcdef" mode="kr-nontabular">
    255270  <code>
    256     <xsl:apply-templates select="." mode="class.attribute"/>
     271    <xsl:apply-templates select="." mode="common.html.attributes"/>
     272    <xsl:call-template name="id.attribute"/>
    257273    <xsl:apply-templates mode="kr-nontabular"/>
    258274    <xsl:text>(</xsl:text>
     
    263279  <xsl:choose>
    264280    <xsl:when test="$funcsynopsis.decoration != 0">
    265       <b class="fsfunc"><xsl:apply-templates mode="kr-nontabular"/></b>
     281      <strong xmlns:xslo="http://www.w3.org/1999/XSL/Transform">fsfunc<xsl:apply-templates mode="kr-nontabular"/></strong>
    266282    </xsl:when>
    267283    <xsl:otherwise>
     
    343359
    344360<xsl:template match="funcprototype" mode="kr-tabular">
    345   <table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em">
     361  <table border="{$table.border.off}" class="funcprototype-table">
     362    <xsl:if test="$div.element != 'section'">
     363      <xsl:attribute name="summary">Function synopsis</xsl:attribute>
     364    </xsl:if>
     365    <xsl:if test="$css.decoration != 0">
     366      <xsl:attribute name="style">cellspacing: 0; cellpadding: 0;</xsl:attribute>
     367    </xsl:if>
    346368    <tr>
    347369      <td>
     
    358380  </table>
    359381  <xsl:if test="paramdef">
    360     <table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0">
    361       <xsl:if test="following-sibling::funcprototype">
    362         <xsl:attribute name="style">padding-bottom: 1em</xsl:attribute>
    363       </xsl:if>
    364       <xsl:apply-templates select="paramdef" mode="kr-tabular-funcsynopsis-mode"/>
    365     </table>
    366   </xsl:if>
     382    <div class="paramdef-list">
     383      <xsl:apply-templates select="paramdef" mode="kr-funcsynopsis-mode"/>
     384    </div>
     385  </xsl:if>
     386  <div class="funcprototype-spacer">&#160;</div> <!-- hACk: blank div for vertical spacing -->
    367387</xsl:template>
    368388
    369389<xsl:template match="funcdef" mode="kr-tabular">
    370390  <code>
    371     <xsl:apply-templates select="." mode="class.attribute"/>
     391    <xsl:apply-templates select="." mode="common.html.attributes"/>
     392    <xsl:call-template name="id.attribute"/>
    372393    <xsl:apply-templates mode="kr-tabular"/>
    373394    <xsl:text>(</xsl:text>
     
    378399  <xsl:choose>
    379400    <xsl:when test="$funcsynopsis.decoration != 0">
    380       <b class="fsfunc"><xsl:apply-templates mode="kr-nontabular"/></b>
     401      <strong xmlns:xslo="http://www.w3.org/1999/XSL/Transform">fsfunc<xsl:apply-templates mode="kr-nontabular"/></strong>
    381402    </xsl:when>
    382403    <xsl:otherwise>
     
    529550<xsl:template match="funcdef" mode="ansi-nontabular">
    530551  <code>
    531     <xsl:apply-templates select="." mode="class.attribute"/>
     552    <xsl:apply-templates select="." mode="common.html.attributes"/>
     553    <xsl:call-template name="id.attribute"/>
    532554    <xsl:apply-templates mode="ansi-nontabular"/>
    533555    <xsl:text>(</xsl:text>
     
    538560  <xsl:choose>
    539561    <xsl:when test="$funcsynopsis.decoration != 0">
    540       <b class="fsfunc"><xsl:apply-templates mode="ansi-nontabular"/></b>
     562      <strong xmlns:xslo="http://www.w3.org/1999/XSL/Transform">fsfunc<xsl:apply-templates mode="ansi-nontabular"/></strong>
    541563    </xsl:when>
    542564    <xsl:otherwise>
     
    595617
    596618<xsl:template match="funcprototype" mode="ansi-tabular">
    597   <table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0">
    598     <xsl:if test="following-sibling::funcprototype">
    599       <xsl:attribute name="style">padding-bottom: 1em</xsl:attribute>
     619  <table border="{$table.border.off}" class="funcprototype-table">
     620    <xsl:if test="$div.element != 'section'">
     621      <xsl:attribute name="summary">Function synopsis</xsl:attribute>
     622    </xsl:if>
     623    <xsl:if test="$css.decoration != 0">
     624      <xsl:attribute name="style">cellspacing: 0; cellpadding: 0;</xsl:attribute>
    600625    </xsl:if>
    601626    <tr>
     
    612637    </xsl:for-each>
    613638  </table>
     639  <div class="funcprototype-spacer">&#160;</div> <!-- hACk: blank div for vertical spacing -->
    614640</xsl:template>
    615641
    616642<xsl:template match="funcdef" mode="ansi-tabular">
    617643  <code>
    618     <xsl:apply-templates select="." mode="class.attribute"/>
     644    <xsl:apply-templates select="." mode="common.html.attributes"/>
     645    <xsl:call-template name="id.attribute"/>
    619646    <xsl:apply-templates mode="ansi-tabular"/>
    620647    <xsl:text>(</xsl:text>
     
    625652  <xsl:choose>
    626653    <xsl:when test="$funcsynopsis.decoration != 0">
    627       <b class="fsfunc"><xsl:apply-templates mode="ansi-nontabular"/></b>
     654      <strong xmlns:xslo="http://www.w3.org/1999/XSL/Transform">fsfunc<xsl:apply-templates mode="ansi-nontabular"/></strong>
    628655    </xsl:when>
    629656    <xsl:otherwise>
     
    651678
    652679<xsl:template match="paramdef" mode="ansi-tabular">
    653   <xsl:variable name="type">
    654     <xsl:choose>
    655       <xsl:when test="type">
    656         <xsl:apply-templates select="type" mode="ansi-tabular"/>
    657       </xsl:when>
    658       <xsl:when test="normalize-space(parameter/preceding-sibling::node()[not(self::parameter)]) != ''">
    659         <xsl:copy-of select="parameter/preceding-sibling::node()[not(self::parameter)]"/>
    660       </xsl:when>
    661     </xsl:choose>
    662   </xsl:variable>
    663 
    664   <xsl:choose>
    665     <xsl:when test="$type != '' and funcparams">
    666680      <td>
    667         <xsl:copy-of select="$type"/>
    668         <xsl:text>&#160;</xsl:text>
    669       </td>
    670       <td>
    671         <xsl:choose>
    672           <xsl:when test="type">
    673             <xsl:apply-templates select="type/following-sibling::*" mode="ansi-tabular"/>
    674           </xsl:when>
    675           <xsl:otherwise>
    676             <xsl:apply-templates select="*" mode="ansi-tabular"/>
    677           </xsl:otherwise>
    678         </xsl:choose>
     681        <xsl:apply-templates mode="ansi-tabular"/>
    679682        <xsl:choose>
    680683          <xsl:when test="following-sibling::*">
     
    687690        </xsl:choose>
    688691      </td>
    689     </xsl:when>
    690     <xsl:otherwise>
    691       <td>
    692         <xsl:apply-templates select="parameter/preceding-sibling::node()[not(self::parameter)]" mode="ansi-tabular"/>
    693         <xsl:text>&#160;</xsl:text>
    694       </td>
    695       <td>
    696         <xsl:apply-templates select="parameter" mode="ansi-tabular"/>
    697         <xsl:apply-templates select="parameter/following-sibling::*[not(self::parameter)]" mode="ansi-tabular"/>
    698         <xsl:choose>
    699           <xsl:when test="following-sibling::*">
    700             <xsl:text>, </xsl:text>
    701           </xsl:when>
    702           <xsl:otherwise>
    703             <code>)</code>
    704             <xsl:text>;</xsl:text>
    705           </xsl:otherwise>
    706         </xsl:choose>
    707       </td>
    708     </xsl:otherwise>
    709   </xsl:choose>
    710692</xsl:template>
    711693
     
    785767<xsl:template match="classsynopsis" mode="java">
    786768  <pre>
    787     <xsl:apply-templates select="." mode="class.attribute"/>
     769    <xsl:apply-templates select="." mode="common.html.attributes"/>
     770    <xsl:call-template name="id.attribute"/>
    788771    <xsl:apply-templates select="ooclass[1]" mode="java"/>
    789772    <xsl:if test="ooclass[preceding-sibling::*]">
     
    828811  </xsl:choose>
    829812  <span>
    830     <xsl:apply-templates select="." mode="class.attribute"/>
     813    <xsl:apply-templates select="." mode="common.html.attributes"/>
     814    <xsl:call-template name="id.attribute"/>
    831815    <xsl:apply-templates mode="java"/>
    832816  </span>
     
    835819<xsl:template match="modifier|package" mode="java">
    836820  <span>
    837     <xsl:apply-templates select="." mode="class.attribute"/>
     821    <xsl:apply-templates select="." mode="common.html.attributes"/>
     822    <xsl:call-template name="id.attribute"/>
    838823    <xsl:apply-templates mode="java"/>
    839824    <xsl:if test="following-sibling::*">
     
    848833  </xsl:if>
    849834  <span>
    850     <xsl:apply-templates select="." mode="class.attribute"/>
     835    <xsl:apply-templates select="." mode="common.html.attributes"/>
     836    <xsl:call-template name="id.attribute"/>
    851837    <xsl:apply-templates mode="java"/>
    852838  </span>
     
    858844  </xsl:if>
    859845  <span>
    860     <xsl:apply-templates select="." mode="class.attribute"/>
     846    <xsl:apply-templates select="." mode="common.html.attributes"/>
     847    <xsl:call-template name="id.attribute"/>
    861848    <xsl:apply-templates mode="java"/>
    862849  </span>
     
    868855  </xsl:if>
    869856  <span>
    870     <xsl:apply-templates select="." mode="class.attribute"/>
     857    <xsl:apply-templates select="." mode="common.html.attributes"/>
     858    <xsl:call-template name="id.attribute"/>
    871859    <xsl:apply-templates mode="java"/>
    872860  </span>
     
    875863<xsl:template match="fieldsynopsis" mode="java">
    876864  <code>
    877     <xsl:apply-templates select="." mode="class.attribute"/>
     865    <xsl:apply-templates select="." mode="common.html.attributes"/>
     866    <xsl:call-template name="id.attribute"/>
    878867    <xsl:if test="parent::classsynopsis">
    879868      <xsl:text>&#160;&#160;</xsl:text>
     
    887876<xsl:template match="type" mode="java">
    888877  <span>
    889     <xsl:apply-templates select="." mode="class.attribute"/>
     878    <xsl:apply-templates select="." mode="common.html.attributes"/>
     879    <xsl:call-template name="id.attribute"/>
    890880    <xsl:apply-templates mode="java"/>
    891881    <xsl:text>&#160;</xsl:text>
     
    895885<xsl:template match="varname" mode="java">
    896886  <span>
    897     <xsl:apply-templates select="." mode="class.attribute"/>
     887    <xsl:apply-templates select="." mode="common.html.attributes"/>
     888    <xsl:call-template name="id.attribute"/>
    898889    <xsl:apply-templates mode="java"/>
    899890    <xsl:text>&#160;</xsl:text>
     
    903894<xsl:template match="initializer" mode="java">
    904895  <span>
    905     <xsl:apply-templates select="." mode="class.attribute"/>
     896    <xsl:apply-templates select="." mode="common.html.attributes"/>
     897    <xsl:call-template name="id.attribute"/>
    906898    <xsl:text>=&#160;</xsl:text>
    907899    <xsl:apply-templates mode="java"/>
     
    911903<xsl:template match="void" mode="java">
    912904  <span>
    913     <xsl:apply-templates select="." mode="class.attribute"/>
     905    <xsl:apply-templates select="." mode="common.html.attributes"/>
     906    <xsl:call-template name="id.attribute"/>
    914907    <xsl:text>void&#160;</xsl:text>
    915908  </span>
     
    918911<xsl:template match="methodname" mode="java">
    919912  <span>
    920     <xsl:apply-templates select="." mode="class.attribute"/>
     913    <xsl:apply-templates select="." mode="common.html.attributes"/>
     914    <xsl:call-template name="id.attribute"/>
    921915    <xsl:apply-templates mode="java"/>
    922916  </span>
     
    936930  </xsl:if>
    937931  <span>
    938     <xsl:apply-templates select="." mode="class.attribute"/>
     932    <xsl:apply-templates select="." mode="common.html.attributes"/>
     933    <xsl:call-template name="id.attribute"/>
    939934    <xsl:apply-templates mode="java"/>
    940935  </span>
     
    943938<xsl:template match="parameter" mode="java">
    944939  <span>
    945     <xsl:apply-templates select="." mode="class.attribute"/>
     940    <xsl:apply-templates select="." mode="common.html.attributes"/>
     941    <xsl:call-template name="id.attribute"/>
    946942    <xsl:apply-templates mode="java"/>
    947943  </span>
     
    967963
    968964  <code>
    969     <xsl:apply-templates select="." mode="class.attribute"/>
     965    <xsl:apply-templates select="." mode="common.html.attributes"/>
     966    <xsl:call-template name="id.attribute"/>
    970967    <xsl:copy-of select="$decl"/>
    971968    <xsl:text>(</xsl:text>
     
    992989<xsl:template match="classsynopsis" mode="cpp">
    993990  <pre>
    994     <xsl:apply-templates select="." mode="class.attribute"/>
     991    <xsl:apply-templates select="." mode="common.html.attributes"/>
     992    <xsl:call-template name="id.attribute"/>
    995993    <xsl:apply-templates select="ooclass[1]" mode="cpp"/>
    996994    <xsl:if test="ooclass[preceding-sibling::*]">
     
    10301028  </xsl:if>
    10311029  <span>
    1032     <xsl:apply-templates select="." mode="class.attribute"/>
     1030    <xsl:apply-templates select="." mode="common.html.attributes"/>
     1031    <xsl:call-template name="id.attribute"/>
    10331032    <xsl:apply-templates mode="cpp"/>
    10341033  </span>
     
    10371036<xsl:template match="modifier|package" mode="cpp">
    10381037  <span>
    1039     <xsl:apply-templates select="." mode="class.attribute"/>
     1038    <xsl:apply-templates select="." mode="common.html.attributes"/>
     1039    <xsl:call-template name="id.attribute"/>
    10401040    <xsl:apply-templates mode="cpp"/>
    10411041    <xsl:if test="following-sibling::*">
     
    10501050  </xsl:if>
    10511051  <span>
    1052     <xsl:apply-templates select="." mode="class.attribute"/>
     1052    <xsl:apply-templates select="." mode="common.html.attributes"/>
     1053    <xsl:call-template name="id.attribute"/>
    10531054    <xsl:apply-templates mode="cpp"/>
    10541055  </span>
     
    10601061  </xsl:if>
    10611062  <span>
    1062     <xsl:apply-templates select="." mode="class.attribute"/>
     1063    <xsl:apply-templates select="." mode="common.html.attributes"/>
     1064    <xsl:call-template name="id.attribute"/>
    10631065    <xsl:apply-templates mode="cpp"/>
    10641066  </span>
     
    10701072  </xsl:if>
    10711073  <span>
    1072     <xsl:apply-templates select="." mode="class.attribute"/>
     1074    <xsl:apply-templates select="." mode="common.html.attributes"/>
     1075    <xsl:call-template name="id.attribute"/>
    10731076    <xsl:apply-templates mode="cpp"/>
    10741077  </span>
     
    10771080<xsl:template match="fieldsynopsis" mode="cpp">
    10781081  <code>
    1079     <xsl:apply-templates select="." mode="class.attribute"/>
     1082    <xsl:apply-templates select="." mode="common.html.attributes"/>
     1083    <xsl:call-template name="id.attribute"/>
    10801084    <xsl:if test="parent::classsynopsis">
    10811085      <xsl:text>&#160;&#160;</xsl:text>
     
    10891093<xsl:template match="type" mode="cpp">
    10901094  <span>
    1091     <xsl:apply-templates select="." mode="class.attribute"/>
     1095    <xsl:apply-templates select="." mode="common.html.attributes"/>
     1096    <xsl:call-template name="id.attribute"/>
    10921097    <xsl:apply-templates mode="cpp"/>
    10931098    <xsl:text>&#160;</xsl:text>
     
    10971102<xsl:template match="varname" mode="cpp">
    10981103  <span>
    1099     <xsl:apply-templates select="." mode="class.attribute"/>
     1104    <xsl:apply-templates select="." mode="common.html.attributes"/>
     1105    <xsl:call-template name="id.attribute"/>
    11001106    <xsl:apply-templates mode="cpp"/>
    11011107    <xsl:text>&#160;</xsl:text>
     
    11051111<xsl:template match="initializer" mode="cpp">
    11061112  <span>
    1107     <xsl:apply-templates select="." mode="class.attribute"/>
     1113    <xsl:apply-templates select="." mode="common.html.attributes"/>
     1114    <xsl:call-template name="id.attribute"/>
    11081115    <xsl:text>=&#160;</xsl:text>
    11091116    <xsl:apply-templates mode="cpp"/>
     
    11131120<xsl:template match="void" mode="cpp">
    11141121  <span>
    1115     <xsl:apply-templates select="." mode="class.attribute"/>
     1122    <xsl:apply-templates select="." mode="common.html.attributes"/>
     1123    <xsl:call-template name="id.attribute"/>
    11161124    <xsl:text>void&#160;</xsl:text>
    11171125  </span>
     
    11201128<xsl:template match="methodname" mode="cpp">
    11211129  <span>
    1122     <xsl:apply-templates select="." mode="class.attribute"/>
     1130    <xsl:apply-templates select="." mode="common.html.attributes"/>
     1131    <xsl:call-template name="id.attribute"/>
    11231132    <xsl:apply-templates mode="cpp"/>
    11241133  </span>
     
    11301139  </xsl:if>
    11311140  <span>
    1132     <xsl:apply-templates select="." mode="class.attribute"/>
     1141    <xsl:apply-templates select="." mode="common.html.attributes"/>
     1142    <xsl:call-template name="id.attribute"/>
    11331143    <xsl:apply-templates mode="cpp"/>
    11341144  </span>
     
    11371147<xsl:template match="parameter" mode="cpp">
    11381148  <span>
    1139     <xsl:apply-templates select="." mode="class.attribute"/>
     1149    <xsl:apply-templates select="." mode="common.html.attributes"/>
     1150    <xsl:call-template name="id.attribute"/>
    11401151    <xsl:apply-templates mode="cpp"/>
    11411152  </span>
     
    11481159
    11491160  <code>
    1150     <xsl:apply-templates select="." mode="class.attribute"/>
     1161    <xsl:apply-templates select="." mode="common.html.attributes"/>
     1162    <xsl:call-template name="id.attribute"/>
    11511163    <xsl:if test="parent::classsynopsis">
    11521164      <xsl:text>&#160;&#160;</xsl:text>
     
    11811193<xsl:template match="classsynopsis" mode="idl">
    11821194  <pre>
    1183     <xsl:apply-templates select="." mode="class.attribute"/>
     1195    <xsl:apply-templates select="." mode="common.html.attributes"/>
     1196    <xsl:call-template name="id.attribute"/>
    11841197    <xsl:text>interface </xsl:text>
    11851198    <xsl:apply-templates select="ooclass[1]" mode="idl"/>
     
    12201233  </xsl:if>
    12211234  <span>
    1222     <xsl:apply-templates select="." mode="class.attribute"/>
     1235    <xsl:apply-templates select="." mode="common.html.attributes"/>
     1236    <xsl:call-template name="id.attribute"/>
    12231237    <xsl:apply-templates mode="idl"/>
    12241238  </span>
     
    12271241<xsl:template match="modifier|package" mode="idl">
    12281242  <span>
    1229     <xsl:apply-templates select="." mode="class.attribute"/>
     1243    <xsl:apply-templates select="." mode="common.html.attributes"/>
     1244    <xsl:call-template name="id.attribute"/>
    12301245    <xsl:apply-templates mode="idl"/>
    12311246    <xsl:if test="following-sibling::*">
     
    12401255  </xsl:if>
    12411256  <span>
    1242     <xsl:apply-templates select="." mode="class.attribute"/>
     1257    <xsl:apply-templates select="." mode="common.html.attributes"/>
     1258    <xsl:call-template name="id.attribute"/>
    12431259    <xsl:apply-templates mode="idl"/>
    12441260  </span>
     
    12501266  </xsl:if>
    12511267  <span>
    1252     <xsl:apply-templates select="." mode="class.attribute"/>
     1268    <xsl:apply-templates select="." mode="common.html.attributes"/>
     1269    <xsl:call-template name="id.attribute"/>
    12531270    <xsl:apply-templates mode="idl"/>
    12541271  </span>
     
    12601277  </xsl:if>
    12611278  <span>
    1262     <xsl:apply-templates select="." mode="class.attribute"/>
     1279    <xsl:apply-templates select="." mode="common.html.attributes"/>
     1280    <xsl:call-template name="id.attribute"/>
    12631281    <xsl:apply-templates mode="idl"/>
    12641282  </span>
     
    12671285<xsl:template match="fieldsynopsis" mode="idl">
    12681286  <code>
    1269     <xsl:apply-templates select="." mode="class.attribute"/>
     1287    <xsl:apply-templates select="." mode="common.html.attributes"/>
     1288    <xsl:call-template name="id.attribute"/>
    12701289    <xsl:if test="parent::classsynopsis">
    12711290      <xsl:text>&#160;&#160;</xsl:text>
     
    12791298<xsl:template match="type" mode="idl">
    12801299  <span>
    1281     <xsl:apply-templates select="." mode="class.attribute"/>
     1300    <xsl:apply-templates select="." mode="common.html.attributes"/>
     1301    <xsl:call-template name="id.attribute"/>
    12821302    <xsl:apply-templates mode="idl"/>
    12831303    <xsl:text>&#160;</xsl:text>
     
    12871307<xsl:template match="varname" mode="idl">
    12881308  <span>
    1289     <xsl:apply-templates select="." mode="class.attribute"/>
     1309    <xsl:apply-templates select="." mode="common.html.attributes"/>
     1310    <xsl:call-template name="id.attribute"/>
    12901311    <xsl:apply-templates mode="idl"/>
    12911312    <xsl:text>&#160;</xsl:text>
     
    12951316<xsl:template match="initializer" mode="idl">
    12961317  <span>
    1297     <xsl:apply-templates select="." mode="class.attribute"/>
     1318    <xsl:apply-templates select="." mode="common.html.attributes"/>
     1319    <xsl:call-template name="id.attribute"/>
    12981320    <xsl:text>=&#160;</xsl:text>
    12991321    <xsl:apply-templates mode="idl"/>
     
    13031325<xsl:template match="void" mode="idl">
    13041326  <span>
    1305     <xsl:apply-templates select="." mode="class.attribute"/>
     1327    <xsl:apply-templates select="." mode="common.html.attributes"/>
     1328    <xsl:call-template name="id.attribute"/>
    13061329    <xsl:text>void&#160;</xsl:text>
    13071330  </span>
     
    13101333<xsl:template match="methodname" mode="idl">
    13111334  <span>
    1312     <xsl:apply-templates select="." mode="class.attribute"/>
     1335    <xsl:apply-templates select="." mode="common.html.attributes"/>
     1336    <xsl:call-template name="id.attribute"/>
    13131337    <xsl:apply-templates mode="idl"/>
    13141338  </span>
     
    13201344  </xsl:if>
    13211345  <span>
    1322     <xsl:apply-templates select="." mode="class.attribute"/>
     1346    <xsl:apply-templates select="." mode="common.html.attributes"/>
     1347    <xsl:call-template name="id.attribute"/>
    13231348    <xsl:apply-templates mode="idl"/>
    13241349  </span>
     
    13271352<xsl:template match="parameter" mode="idl">
    13281353  <span>
    1329     <xsl:apply-templates select="." mode="class.attribute"/>
     1354    <xsl:apply-templates select="." mode="common.html.attributes"/>
     1355    <xsl:call-template name="id.attribute"/>
    13301356    <xsl:apply-templates mode="idl"/>
    13311357  </span>
     
    13371363  <xsl:variable name="end-modifiers" select="modifier[preceding-sibling::*[local-name(.) != 'modifier']]"/>
    13381364  <code>
    1339     <xsl:apply-templates select="." mode="class.attribute"/>
     1365    <xsl:apply-templates select="." mode="common.html.attributes"/>
     1366    <xsl:call-template name="id.attribute"/>
    13401367    <xsl:if test="parent::classsynopsis">
    13411368      <xsl:text>&#160;&#160;</xsl:text>
     
    13711398<xsl:template match="classsynopsis" mode="perl">
    13721399  <pre>
    1373     <xsl:apply-templates select="." mode="class.attribute"/>
     1400    <xsl:apply-templates select="." mode="common.html.attributes"/>
     1401    <xsl:call-template name="id.attribute"/>
    13741402    <xsl:text>package </xsl:text>
    13751403    <xsl:apply-templates select="ooclass[1]" mode="perl"/>
     
    13971425  </xsl:if>
    13981426  <span>
    1399     <xsl:apply-templates select="." mode="class.attribute"/>
     1427    <xsl:apply-templates select="." mode="common.html.attributes"/>
     1428    <xsl:call-template name="id.attribute"/>
    14001429    <xsl:apply-templates mode="perl"/>
    14011430  </span>
     
    14041433<xsl:template match="modifier|package" mode="perl">
    14051434  <span>
    1406     <xsl:apply-templates select="." mode="class.attribute"/>
     1435    <xsl:apply-templates select="." mode="common.html.attributes"/>
     1436    <xsl:call-template name="id.attribute"/>
    14071437    <xsl:apply-templates mode="perl"/>
    14081438    <xsl:if test="following-sibling::*">
     
    14171447  </xsl:if>
    14181448  <span>
    1419     <xsl:apply-templates select="." mode="class.attribute"/>
     1449    <xsl:apply-templates select="." mode="common.html.attributes"/>
     1450    <xsl:call-template name="id.attribute"/>
    14201451    <xsl:apply-templates mode="perl"/>
    14211452  </span>
     
    14271458  </xsl:if>
    14281459  <span>
    1429     <xsl:apply-templates select="." mode="class.attribute"/>
     1460    <xsl:apply-templates select="." mode="common.html.attributes"/>
     1461    <xsl:call-template name="id.attribute"/>
    14301462    <xsl:apply-templates mode="perl"/>
    14311463  </span>
     
    14371469  </xsl:if>
    14381470  <span>
    1439     <xsl:apply-templates select="." mode="class.attribute"/>
     1471    <xsl:apply-templates select="." mode="common.html.attributes"/>
     1472    <xsl:call-template name="id.attribute"/>
    14401473    <xsl:apply-templates mode="perl"/>
    14411474  </span>
     
    14441477<xsl:template match="fieldsynopsis" mode="perl">
    14451478  <code>
    1446     <xsl:apply-templates select="." mode="class.attribute"/>
     1479    <xsl:apply-templates select="." mode="common.html.attributes"/>
     1480    <xsl:call-template name="id.attribute"/>
    14471481    <xsl:if test="parent::classsynopsis">
    14481482      <xsl:text>&#160;&#160;</xsl:text>
     
    14561490<xsl:template match="type" mode="perl">
    14571491  <span>
    1458     <xsl:apply-templates select="." mode="class.attribute"/>
     1492    <xsl:apply-templates select="." mode="common.html.attributes"/>
     1493    <xsl:call-template name="id.attribute"/>
    14591494    <xsl:apply-templates mode="perl"/>
    14601495    <xsl:text>&#160;</xsl:text>
     
    14641499<xsl:template match="varname" mode="perl">
    14651500  <span>
    1466     <xsl:apply-templates select="." mode="class.attribute"/>
     1501    <xsl:apply-templates select="." mode="common.html.attributes"/>
     1502    <xsl:call-template name="id.attribute"/>
    14671503    <xsl:apply-templates mode="perl"/>
    14681504    <xsl:text>&#160;</xsl:text>
     
    14721508<xsl:template match="initializer" mode="perl">
    14731509  <span>
    1474     <xsl:apply-templates select="." mode="class.attribute"/>
     1510    <xsl:apply-templates select="." mode="common.html.attributes"/>
     1511    <xsl:call-template name="id.attribute"/>
    14751512    <xsl:text>=&#160;</xsl:text>
    14761513    <xsl:apply-templates mode="perl"/>
     
    14801517<xsl:template match="void" mode="perl">
    14811518  <span>
    1482     <xsl:apply-templates select="." mode="class.attribute"/>
     1519    <xsl:apply-templates select="." mode="common.html.attributes"/>
     1520    <xsl:call-template name="id.attribute"/>
    14831521    <xsl:text>void&#160;</xsl:text>
    14841522  </span>
     
    14871525<xsl:template match="methodname" mode="perl">
    14881526  <span>
    1489     <xsl:apply-templates select="." mode="class.attribute"/>
     1527    <xsl:apply-templates select="." mode="common.html.attributes"/>
     1528    <xsl:call-template name="id.attribute"/>
    14901529    <xsl:apply-templates mode="perl"/>
    14911530  </span>
     
    14971536  </xsl:if>
    14981537  <span>
    1499     <xsl:apply-templates select="." mode="class.attribute"/>
     1538    <xsl:apply-templates select="." mode="common.html.attributes"/>
     1539    <xsl:call-template name="id.attribute"/>
    15001540    <xsl:apply-templates mode="perl"/>
    15011541  </span>
     
    15041544<xsl:template match="parameter" mode="perl">
    15051545  <span>
    1506     <xsl:apply-templates select="." mode="class.attribute"/>
     1546    <xsl:apply-templates select="." mode="common.html.attributes"/>
     1547    <xsl:call-template name="id.attribute"/>
    15071548    <xsl:apply-templates mode="perl"/>
    15081549  </span>
     
    15151556
    15161557  <code>
    1517     <xsl:apply-templates select="." mode="class.attribute"/>
     1558    <xsl:apply-templates select="." mode="common.html.attributes"/>
     1559    <xsl:call-template name="id.attribute"/>
    15181560    <xsl:text>sub </xsl:text>
    15191561
     
    15221564  </code>
    15231565  <xsl:call-template name="synop-break"/>
     1566</xsl:template>
     1567
     1568<!-- Used when not occurring as a child of classsynopsis -->
     1569<xsl:template match="ooclass|oointerface|ooexception">
     1570  <xsl:apply-templates/>
    15241571</xsl:template>
    15251572
     
    15491596</xsl:template>
    15501597
     1598<xsl:template match="link|olink|xref" mode="ansi-nontabular">
     1599  <xsl:apply-templates select="."/>
     1600</xsl:template>
     1601
     1602<xsl:template match="link|olink|xref" mode="ansi-tabular">
     1603  <xsl:apply-templates select="."/>
     1604</xsl:template>
     1605
     1606<xsl:template match="link|olink|xref" mode="kr-nontabular">
     1607  <xsl:apply-templates select="."/>
     1608</xsl:template>
     1609
     1610<xsl:template match="link|olink|xref" mode="kr-tabular">
     1611  <xsl:apply-templates select="."/>
     1612</xsl:template>
     1613
    15511614</xsl:stylesheet>
Note: See TracChangeset for help on using the changeset viewer.