You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Joerg Pietschmann <jo...@zkb.ch> on 2002/02/01 13:06:35 UTC
Re: white-space
> I need white space between fields, how do I do that?
...
> <xsl:value-of select="city" />, <!--I NEED A WHITE SPACE HERE-->
> <xsl:value-of select="state" /> <!--I NEED WHITE SPACE
The canonical solution is to use xsl:text
<xsl:value-of select="city" />
<xsl:text>, </xsl:text>
<xsl:value-of select="state" />
<xsl:text> </xsl:text>
<xsl:value-of select="zipcode" />
This is actually a XSLT questio, not directly related to FOP.
Read the XSLT spec http://www.w3.org/TR/xslt or any of the good
books for more about whitespace handling during an XSL transformation.
XSLFO has some specialities as well.
HTH
J.Pietschmann
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org