xsl-list
[Top] [All Lists]

RE: [xsl] Connecting the Source and Destination fields

2007-08-20 03:02:30
In 
<xsl:apply-templates select="key('conn-by-source', $startEvent)"/>

How will I know the start Event? 

Start Event (Source) has to be chosen in such a way that it is not present
in the destination of any Connection! And then it has to proceed with the
remaining things...

Isn't it? 


-----Original Message-----
From: Andrew Welch [mailto:andrew(_dot_)j(_dot_)welch(_at_)gmail(_dot_)com] 
Sent: Monday, August 20, 2007 2:41 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] Connecting the Source and Destination fields

On 8/20/07, Ronan Klyne <ronan(_dot_)klyne(_at_)groupbc(_dot_)com> 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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>