Subject: RE: [xsl] Can grouping here the solution ? From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Mon, 21 Nov 2011 12:52:02 -0500 |
You can do something like
<xsl:for-each group select="display-articles/section/entry" group-by="concat(substring(datum/text(), 1,7), '/', page/text())">
<!-- this way you group on unique combinations of e.g. strings like '2005-02/1' -->
</xsl:for-each>
Robby
-- Contact us for world-wide XML consulting and instructor-led training Free 5-hour video lecture: XSLT/XPath 1.0 & 2.0 http://ude.my/t37DVX Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Google+ profile: https://plus.google.com/116832879756988317389/about Legal business disclaimers: http://www.CraneSoftwrights.com/legal
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Can grouping here the sol, Robby Pelssers | Thread | RE: [xsl] Can grouping here the sol, Robby Pelssers |
RE: [xsl] Can grouping here the sol, Roelof Wobben | Date | RE: [xsl] Can grouping here the sol, Roelof Wobben |
Month |