W3C home > Mailing lists > Public > xsl-editors@w3.org > January to March 2001

RE: Can the rule to generate META HTTP-EQUIV be relaxed

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>
Message-ID: <001101c090fe$95608ec0$0ed6b0c2@oemcomputer>
> 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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:52 GMT