How to get   using IE5?

Subject: How to get   using IE5?
From: "min zheng" <zmin@xxxxxxxxxx>
Date: Sat, 27 Mar 1999 14:42:22 -0800
In IE5, without support of  <xsl:text>, how can I get &nbsp; (or other
entity references) in my result tree?

 I tried several ways but none of them worked:

1. directly use "&nbsp;" (the way MS XSL output literal text):
XML parser complain undifined entity

2. put "&amp;nbsp;":
I got "&amp;nbsp;" but not "&nbsp;" (looks like the XML parser take &amp; as
an entity but XSL tool take it as literal text).

3. define an entity to get around XML parser:
 I cann't because I don't have a DTD.

4. use <xsl:script> and <xsl:eval>:
I got either parsing error (if  the function returns "&nbsp;"), or
&amp;nbsp; (if returns "&amp;nbsp;"). Basically, the same as 1, 2

5. <![CDATA[&nbsp;]]>:
I got &amp;nbsp;

Any other ways?

Min


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


Current Thread