Ignore:
Timestamp:
09/09/2007 08:55:14 AM (17 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
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, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 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:
d4ce7bec
Parents:
e747759
Message:

Merged r8368 from new-xsl branch.

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

File:
1 edited

Legend:

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

    re747759 rc1fe047a  
    2424    <xsl:apply-templates select="." mode="class.attribute"/>
    2525    <p>
    26       <xsl:call-template name="anchor">
    27         <xsl:with-param name="conditional" select="0"/>
    28       </xsl:call-template>
     26      <xsl:if test="..//processing-instruction('dbcmdlist')">
     27        <!-- * Placing a dbcmdlist PI as a child of a particular element -->
     28        <!-- * creates a hyperlinked list of all cmdsynopsis instances -->
     29        <!-- * that are descendants of that element; so for any -->
     30        <!-- * cmdsynopsis that is a descendant of an element containing -->
     31        <!-- * a dbcmdlist PI, we need to output an a@id instance so that -->
     32        <!-- * we will have something to link to -->
     33        <xsl:call-template name="anchor">
     34          <xsl:with-param name="conditional" select="0"/>
     35        </xsl:call-template>
     36      </xsl:if>
    2937      <xsl:apply-templates/>
    3038    </p>
     
    156164
    157165<xsl:template match="funcsynopsis">
     166  <xsl:if test="..//processing-instruction('dbfunclist')">
     167    <!-- * Placing a dbfunclist PI as a child of a particular element -->
     168    <!-- * creates a hyperlinked list of all funcsynopsis instances that -->
     169    <!-- * are descendants of that element; so for any funcsynopsis that is -->
     170    <!-- * a descendant of an element containing a dbfunclist PI, we need -->
     171    <!-- * to output an a@id instance so that we will have something to -->
     172    <!-- * link to -->
     173    <xsl:call-template name="anchor">
     174      <xsl:with-param name="conditional" select="0"/>
     175    </xsl:call-template>
     176  </xsl:if>
    158177  <xsl:call-template name="informal.object"/>
    159178</xsl:template>
Note: See TracChangeset for help on using the changeset viewer.