Ignore:
Timestamp:
05/01/2006 09:18:28 AM (18 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
b3949ca3
Parents:
3932f297
Message:

Prevent creation of dummy HTML files.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@5986 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • stylesheets/blfs-chunked1.xsl

    r3932f297 rb04da2c  
    3232  <xsl:include href="xhtml/lfs-navigational.xsl"/>
    3333
     34  <!-- Prevent creation of dummy files -->
     35  <xsl:template match="sect1|sect2|sect3|sect4|sect5|section">
     36    <xsl:variable name="ischunk">
     37      <xsl:call-template name="chunk"/>
     38    </xsl:variable>
     39    <xsl:choose>
     40      <xsl:when test="@role = 'dummy'"/>
     41      <xsl:when test="not(parent::*)">
     42        <xsl:call-template name="process-chunk-element"/>
     43      </xsl:when>
     44      <xsl:when test="$ischunk = 0">
     45        <xsl:apply-imports/>
     46      </xsl:when>
     47      <xsl:otherwise>
     48        <xsl:call-template name="process-chunk-element"/>
     49      </xsl:otherwise>
     50    </xsl:choose>
     51  </xsl:template>
     52
    3453</xsl:stylesheet>
Note: See TracChangeset for help on using the changeset viewer.