- From: Michael Kay <mhkay@iclway.co.uk>
- Date: Wed, 7 Feb 2001 12:07:45 -0000
- To: "'Yusuf Goolamabbas'" <yusufg@outblaze.com>, <xsl-editors@w3.org>
> Something like the following might also be appropiate
>
> <xsl:param name="enc" select="'iso-8859-1'"/>
> <xsl:output encoding="$enc" />
>
In the current draft of XSLT 1.1, the attributes of xsl:output can be
attribute value templates, allowing you to write encoding="{$enc}".
Also, note that the TrAX API (implemented in Xalan and Saxon) allows you set
the output properties from the calling application, overriding those in the
stylesheet.
Mike Kay
Received on Wednesday, 7 February 2001 07:05:48 UTC