[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
I am currently running transformations on xml/xsl files with the markup
<?xml version="1.0" encoding="UTF-8"?> at the top. I have also added
<xsl:output method="html" encoding="UTF-8"/> to the xsl file. I am using vbscript transformation code:
set objXml = Server.CreateObject("MSXML2.FreeThreadedDOMDocument")
objXml.async = false
objXml.load(Server.MapPath(srcXml))
I cannot however get the correct output on the site. The output for, for example, urdu (سشيب شسييبي يبيب ثيب) or japanese (亜sdfdfせr) comes out as ??????, etc.
The text in xmlSpy looks okay.
Is this something to do with the utf reference, or am I using the wrong object declaration?
Any help would be appreciated, cheers.
Kate
_________________________________________________________________
Surf the Web without missing calls! Get MSN Broadband. http://resourcecenter.msn.com/access/plans/freeactivation.asp
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
[xsl] msxml encoding for multi-language sites
Subject: [xsl] msxml encoding for multi-language sites From: "katharine wykes" <katharinewykes@xxxxxxxxxxx> Date: Fri, 01 Nov 2002 16:02:36 +0000 |
I am currently running transformations on xml/xsl files with the markup
<?xml version="1.0" encoding="UTF-8"?> at the top. I have also added
<xsl:output method="html" encoding="UTF-8"/> to the xsl file. I am using vbscript transformation code:
set objXml = Server.CreateObject("MSXML2.FreeThreadedDOMDocument")
objXml.async = false
objXml.load(Server.MapPath(srcXml))
set objXsl = Server.CreateObject("MSXML2.FreeThreadedDOMDocument") objXsl.async = false objXsl.load(Server.MapPath(srcXsl))
'add parameters to the xsl Set objXSLTemplate = Server.CreateObject("MSXML2.XSLTemplate") Set objXSLTemplate.stylesheet = objXsl Set prXSLT = objXSLTemplate.createProcessor
prXSLT.input = objXml prXSLT.addParameter "sv", Session("sv") prXSLT.Transform xslTransform = prXSLT.output
I cannot however get the correct output on the site. The output for, for example, urdu (سشيب شسييبي يبيب ثيب) or japanese (亜sdfdfせr) comes out as ??????, etc.
The text in xmlSpy looks okay.
Is this something to do with the utf reference, or am I using the wrong object declaration?
Any help would be appreciated, cheers.
Kate
_________________________________________________________________
Surf the Web without missing calls! Get MSN Broadband. http://resourcecenter.msn.com/access/plans/freeactivation.asp
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Delete XML Node, Wendell Piez | Thread | Re: [xsl] Re: Saravega?, Ritu |
RE: [xsl] Delete XML Node, Deepak Rao | Date | RE: [xsl] Delete XML Node, Wendell Piez |
Month |
Keywords