This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Building a partial reference list
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] Building a partial reference list
- From: David Carlisle <davidc at nag dot co dot uk>
- Date: Mon, 8 Oct 2001 13:48:57 +0100
- References: <5.1.0.14.2.20011008124205.0441ce68@pop.compuserve.com>
- Reply-To: xsl-list at lists dot mulberrytech dot com
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