1<?xml version="1.0"?> 2<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 3 xmlns:xt="http://www.jclark.com/xt" 4 extension-element-prefixes="xt" 5 version="1.0"> 6 7<xsl:import href="/html/xtchunk.xsl"/> 8<xsl:include href="htmlhelp-common.xsl"/> 9 10<xsl:template name="write.text.chunk"> 11 <xsl:param name="filename" select="''"/> 12 <xsl:param name="method" select="'html'"/> 13 <xsl:param name="content" select="''"/> 14 <xsl:param name="encoding" select="'iso-8859-1'"/> 15 16 <!-- XT bug, if method is an AVT, it doesn't work --> 17 <!-- encoding doesn't work as an AVT either --> 18 <xt:document method="text" href="{$filename}" encoding="iso-8859-1"> 19 <xsl:copy-of select="$content"/> 20 </xt:document> 21</xsl:template> 22 23</xsl:stylesheet> 24