This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

 


From the xsl, I want to print out  
My XSL code has lots of   that needs to be printed out as is.
I can do this by replacing each   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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]