From: Stuart Brown [mailto:sbrown(_at_)extenza(_dot_)com]
Sent: Monday, November 18, 2002 9:31 AM
Subject: RE: [xsl] variable declaration
Firstly, you can't use the <xsl:variable> element as a direct child of
<xsl:for-each>: it can only be used as a child of <xsl:stylesheet> or
<xsl:template>.
Eh? I'm not aware of any such restriction. The variable is only in scope
within the for-each block, of course, and xsl:sort must appear before any
other child elements, but it is perfectly legal to use xsl:variable within
xsl:for-each.
b.
| brian martinez
brian(_dot_)martinez(_at_)trip(_dot_)com |
| senior gui programmer 303.708.7248 |
| trip network, inc. fax 303.790.9350 |
| 6436 s. racine cir. englewood, co 80111 |
| http://www.cheaptickets.com/ http://www.trip.com/ |
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list