[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: 𡁀 coming out as ?

Subject: RE: 𡁀 coming out as ?
From: Randy Belknap <randy.belknap@xxxxxxxxxxx>
Date: Fri, 8 Mar 2002 16:54:09 -0800
randy belknap
>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>&#21040;<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: &#21040; <xsl:value-of select
=\"greeting\"/>" +
		 "</xsl:template></xsl:stylesheet>";

	var style = new ActiveXObject("Microsoft.XMLDOM" );
	style.loadXML(style_data);

	var xml_data = "<greeting>Randy &#21040; </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>&#21040;<br>
	Hello: ? Randy ?
</body>
</html>


==== What I am hoping to get ====
<html>
<body>
<p>&#21040;<br>
	Hello: &#21040; Randy &#21040;
</body>
</html>

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.