xsl-list
[Top] [All Lists]

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

2009-07-05 10:42:09

Jumping on this track....
Has anyone every written an fop transformer in xsl 1.0 out there which will 
transform all (most) of the formatting in an html document , essentially 
converting it to a pdf?
THAT would really be a great help.

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





--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--