Subject: Re: [xsl] Retrieving sequence of unique strings from another sequence From: Andrew Welch <andrew.j.welch@xxxxxxxxx> Date: Wed, 6 Jan 2010 10:19:58 +0000 |
> <xsl:for-each-group select="$list" group-by="."> > <xsl:sequence select="current-group()[last()=1]"/> > </xsl:for-each-group> If you wanted to avoid using last()* you could rewrite that as select="current-group()[not(current-group()[2])]" *http://markmail.org/message/nvi7pcfopz4jyzm7 -- Andrew Welch http://andrewjwelch.com Kernow: http://kernowforsaxon.sf.net/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Retrieving sequence of un, Michael Kay | Thread | Re: [xsl] Retrieving sequence of un, G. Ken Holman |
Re: [xsl] Modern web site design wi, Andrew Welch | Date | Re: [xsl] Modern web site design wi, Eric J. Bowman |
Month |