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

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
nbsp amp
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

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.