RE: [xsl] <META>-Tag

Subject: RE: [xsl] <META>-Tag
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Thu, 5 Aug 2004 08:47:06 +0100
> can anybody tell me where the <META http-equiv="Content-Type" 
> content="text/html; charset=UTF-8"> tag is comming from?

XSLT 1.0 specifies that the processor must insert this element when the HTML
output method is used. The encoding will be whatever you specified on
xsl:output (and will always match the actual encoding of the file). 

XSLT 2.0 allows you to suppress this with a new xsl:output option.

Michael Kay

> 
> It is in my output HTML file. But I do not have it in my XSL 
> nor in my 
> XML file. The servlet where the transformer is called does not have 
> anything like that also..
> 
> I think it is placed there automaticaly, but how can I get 
> rid of it? Or 
> change it into ISO-8859-1?
> 
> I'm using xalan-j 2.6.0.
> 
> Thanks,
> Roman Koschel.

Current Thread