Jump to content

Replacing Html Line Break To Fo:block


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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...