Subject: RE: [xsl] Unique entries from substrings From: "Aron Bock" <aronbock@xxxxxxxxxxx> Date: Mon, 27 Jun 2005 03:46:16 +0000 |
<REPORT_ACCESS> <REPORTS> <REPORT> <!-- not unique in list --> <DATE>07/08/2005</DATE> </REPORT> <REPORT> <!-- unique --> <DATE>05/08/2005</DATE> </REPORT> <REPORT> <!-- not unique in list --> <DATE>07/08/2005</DATE> </REPORT> <REPORT> <!-- unique 05-2005--> <DATE>05/09/2005</DATE> </REPORT> <REPORT> <!-- unique 07-2005--> <DATE>07/09/2005</DATE> </REPORT> </REPORTS> </REPORT_ACCESS>
<xsl:template match="DATE[generate-id(.) = generate-id( key('kDates', concat(substring(., 1, 2), substring(., 7)))[1]) ]"> <xsl:value-of select="concat(substring(., 1, 2), substring(., 7))"/> <xsl:text>
</xsl:text> </xsl:template>
<?xml version="1.0" encoding="UTF-8"?> 072005 052005
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Unique entries from substring, Andreas Guther | Thread | RE: [xsl] Unique entries from subst, Andreas Guther |
[xsl] select distinct, -= jay =- | Date | Re: [xsl] select distinct, omprakash . v |
Month |