Subject: RE: variable declaration
From: "Martinez, Brian" <brian.martinez@xxxxxxxx>
Date: Mon, 18 Nov 2002 09:47:51 -0700
|
> From: Stuart Brown [mailto:sbrown@xxxxxxxxxxx]
> Sent: Monday, November 18, 2002 9:31 AM
> Subject: RE: 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.martinez@xxxxxxxx |
| 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
| 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)
|
|