Subject: RE: [xsl] 𡁀 coming out as ? From: Randy Belknap <randy.belknap@xxxxxxxxxxx> Date: Mon, 11 Mar 2002 12:46:47 -0800 |
>Use > xml.transformNodeToObject(style, Response); I used this command and got a different result listed below, but still not what I was looking for. The two '到's that go through the transformer come out as 'OR' and are displayed as 'OR' no matter what encoding I select. In addition, I get the a strange character pair before the ' Hello' that I seems to be coming out of nowhere. (As before the '到' that does not go through the transformer does correctly display as a chinese character.) Thanks, Randy =====New Result===== <html> <body> <p>到<br> ÿþ H e l l o : 0R R a n d y 0R </body> </html> =====New Source===== <%@ 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); xml.transformNodeToObject(style, Response); %> </body> </html> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] 𡁀 coming out as ?, Julian Reschke | Thread | RE: [xsl] 𡁀 coming out as ?, Julian Reschke |
[xsl] Parameter-Controlled Selectio, W. Eliot Kimber | Date | RE: [xsl] 𡁀 coming out as ?, Julian Reschke |
Month |