# HG changeset patch # User paulb # Date 1128366590 0 # Node ID 52f32e74b0a23af5d38dae94af10946900e0351a # Parent 6f534bceeeaf32a438656b37c2c2b2b916732a91 [project @ 2005-10-03 19:09:50 by paulb] Added a type "parameter" to template:multiple-choice-field to distinguish between new and existing attributes. Attempted to improve/correct enumeration handling in the Input stylesheet preparation, adding specially named variables and propagating paths into template rules and generated enumeration code. diff -r 6f534bceeeaf -r 52f32e74b0a2 XSLForms/XSL/Input.xsl --- a/XSLForms/XSL/Input.xsl Mon Oct 03 15:48:32 2005 +0000 +++ b/XSLForms/XSL/Input.xsl Mon Oct 03 19:09:50 2005 +0000 @@ -75,18 +75,15 @@ - - - - - - + + + @@ -111,6 +108,7 @@ + @@ -122,7 +120,9 @@ - + + + @@ -136,11 +136,18 @@ + + + + + + + - + 1 diff -r 6f534bceeeaf -r 52f32e74b0a2 XSLForms/XSL/PrepareMacro.xsl --- a/XSLForms/XSL/PrepareMacro.xsl Mon Oct 03 15:48:32 2005 +0000 +++ b/XSLForms/XSL/PrepareMacro.xsl Mon Oct 03 19:09:50 2005 +0000 @@ -86,14 +86,28 @@ - + + + - {template:new-attribute('')} + + + {template:new-attribute('')} + + + + {template:this-attribute()} + + + + {template:this-attribute()} + +