[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
RE: [xsl] 𡁀 coming out as ?
Subject: RE: [xsl] 𡁀 coming out as ? From: Randy Belknap <randy.belknap@xxxxxxxxxxx> Date: Fri, 8 Mar 2002 16:54:09 -0800 |
>Post a code sample of how you are creating the document and invoking the transformer I created the simplified index.asp page shown below to reproduce the problem. Below that is the result I get when I run the page and look at the html source. Below that is what I was hoping to get. Thanks! Randy ==== index.asp ====== <%@ Language=JScript %> <html> <body> <p>到<br> <% var style_data = "<?xml version=\"1.0\"?>" + "<xsl:stylesheet xmlns:xsl=\"http://www.w3.org/TR/WD-xsl\" language=\"JScript\">" + "<xsl:template match=\"/\">" + " Hello: 到 <xsl:value-of select =\"greeting\"/>" + "</xsl:template></xsl:stylesheet>"; var style = new ActiveXObject("Microsoft.XMLDOM" ); style.loadXML(style_data); var xml_data = "<greeting>Randy 到 </greeting>"; var xml = new ActiveXObject( "Microsoft.XMLDOM" ); xml.loadXML(xml_data); Response.Write( xml.transformNode(style) ); %> </body> </html> ==== Result (from view source) ==== <html> <body> <p>到<br> Hello: ? Randy ? </body> </html> ==== What I am hoping to get ==== <html> <body> <p>到<br> Hello: 到 Randy 到 </body> </html> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] 𡁀 coming out as ?, Randy Belknap | Thread | RE: [xsl] 𡁀 coming out as ?, Julian Reschke |
Re: [xsl] 𡁀 coming out as ?, David Carlisle | Date | [xsl] Date Range Search XML using X, na na |
Month |
Keywords