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