linefeed

Hi!

There seems to be many ways to change "<br>" into a xsl-fo linebreak,
but what if there are two of it? 
For example "text1<br><br>text2" into

text1

text2

<xsl:template match="br">
<fo:block>
<fo:character character = '&#x2028;' />
<!-- or <xsl:text>&#xA;</xsl:text>-->
</fo:block>
</xsl:template>

generates

text1
text2

<xsl:template match="br">
<fo:block>
<fo:leader/>
</fo:block>
</xsl:template>

generates always two linefeeds even when there is only one <br>!

Thank you, Torsten 

Received on Tuesday, 10 May 2005 15:07:08 UTC