Subject:  
From: "xsl list" <xsl_list@xxxxxxxxxxx>
Date: Thu, 20 Jul 2000 11:36:32 EDT
From the xsl, I want to print out &nbsp;
My XSL code has lots of &nbsp; that needs to be printed out as is.
I can do this by replacing each &nbsp; with:
<xsl:text disable-output-escaping="yes"><![CDATA[&nbsp;]]></xsl:text>

Is there a better way to do this? Can I define the entity nbsp in a way that will generate &nbsp; when &nbsp; is encountered in the XSL?

The following did not work:
<!ENTITY nbsp "&nbsp;">
or
<!ENTITY nbsp "&amp;nbsp;"> (this will generate: &amp;nbsp;)
or
<!ENTITY nbsp "<xsl:text disable-output-escaping='yes'><![CDATA[&nbsp;]]></xsl:text>">


Thaks

________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com


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



Current Thread
  • &nbsp;
    • xsl list - Thu, 20 Jul 2000 11:36:32 EDT <=
      • <Possible follow-ups>
      • xsl list - Thu, 20 Jul 2000 13:13:48 EDT