Subject: Re: [xsl] Need to get lowest and highest date values From: David Carlisle <davidc@xxxxxxxxx> Date: Wed, 12 Oct 2005 22:16:46 +0100 |
<xsl:for-each select="*"> <xsl:sort select="substring-before(.,'-')"/> <xsl:if test="position()=1"><xsl:value-of select="substring-before(.,'-')"/></xsl:if> </xsl:for-each>-<xsl:for-each select="*"> <xsl:sort select="substring-after(.,'-')"/> <xsl:if test="position()=last()"><xsl:value-of select="substring-after(.,'-')"/></xsl:if> </xsl:for-each> David ________________________________________________________________________ This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Need to get lowest and highes, watchstone@xxxxxxxxx | Thread | [xsl] Getting the text node, aaron apigo |
RE: [xsl] Opinions, please. Keep en, Nathan Young \(natyo | Date | Re: [xsl] Opinions, please. Keep en, JBryant |
Month |