Subject: RE: How to display an XML as Excel sheet in a web browser
From: <Jarno.Elovirta@xxxxxxxxx>
Date: Wed, 17 Nov 2004 11:10:02 +0200
|
Hi,
> Using pure HTML, I can do <meta http-equiv="content-type"
> content="application/vnd.ms-excel" /> and the HTML table is
> shown as an Excel spreadsheet.
In IE is, I quess.
> I have an XSL that I want to achieve the same, but that meta
> tag doesn't work. When I see the HTML source, I see <META
> http-equiv="Content-Type" content="text/html;
> charset=UTF-16"> before mine.
You're using "html" output method? See
<http://www.w3.org/TR/xslt#section-HTML-Output-Method>. See your processors
documentation if it allows you to disable adding the meta element.
Cheers,
Jarno
|