[xsl] nbsp (in parameter) question

Subject: [xsl] nbsp (in parameter) question
From: Jitu <jibhatia@xxxxxxxxxxx>
Date: Wed, 04 Dec 2002 14:18:40 +0530
I am passing a parameter to a xsl stylesheet which outputs HTML. This param is simply printed by the stylesheet.

The problem is that the data i am passing to this param is something like this

UserName : XYZ nbsp;nbsp;nbsp;nbsp; Company Name : ZZZ

That whole String is one parameter, and i want it to be printed out like this :

UserName : XYZ Company Name : ZZZ

Note, that it must be printed with spaces in between.

I know i can replace nbsp; with &#160; while passing the parameter data.
But this is not working. The output i get in that case is :

UserName : XYZ &#160;&#160;&#160; Company Name : ZZZ

The conversion of &#160; to a space is not happening.

How can i achieve what i want ?

Thanks



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


Current Thread