[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
--On 23 January 2009 15:07 +0100 Jesper Tverskov wrote:
Change it to:
<xsl:template match="element()|comment()|processing-instruction()" mode="group">
<xsl:apply-templates select="current-group()"/>
</xsl:template>
Don't forget to add the default mode identity template and whatever other default mode templates you need to adjust the non-h elements.
Re: [xsl] xsl:for-each-group and identity transform
Subject: Re: [xsl] xsl:for-each-group and identity transform From: Owen Rees <owen.rees@xxxxxx> Date: Fri, 23 Jan 2009 15:14:19 +0000 |
--On 23 January 2009 15:07 +0100 Jesper Tverskov wrote:
But this (my) template works:
<xsl:template match="element()|comment()|processing-instruction()" mode="group"> <xsl:copy-of select="current-group()"/> </xsl:template>
Change it to:
<xsl:template match="element()|comment()|processing-instruction()" mode="group">
<xsl:apply-templates select="current-group()"/>
</xsl:template>
Don't forget to add the default mode identity template and whatever other default mode templates you need to adjust the non-h elements.
-- Owen Rees; speaking personally, and not on behalf of HP. ======================================================== Hewlett-Packard Limited. Registered No: 690597 England Registered Office: Cain Road, Bracknell, Berks RG12 1HN
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] xsl:for-each-group and id, David Carlisle | Thread | Re: [xsl] xsl:for-each-group and id, Jesper Tverskov |
Re: [xsl] xsl:for-each-group and id, David Carlisle | Date | [xsl] Passing a node related to the, Martynas Jusevicius |
Month |