Jump to content

Replacing Html Line Break To Fo:block


MrRobse

Recommended Posts

Hello,let's say there is the following structure:

<element>Row 1 <br /> Row 2</element>

Which actually represents this:

<element>Row 1 <br/> Row 2</element>

How can I replace this line break with an fo:block element. I've already tried the following:

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

However, the line break seems to be treated as normal text in <element>. Is there any way to replace this?Robert

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...