Subject: Re: Selecting a set of nodes
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 5 Feb 2001 17:51:28 GMT
|
<xsl:template match="d">
<xsl:for-each select="c[sum(preceding-sibling::c/@size-c|@size-c) <=
current()/@size-d]">
<xsl:value-of select="@id"/>
</xsl:for-each>
</xsl:template>
David
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet delivered
through the MessageLabs Virus Control Centre. For further information visit
http://www.star.net.uk/stats.asp
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|