[xsl] Okay to build Keys on Variables

Subject: [xsl] Okay to build Keys on Variables
From: "Karl J. Stubsjoen" <karl@xxxxxxxxxxxxxxxxxxxx>
Date: Fri, 16 Jul 2004 10:41:13 -0700
Is it legal to create a key based on xml source coming from a variable?

So:
<xsl:variable name="TIMES" select="document('TIMES.xml')//TIMES"/>
<xsl:key name="kyTimes" match="$TIMES/TIME" use="@time_minutes" />

Karl

Current Thread