space in XSLT

Here should go questions about transforming XML with XSLT and FOP.
Posts: 2

space in XSLT

Tue Feb 08, 2005 4:06 pm

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:
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.
Posts: 5336

Is this what you're looking for?

Wed Feb 09, 2005 10:05 am

That's the "escaped" version of the space character:

Code: Select all


Return to “XSLT and FOP”

Who is online

Users browsing this forum: No registered users and 0 guests