xhtml stylesheets are auto-generated from Slide html ones, which
import the DocBook html stylesheets. So, need to transform the
"/html/" in the xsl:import to "/xhtml/".
exclude-result-prefixes="exsl"
version="1.0">
+<xsl:include href="http://docbook.sourceforge.net/release/xsl/current/lib/lib.xsl"/>
<xsl:output method="xml" encoding="US-ASCII"/>
<xsl:preserve-space elements="*"/>
</xsl:copy>
</xsl:template>
+<xsl:template match="xsl:import">
+ <xsl:copy>
+ <xsl:attribute name="href">
+ <xsl:call-template name="string.subst">
+ <xsl:with-param name="string" select="@href"/>
+ <xsl:with-param name="target">/html/</xsl:with-param>
+ <xsl:with-param name="replacement">/xhtml/</xsl:with-param>
+ </xsl:call-template>
+ </xsl:attribute>
+ </xsl:copy>
+</xsl:template>
+
<xsl:template match="xsl:param[@name='stylesheet.result.type']">
<xsl:copy>
<xsl:copy-of select="@*"/>