You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Stefano Andreani <s_...@mail.com> on 2000/07/08 18:18:31 UTC

How to force a whitespace in output?

I need to force a whitespace in output between two xsl tag. With LotusXsl
0.17.3 I successfully used the this code:

         <xsl:value-of select="LASTNAME"/>
         <![CDATA[ ]]>
         <xsl:value-of select="FIRSTNAME"/>

but using xalan 1.0.1 the space between lastname and firstname
disappeared.

Please help me!

Thanks,
Stefano.




Re: How to force a whitespace in output?

Posted by Brian Hüttner <ti...@Informatik.Uni-Bremen.DE>.
Hey,

what about
	<xsl:text> </xsl:text>
?

Best regards
Brian

Stefano Andreani schrieb:
> 
> I need to force a whitespace in output between two xsl tag. With LotusXsl
> 0.17.3 I successfully used the this code:
> 
>          <xsl:value-of select="LASTNAME"/>
>          <![CDATA[ ]]>
>          <xsl:value-of select="FIRSTNAME"/>
> 
> but using xalan 1.0.1 the space between lastname and firstname
> disappeared.
> 
> Please help me!
> 
> Thanks,
> Stefano.

-- 
+--------------------------------------------------------+
| Brian Hüttner                   University of Bremen   |
| tim@informatik.uni-bremen.de    FB3 - Computer Science |
+--------------------------------------------------------+