Subject: Re: string-length select="preceding-sibling::ROW[entered_formatted_day=$currentFruit]" is too slow From: Mark Sproule <msproule@xxxxxxxxxxxxx> Date: Mon, 3 Apr 2000 13:25:33 -0600 |
What about: <xsl:for-each select="ROW"> <xsl:sort select="entered_formatted_data"> <xsl:variable name="currow"><xsl:value-of select="entered_formatted_data"></xsl:variable> <xsl:if test="not(position() = 1) and not(ROW[position() - 1] = $currow)"> <h2><xsl:value-of select="entered_formatted_data"/></h2> </xsl:if> ... row data ... </xsl:for-each> Haven't tested it but I think it would work. You can do without the sort if the rows are in date order. ... Mark
<<application/ms-tnef>>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
XML Technology Updates, ssdhanoa | Thread | efficient filtering of XML files., Narahari, Sateesh |
RE: dumb question:, Narahari, Sateesh | Date | RE: XML to WML, Rainer Kerl |
Month |