Subject: Re: variable declaration
From: Joerg Heinicke <joerg.heinicke@xxxxxx>
Date: Mon, 18 Nov 2002 18:23:12 +0100
|
However, if this is all there is to this portion of your transform, why use
variables at all? Why not just give:
<xsl:for-each
select="key('schedTimes',xalan:nodeset($new-schedule)/schedule/myschedule[no
t(myschedID = preceding-sibling::myschedule/myschedID)]/myschedID)">
<xsl:call-template name="end-time-format">
<xsl:with-param name="endtime-param" select="time"/>
</xsl:call-template>
</xsl:for-each>
That's also wrong.
xalan:nodeset($new-schedule)/schedule/myschedule[not(myschedID =
preceding-sibling::myschedule/myschedID)]/myschedID
can return many elements, on which Laura wants to iterate. In the above
code, only the first of the elements is used.
Joerg
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|
Joerg Heinicke - Mon, 18 Nov 2002 12:18:37 -0500 (EST) <=
Martinez, Brian - Mon, 18 Nov 2002 11:47:55 -0500 (EST)
Stuart Brown - Mon, 18 Nov 2002 12:00:47 -0500 (EST)
|
|