|
Subject: Re: [xsl] Re: Xsl for each group issue in streaming mode From: "Martin Honnen martin.honnen@xxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Tue, 23 Aug 2016 16:37:22 -0000 |
Posted this on saxon list yesterday. Not sure if my post was successful.. so posting it here.. in case people in this list want to test and check..
<xsl:template match="Groups" mode="stream">
<xsl:copy>
<xsl:for-each-group select="Group/copy-of(.)"
group-by="Group_Detail/GroupIdentifier">
<xsl:variable name="GroupDetail" select="Group_Detail/copy-of(.)"/>
<xsl:variable name="groupId" select="$GroupDetail/GroupIdentifier"/>
<Formatted-Group groupId="{$groupId}">
<xsl:copy-of select="current-group()/specifics"/>
</Formatted-Group>
</xsl:for-each-group>
</xsl:copy>
</xsl:template>
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] Re: Xsl for each group issue , Mailing Lists Mail d | Thread | [xsl] XSLT Streaming - How to consu, Mailing Lists Mail d |
| [xsl] Re: Xsl for each group issue , Mailing Lists Mail d | Date | [xsl] XSLT Streaming - How to consu, Mailing Lists Mail d |
| Month |