OK, thanks David
Updated template:
<xsl:template match="p">
<lines>
<xsl:for-each-group select="node()" group-starting-with="br">
<line><xsl:copy-of select="current-group() except
self::br"/></line>
</xsl:for-each-group>
</lines>
</xsl:template>
Cheers,
Jesper Tverskov
--~------------------------------------------------------------------
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>
--~--