Re: [xsl] How to split mixed content

Subject: Re: [xsl] How to split mixed content
From: Jesper Tverskov <jesper.tverskov@xxxxxxxxx>
Date: Sun, 15 Feb 2009 14:06:29 +0100
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

Current Thread