[xsl] Using   in XSL HTML Output

Subject: [xsl] Using   in XSL HTML Output
From: "Adam J Knight" <adam@xxxxxxxxxxxxxxxxx>
Date: Sun, 20 Feb 2005 22:55:59 +1000
Hi all,

I am trying to using the &nbsp; html character in the HTML output of my
xsl file. Have tried a couple of options including the options below with no

Would appreciate some insight on how to use these characters in xsl???

<?xml version="1.0"?>
<!DOCTYPE xsl:stylesheet [ <!ENTITY nbsp '&#xA0;'>]>

<xsl:stylesheet version="1.1"

  <xsl:output method="html" indent="yes"/>

  <xsl:template match="/">
    <p>Test Space</b>&nbsp;&nbsp;<p>Test Space</p>
    <p>Test Space Two</p>&#xA0;&#xA0;<p>Test Space Two</p>
    <p>Test Space Three</p>&#160;&#160;<p>Test Space Three</p>


NB: "Pray as if everything depended upon God and work as if everything
depended upon man."

Current Thread