xsl-list
[Top] [All Lists]

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

2009-07-05 09:11:52
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

--~------------------------------------------------------------------
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>
--~--




--~------------------------------------------------------------------
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>
--~--