Re: [xsl] Building a partial reference list

Subject: Re: [xsl] Building a partial reference list
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 8 Oct 2001 13:48:57 +0100
easiest is something like (assuming citationList is current node)

<xsl:for-each select="citation[@id=//cite/@id]">
 <xsl:sort select="."/>

that invokes // quite alot so it could be optimised using a key

<xsl:key name="cite" match="cite" use="@id"/>

<xsl:for-each select="citation[key('cite',@id)]">

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread