Subject: Re: [xsl] How to remove duplicate record from XML From: "Mukul Gandhi gandhi.mukul@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Fri, 30 Sep 2016 06:31:19 -0000 |
On 28 September 2016 at 18:38, Martin Honnen martin.honnen@xxxxxx < xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote: > On 28.09.2016 15:03, Rahul Singh rahulsinghindia15@xxxxxxxxx wrote: > >> <xsl:for-each-group select="Contact" group-by="id"> >> <xsl:sequence select="."/> >> </xsl:for-each-group> >> > > > Use > > <xsl:for-each-group select="Contact" group-by="id"> > <xsl:if test="count(current-group()) eq 1"> > <xsl:copy-of select="."/> > </xsl:if> > </xsl:for-each-group> > I like this one. +1 with best regards, Mukul gandhi
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] How to remove duplicate r, Martin Honnen martin | Thread | [xsl] Re: How to remove duplicate r, Rahul Singh rahulsin |
[xsl] Re: How to remove duplicate r, Rahul Singh rahulsin | Date | |
Month |