1.1 --- a/XSLForms/XSL/Input.xsl Tue Oct 04 23:38:14 2005 +0000
1.2 +++ b/XSLForms/XSL/Input.xsl Tue Oct 04 23:39:42 2005 +0000
1.3 @@ -153,9 +153,11 @@
1.4
1.5 <!-- Store multiple-choice selections, if appropriate. -->
1.6 <xsl:if test="../@type='multiple-choice-list'">
1.7 - <axsl:variable name="values-{@name}" select="{$path}/@{../attribute/@name}"/>
1.8 + <!-- NOTE: It is assumed here that ../attribute/@name (if it exists) == attribute/@name. -->
1.9 + <axsl:variable name="values-{@name}" select="{$path}/@{attribute/@name}"/>
1.10 </xsl:if>
1.11
1.12 + <!-- Select inside the enumeration source, inside an element with the field's name, the enumeration elements. -->
1.13 <axsl:for-each select="${../@name}/{../@name}/{@name}">
1.14 <axsl:copy>
1.15 <axsl:apply-templates select="@*"/>