[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: xsl:for-each-group and identity transform

Subject: Re: xsl:for-each-group and identity transform
From: Owen Rees <owen.rees@xxxxxx>
Date: Fri, 23 Jan 2009 15:14:19 +0000
Re:  xsl:for-each-group and identity transform
--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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.