xsl-list
[Top] [All Lists]

RE: How to display an XML as Excel sheet in a web browser

2004-11-17 02:10:02
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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>