Yes you can. Variable declared in a for-each loop take on the value at each iteration.
Also parameters take on the value using <xsl:with-param> and can be used as variables.
Suggest you understand what XSL(T) is. It is not C or Visual Basic. It's a template matching language for transforming XML.
It's like slagging off ANSI SQL for not having loops, if, variables and cursors. You don't need that tulip if you understand SQL and have the correct mindset.
Also parameters take on the value using <xsl:with-param> and can be used as variables.
Suggest you understand what XSL(T) is. It is not C or Visual Basic. It's a template matching language for transforming XML.
It's like slagging off ANSI SQL for not having loops, if, variables and cursors. You don't need that tulip if you understand SQL and have the correct mindset.

Comment