result-encoding in XT 19990725

Subject: result-encoding in XT 19990725
From: vidarg@xxxxxx (Vidar B. Gundersen)
Date: 26 Jul 1999 09:37:03 +0200
: James Clark
> An XT release that implements the 19990709 version of the XSLT WD is now
> available.  See

Using the stylesheet below, result-encoding does
not work the way I expect: Still UTF-8 output.


<?xml version="1.0"?>
<!DOCTYPE xsl:stylesheet SYSTEM "xslt-19990709.dtd">
<xsl:stylesheet
		default-space="preserve"
		indent-result="no"
		xmlns:xsl="http://www.w3.org/XSL/Transform/1.0";
		result-encoding="iso-8859-1"
>
<!--
Strip XML specification in XSL.
An empty stylesheet will strip all tags from an XML document.

Output encoding is covered by a new feature in
the XSL Transformations (XSLT) Draft of 1999-07-09.
It is specified by the attribute
                result-encoding="iso-8859-1"
SAXON has a proprietary solution to the same problem.
                saxon:format="TEXT"
-->
</xsl:stylesheet>


-- 
Vidar Bronken Gundersen


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread