You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Isabelle Lussier <il...@logisil.com> on 2000/02/03 17:20:07 UTC

whitespace

I would like for the output to have a whitespace between the value of this two elements: first-name and last-name

<fo:block> 
     <xsl:value-of select="first-name"/>  <xsl:value-of select="last-name"/> 
</fo:block>


How can I do that?  I've tried <xsl:value-of select="#x20"/> or <xsl:value-of select=" "/> but nothing is working. 


I know it's probably simple but wright now I didn't find a way to do it yet.  Could someone help me?



Re: whitespace

Posted by Xavier Maysonnave <x....@goaltech.com>.

Did you try to put something like :

<xsl:text> </xsl:text>

tell me what's happen

Re: whitespace

Posted by michael gruber <gr...@msg.de>.
try:<fo:block>     <xsl:value-of select="first-name"/>  <xsl:text>
</xsl:text>
     <xsl:value-of select="last-name"/></fo:block>

and have a look at the spec...

m