Re: [xsl] Connecting the Source and Destination fields

Subject: Re: [xsl] Connecting the Source and Destination fields
From: "Andrew Welch" <andrew.j.welch@xxxxxxxxx>
Date: Mon, 20 Aug 2007 10:10:49 +0100
On 8/20/07, Ronan Klyne <ronan.klyne@xxxxxxxxxxx> wrote:
> Out of curiosity, how would your solution change if we couldn't
> guarantee that event.0 would be first? I couldn't express that
> particularly elegantly either...

Just make it a parameter...

<xsl:apply-templates select="key('conn-by-source', $startEvent)"/>

-- 
http://andrewjwelch.com

Current Thread