You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by pa...@apache.org on 2001/02/20 21:20:15 UTC
cvs commit: xml-xalan/c/Tests Tests.dsw
pauldick 01/02/20 12:20:15
Modified: c/Tests Tests.dsw
Log:
Added Harness dependency
Revision Changes Path
1.2 +3 -0 xml-xalan/c/Tests/Tests.dsw
Index: Tests.dsw
===================================================================
RCS file: /home/cvs/xml-xalan/c/Tests/Tests.dsw,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- Tests.dsw 2001/01/09 20:29:48 1.1
+++ Tests.dsw 2001/02/20 20:20:14 1.2
@@ -23,6 +23,9 @@
Package=<4>
{{{
+ Begin Project Dependency
+ Project_Dep_Name Harness
+ End Project Dependency
}}}
###############################################################################
Re: setting the charset for output using a DOM
Posted by Gary L Peskin <ga...@firstech.com>.
August Gresens wrote:
>
> We have a servlet side app that is using Xalan to generate html
> output from a DOM.
>
> Within the stylesheets, we are formatting the output using by setting
> the output method to "html". By default, the processor inserts a meta
> tag in the html document that defines the character set of the page.
> Now we are getting a tag that looks like this:
>
> <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
>
> Due to problems with certain browsers - we need to change the value
> of the charset attribute. When processing static XML this done by
> using a processing instruction. But how is this done when the output
> is generated from a DOM?
Per XSLT 1.0, section 16.2, try:
<xsl:output method="html" encoding="your-desired-encoding"/>
Gary
setting the charset for output using a DOM
Posted by August Gresens <au...@blackhammer.com>.
We have a servlet side app that is using Xalan to generate html
output from a DOM.
Within the stylesheets, we are formatting the output using by setting
the output method to "html". By default, the processor inserts a meta
tag in the html document that defines the character set of the page.
Now we are getting a tag that looks like this:
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
Due to problems with certain browsers - we need to change the value
of the charset attribute. When processing static XML this done by
using a processing instruction. But how is this done when the output
is generated from a DOM?
Thanks,
August
--
/////////////////////////
August Gresens
Black Hammer Productions
august@blackhammer.com
212 625-8980 ext 21
/////////////////////////