xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon Burton" <apa...@codlord.com>
Subject Re: Forcing Whitespace
Date Wed, 30 Nov 2005 15:45:11 GMT
Putting a space between <xsl:text> tags does add a single char of whitespace - do you
mean you want several chars of whitespace between them?

You can add white-space-collapse="false" to your block tags, but not sure if this will do
what you want, if you want more white space you may need to add some non breaking space references
(&nbsp;) but they have to be outside of <xsl:text> tags.

----- Start Original Message -----
From: Ail Sahin <ali@as-support.com>
To: fop-users@xmlgraphics.apache.org
Subject: Forcing Whitespace

> Hi there,
> 
> I have following block
> 
> "<fo:block break-before="page" font-size="8pt"  font-weight="normal" 
> space-before="3cm">
>                     <xsl:value-of select="sender/title"/><xsl:text> 
> </xsl:text>
>                     <xsl:value-of select="sender/name1"/><xsl:text> 
> </xsl:text>
>                     <xsl:value-of select="sender/name2"/><xsl:text> 
> </xsl:text>
>                     <xsl:value-of select="sender/name3"/><xsl:text> 
> </xsl:text>
>                     <xsl:value-of select="sender/postbox"/><xsl:text> 
> </xsl:text>
>                     <xsl:value-of select="sender/street"/><xsl:text> 
> </xsl:text>
>                     <xsl:value-of select="sender/state"/><xsl:text> 
> </xsl:text>
>                     <xsl:value-of select="sender/country"/><xsl:text> 
> </xsl:text>
>                     <xsl:value-of select="sender/postalcode"/><xsl:text>

> </xsl:text>
>                     <xsl:value-of 
> select="sender/city"/><fo:block/><xsl:text> </xsl:text>
>                     <fo:leader leader-pattern="rule" />
> </fo:block>"
> 
> I'd like to have some whitespaces between each "<xsl:value-of>"
> 
> How to manage this?
> 
> Greets
> Ali
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
> 
> 

----- End Original Message -----

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message