This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: How can I avoid generating META tag of html?
- From: "Michael Kay" <michael dot h dot kay at ntlworld dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Thu, 20 Dec 2001 14:07:33 -0000
- Subject: RE: [xsl] How can I avoid generating META tag of html?
- Reply-to: xsl-list at lists dot mulberrytech dot com
> I want to avoid generating
>
> <META http-equiv="Content-Type" content="text/html; charset=Cp1251">
>
> by transformer in html output.
>
> Is there any transformer-independent solution, or I should use
> something like this for xalan:
>
> <xsl:output method="html" encoding="Cp1251"
> xalan:omit-meta-tag="yes"/>
>
There is no standard solution in XSLT 1.0. I don't know about Xalan, but
Saxon does have an extension attribute like the one above.
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list