summaryrefslogtreecommitdiff
path: root/xhtml/chunker.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'xhtml/chunker.xsl')
-rw-r--r--xhtml/chunker.xsl10
1 files changed, 5 insertions, 5 deletions
diff --git a/xhtml/chunker.xsl b/xhtml/chunker.xsl
index e102bd6..625ef84 100644
--- a/xhtml/chunker.xsl
+++ b/xhtml/chunker.xsl
@@ -4,7 +4,7 @@
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:saxon="http://icl.com/saxon" xmlns:lxslt="http://xml.apache.org/xslt" xmlns:redirect="http://xml.apache.org/xalan/redirect" xmlns:exsl="http://exslt.org/common" xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" xmlns="http://www.w3.org/1999/xhtml" version="1.0" exclude-result-prefixes="saxon lxslt redirect exsl doc" extension-element-prefixes="saxon redirect lxslt exsl">
<!-- ********************************************************************
- $Id: chunker.xsl 9147 2011-11-12 00:05:44Z bobstayton $
+ $Id: chunker.xsl 9656 2012-10-29 18:09:53Z bobstayton $
********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
@@ -55,13 +55,13 @@
<!-- put Saxon first to work around a bug in libxslt -->
<xsl:when test="element-available('saxon:output')">
<!-- Saxon doesn't make the chunks relative -->
- <xsl:value-of select="concat($chunk.base.dir,$base.name)"/>
+ <xsl:value-of select="concat($base.dir,$base.name)"/>
</xsl:when>
<xsl:when test="element-available('exsl:document')">
<!-- EXSL document does make the chunks relative, I think -->
<xsl:choose>
<xsl:when test="count(parent::*) = 0">
- <xsl:value-of select="concat($chunk.base.dir,$base.name)"/>
+ <xsl:value-of select="concat($base.dir,$base.name)"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$base.name"/>
@@ -70,7 +70,7 @@
</xsl:when>
<xsl:when test="element-available('redirect:write')">
<!-- Xalan doesn't make the chunks relative -->
- <xsl:value-of select="concat($chunk.base.dir,$base.name)"/>
+ <xsl:value-of select="concat($base.dir,$base.name)"/>
</xsl:when>
<xsl:otherwise>
<xsl:message terminate="yes">
@@ -301,7 +301,7 @@
<xsl:with-param name="method" select="$method"/>
<xsl:with-param name="encoding" select="$encoding"/>
<xsl:with-param name="indent" select="'no'"/>
- <xsl:with-param name="omit-xml-declaration" select="'no'"/>
+ <xsl:with-param name="omit-xml-declaration" select="'yes'"/>
<xsl:with-param name="standalone" select="'no'"/>
<xsl:with-param name="doctype-public"/>
<xsl:with-param name="doctype-system"/>