Page 1 of 1

space in XSLT

Posted: Tue Feb 08, 2005 4:06 pm
by gantichi
I use to show XML files using XSLT stylesheets. To do this, at the begin I used the instruction
<?xml-stylesheet type="text/xsl" href="http://www.......xslt"?>
To mantain "spaces" in the result, I used &#160; (corresponding to &nbsp; in HTNL).
Now I have to merge the XML and XSLT files al server level, using in ASP the instruction:
Response.Write(objXML.transformNode(objXSL))
All works fine, but the character corresponding to &#160; is "?".
What is the code to use, to show spaces in a resulting page?
Hoping to be clear, and hoping someone can help.
Tnx
Gianfranco

Is this what you're looking for?

Posted: Wed Feb 09, 2005 10:05 am
by Radu
That's the "escaped" version of the space character:

Code: Select all

&#32;