Re: [xsl] Elegant way to create an empty line

Subject: Re: [xsl] Elegant way to create an empty line
From: COUTHURES Alain <alain.couthures@xxxxxxxxxxxxx>
Date: Sun, 05 Jul 2009 15:11:12 +0200
Hi Jan,

Don't you need a specific template with match="p[not(node())]" priority="1"

Cheers,

Alain Couthures
<agenceXML>
http://www.agencexml.com
Hi,
is there an elegant way to create empty lines using block elements?

My template is quite simple:

<xsl:template match="p">
  <fo:block>
     <xsl:apply-templates/>
  </fo:block>
</xsl:template>

How do I tell FO to create a new line for each <p/>?
Cheers
Jan

Current Thread