You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xalan.apache.org by Gubics Béla <gu...@axelero.com> on 2002/02/08 17:39:37 UTC

without escaping

hi,

how can i write in a xsl file "&nbsp;" if i want it in the result
unescaped...

thanks

gbk

Re: without escaping

Posted by "Frank E. Weiss" <fr...@well.com>.
If the problem is that Xalan doesn't recognize the &nbsp; in your stylesheet, add this to the stylesheet right after the
xml declaration:

<!DOCTYPE xsl:stylesheet [
<!ENTITY nbsp '&#160;'>
]>

XSLT only has &gt; &lt; &amp; and &qout; built-in.