xsl-list
[Top] [All Lists]

Using   in XSL HTML Output

2005-02-20 05:55:59
Hi all,

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

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"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
  
  <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>
  </xsl:template>
  
</xsl:stylesheet>

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



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>