xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ail Sahin <...@as-support.com>
Subject Re: RE : Forcing Whitespace
Date Wed, 30 Nov 2005 16:03:52 GMT
EXT / FOCAL VANDEPUTTE Brice schrieb:

>>Tried but got following error message: "The entity "nbsp" was 
>>referenced, but not declared."
>>    
>>
>
>Yep try "&#160;" instead of "&nbsp;"
>
>Brice
>  
>
Thanks Brice, thanks Simon.
I got it with "&#xA0".

Thanks a lot for your help. ^^

BR...
Ali

>-----Message d'origine-----
>De : Ail Sahin [mailto:ali@as-support.com] 
>Envoyé : mercredi 30 novembre 2005 16:59
>À : fop-users@xmlgraphics.apache.org
>Objet : Re: Forcing Whitespace
>
>Simon Burton schrieb:
>
>  
>
>>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?
>> 
>>
>>    
>>
>That does not work.
>
>I'd like the address to be
>"Prename Surname  Address  Postalcode  City" in one single line.
>
>But my sheet version does sth. like
>
>"PrenameSurnameAddressPostalcodeCity" in one single line.
>
>  
>
>>You can add white-space-collapse="false" to your block tags
>>
>>    
>>
>Already tried. Without success.
>
>  
>
>>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.
>> 
>>
>>    
>>
>Tried but got following error message: "The entity "nbsp" was 
>referenced, but not declared."
>
>  
>
>>----- 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
>>
>>
>>
>> 
>>
>>    
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
>For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
>For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
>
>
>  
>


---------------------------------------------------------------------
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