xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary L Peskin <ga...@firstech.com>
Subject Re: getting rid of META tag in HTML output
Date Fri, 08 Jun 2001 16:13:00 GMT
Hi, Dietrich --

I'd like to take this discussion over to the Xalan list since it is

There is currently no way to omit the META tag from being generated. 
For now, you'll have to see why JEditorPane doesn't like it and possibly
fool around with the charset encoding or something.  You might to fool
around with some of the other xsl:output attributes as well.

I'd like to implement a xalan:omit-meta-tag attribute which would take a
value of "yes" or something else.  If the value of the attribute is
"yes", the meta tag would be omitted entirely.

Could you please add this as an enhancement request to bugzilla if it's
not there already and I'll have a look.


Dietrich Schulten wrote:
> Hi,
> It turned out that JEditorPane stumbles upon the META tag that is
> generated by xalan-j 2.
> While this might be a problem with my use of JEditorPane, can I get rid
> of the META tag at all?
> I'm transforming to HTML using xalan-j 2 and receive a META tag
> <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
> Here's the beginning of my stylesheet:
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
>                 xmlns:Clouseau=
>                   "http://www.system-entwicklung.de/catalog/clouseau"
>                 version="1.0"
>                 exclude-result-prefixes="Clouseau"
> >
> <xsl:output method="html" encoding="ISO-8859-1"
> omit-xml-declaration="yes" />
> Without xsl:output I get a different META tag, IIRC with an UTF-8
> charset.
> Greetings
> Dietrich

In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
For additional commands, e-mail: general-help@xml.apache.org

View raw message