Subject: Re: How to get using IE5?
From: "min zheng" <zmin@xxxxxxxxxx>
Date: Sat, 27 Mar 1999 16:00:58 -0800
|
Figured out how to do it:
In IE5, there is a <xsl:entity-ref ...> element (it's not documented, unless
I overlooked some part. It's at least not listed in the XSL elements
section). I accidentally found it from one of MS examples.
----- Original Message -----
From: min zheng <zmin@xxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxx>
Sent: Saturday, March 27, 1999 2:42 PM
Subject: How to get using IE5?
> In IE5, without support of <xsl:text>, how can I get (or other
> entity references) in my result tree?
>
> I tried several ways but none of them worked:
>
> 1. directly use " " (the way MS XSL output literal text):
> XML parser complain undifined entity
>
> 2. put "&nbsp;":
> I got "&nbsp;" but not " " (looks like the XML parser take &
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 " "), or
> &nbsp; (if returns "&nbsp;"). Basically, the same as 1, 2
>
> 5. <![CDATA[ ]]>:
> I got &nbsp;
>
> Any other ways?
>
> Min
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|