Hi Matthias,

you can find several XSL:FO samples using a tag like <br/> to specify line
breaks, using the template
...
 <xsl:template match="br">
   <fo:block/>
 </xsl:template>
...
For detailed information see
http://www.biglist.com/lists/xsl-list/archives/200202/msg01290.html

MM

$> -----Urspr�ngliche Nachricht-----
$> Von: Matthias Brunner [mailto:[EMAIL PROTECTED] 
$> Gesendet: Montag, 14. April 2003 10:37
$> An: [EMAIL PROTECTED]
$> Betreff: Manual line breaks
$> 
$> 
$> Hello!
$> 
$> In a perfect XML world content is always separatable from 
$> presentation. Unfortunately, there are cases (at least in 
$> publishing) when this is simply not possible. For example, we need 
$> to provide the possibility to insert manual breaks into text 
$> (especially titles).
$> 
$> Web research tells me that whitespace-treatment="preserve" is a 
$> solution to this, yet unimplemented by FOP.
$> The only workaround I have found so far is to sorround the position 
$> at which the line should be broken with non-break spaces.
$> (Example: this&#xA0;is&#xA0;a&#xA0;test <!-- intended break position 
$> --> this&#xA0;is&#xA0;a&#xA0;test.)
$> 
$> Has anyone found a better solution to this?
$> 
$> Cheers,
$> Matthias Brunner
$> 
$> ---------------------------------------------------------------------
$> To unsubscribe, e-mail: [EMAIL PROTECTED]
$> For additional commands, e-mail: [EMAIL PROTECTED]
$> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to