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/multilib, 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/html/chunker.xsl

    r09a35dd r15c7d39  
    66                xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
    77                version="1.0"
    8                 exclude-result-prefixes="doc"
     8                exclude-result-prefixes="saxon lxslt redirect exsl doc"
    99                extension-element-prefixes="saxon redirect lxslt exsl">
    1010
    1111<!-- ********************************************************************
    12      $Id$
     12     $Id: chunker.xsl 9656 2012-10-29 18:09:53Z bobstayton $
    1313     ********************************************************************
    1414
     
    3434<xsl:param name="chunker.output.media-type" select="''"/>
    3535<xsl:param name="chunker.output.cdata-section-elements" select="''"/>
    36 <xsl:param name="chunker.output.quiet" select="0"/>
     36
     37<!-- Make sure base.dir has a trailing slash now -->
     38<xsl:param name="chunk.base.dir">
     39  <xsl:choose>
     40    <xsl:when test="string-length($base.dir) = 0"></xsl:when>
     41    <!-- make sure to add trailing slash if omitted by user -->
     42    <xsl:when test="substring($base.dir, string-length($base.dir), 1) = '/'">
     43      <xsl:value-of select="$base.dir"/>
     44    </xsl:when>
     45    <xsl:otherwise>
     46      <xsl:value-of select="concat($base.dir, '/')"/>
     47    </xsl:otherwise>
     48  </xsl:choose>
     49</xsl:param>
    3750
    3851<xsl:param name="saxon.character.representation" select="'entity;decimal'"/>
     
    7689<xsl:template name="write.chunk">
    7790  <xsl:param name="filename" select="''"/>
    78   <xsl:param name="quiet" select="$chunker.output.quiet"/>
     91  <xsl:param name="quiet" select="$chunk.quietly"/>
    7992  <xsl:param name="suppress-context-node-name" select="0"/>
    8093  <xsl:param name="message-prolog"/>
     
    374387<xsl:template name="write.chunk.with.doctype">
    375388  <xsl:param name="filename" select="''"/>
    376   <xsl:param name="quiet" select="$chunker.output.quiet"/>
     389  <xsl:param name="quiet" select="$chunk.quietly"/>
    377390
    378391  <xsl:param name="method" select="$chunker.output.method"/>
     
    408421<xsl:template name="write.text.chunk">
    409422  <xsl:param name="filename" select="''"/>
    410   <xsl:param name="quiet" select="$chunker.output.quiet"/>
     423  <xsl:param name="quiet" select="$chunk.quietly"/>
    411424  <xsl:param name="suppress-context-node-name" select="0"/>
    412425  <xsl:param name="message-prolog"/>
     
    426439    <xsl:with-param name="encoding" select="$encoding"/>
    427440    <xsl:with-param name="indent" select="'no'"/>
    428     <xsl:with-param name="omit-xml-declaration" select="'no'"/>
     441    <xsl:with-param name="omit-xml-declaration" select="'yes'"/>
    429442    <xsl:with-param name="standalone" select="'no'"/>
    430443    <xsl:with-param name="doctype-public"/>
Note: See TracChangeset for help on using the changeset viewer.