Subject: Re: [xsl] IE error | Switch from current encoding to specified encoding not supported. From: Abel Braaksma <abel.online@xxxxxxxxx> Date: Wed, 03 Oct 2007 19:34:18 +0200 |
// enable document function and scripting XsltSettings xsltSettings = new XsltSettings(true, true);
Cheers, -- Abel Braaksma
Steve,
If you are using ASP then you will need to add a replace function.
Below is a snip of some code we use.
Set XSLTemp = Server.CreateObject(MSXML2.XSLTemplate.3.0) Set XSLTemp.stylesheet = XSLDoc 'variable set higher up in page e.g. c:\myfiles\myxsl.xsl Set XSLProc = XSLTemp.createProcessor XSLProc.input = XMLDoc 'variable set higher up in page e.g. c:\myfiles\myxsl.xml XSLProc.addParameter "MyParam", "MyParamValue" XSLProc.transform Response.Charset = "ISO-8859-15"
Response.Write Replace(XSLProc.output, "UTF-16", "ISO-8859-15")
If you want UTF-8 replace ISO-8859-15 (Latin 1 extended) with UTF-8
William Charlton The yMonda team yMonda Limited w: www.ymonda.net
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] IE error | Switch from cu, Abel Braaksma | Thread | Re: [xsl] IE error | Switch from cu, Steve |
RE: [xsl] IE error | Switch from cu, W Charlton | Date | Re: [xsl] IE error | Switch from cu, Steve |
Month |