You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Chris P. McCabe" <ch...@choicehotels.com> on 2000/03/31 17:20:27 UTC

Re: how to code a space in a XSL stylsheet

Use &#160; instead.


Benoit Fouche wrote:

> Hi !
> Can someone told me how to code a space in a XSL stylsheet ? (to transform
> XML to basic HTML...)
>
> I tried this:
>
> <xsl:for-each select="menu">
>     titre:&nbsp;<xsl:value-of select="@title"/>
> </xsl:for-each>
>
> but my DOM (Micro$oft parser) objet is crashing (error '80070057'  wrong
> parameter Default.asp, line 12 )
>
> and that:
>
> <xsl:for-each select="menu">
>     titre:&amp;&nbsp;<xsl:value-of select="@title"/>
> </xsl:for-each>
>
> but it gave me that:    titre:&nbsp;Menu1
>
> What can I do so ?
> thanks for help...

--
Chris P. McCabe  602-953-4416
Choice Hotels International  chris_mccabe@choicehotels.com