I have this xsl:
<xsl:key name="ve-by-firstocc" match="viewentry"
use="substring(entrydata[3]/text,1,1)" />
<xsl:template match="viewentries">
**<xsl:for-each select="viewentry[count(. | key('ve-by-firstocc',
substring(entrydata[3]/text,1,1))[1]) = 1]">**
<xsl:for-each select="key('ve-by-firstocc',
substring(entrydata[3]/text,1,1))">
<xsl:sort select="entrydata[3]/text" data-type="text" order="ascending"/>
<xsl:variable name="ThisDocURL" select="@unid"/>
</xsl:for-each>
</xsl:for-each>
</xsl:template>
**does anyone know an exact interpretation of this statement?
Does it go through viewentries which have dont have repeat key values?
_________________________________________________________________
Tired of 56k? Get a FREE BT Broadband connection
http://www.msn.co.uk/specials/btbroadband
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list