Re: [xslt] xsl and white space ??



On Mercredi 13 Juin 2001 10:21, you wrote :
> I'm trying to insert a white space using xsl.
>
> <xsl:stylesheet ....>
> ....
>    <td>&#160;</td>
> ...
>
> I know, &#160; is equal to &nbsp;
> But, using xsltproc, result is
>    <td></td>
>
> why ??
> [fj)b	blij)z&{+
>Ybا~

If you just want a white space, then 
<xsl:text> </xsl:text>
is enough.
If you want to output &nbsp; then consider
<![CDATA[&nbsp;]]>

Hope this helps,
Renaud




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]