[xep-support] blanks in fo:block
Nikolai Grigoriev
grig at renderx.com
Wed Jan 16 10:30:45 PST 2002
Laurent,
> <fo:block>
> <xsl:value-of select="./first_name"/> <xsl:value-of
> select="./last_name"/>
> </fo:block>
>
> between the 2 xsl:value-of's I would like to put a blank but after
> rendering, the blank is lost..
The behaviour is correct. According to the XSLT spec, p. 3.4
"Whitespace Stripping", your XSLT processor should suppress
this space in the transformation phase. Have you checked
if the blank is present in the FO file?
To repair, wrap your required space into <xsl:text> to protect it
from stripping, like this:
<fo:block>
<xsl:value-of select="./first_name"/>
<xsl:text> </xsl:text>
<xsl:value-of select="./last_name"/>
</fo:block>
If it does not work, please let me know.
Regards,
Nikolai Grigoriev
RenderX
-------------------
By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html
More information about the Xep-support
mailing list