# HG changeset patch # User paulb # Date 1128354512 0 # Node ID 6f534bceeeaf32a438656b37c2c2b2b916732a91 # Parent 5c65b83d5d31781a76a9c5506e312d3fbf039f31 [project @ 2005-10-03 15:48:32 by paulb] Added an effect "parameter" to template:attribute-area in order to set the underlying template:effect and template:value attributes. Fixed the template:attribute-button expression generation, adding a value "parameter" to the attribute. Changed the template:multiple-choice-field and template:multiple-choice-list-field attributes to support "-" as the element name, thus keeping the field within the current element. diff -r 5c65b83d5d31 -r 6f534bceeeaf XSLForms/XSL/PrepareMacro.xsl --- a/XSLForms/XSL/PrepareMacro.xsl Mon Oct 03 00:54:19 2005 +0000 +++ b/XSLForms/XSL/PrepareMacro.xsl Mon Oct 03 15:48:32 2005 +0000 @@ -21,10 +21,23 @@ + + - - - + + + + + + + + $this-value + + + + + + {template:this-attribute()} @@ -34,14 +47,17 @@ - + + + - $this-value != '' + $this-value = '' {template:this-attribute()} + @@ -74,7 +90,9 @@ - + + + {template:new-attribute('')} @@ -90,7 +108,9 @@ - + + + {template:list-attribute('', '')} diff -r 5c65b83d5d31 -r 6f534bceeeaf XSLForms/XSL/Schema.xsl --- a/XSLForms/XSL/Schema.xsl Mon Oct 03 00:54:19 2005 +0000 +++ b/XSLForms/XSL/Schema.xsl Mon Oct 03 15:48:32 2005 +0000 @@ -108,28 +108,50 @@ - - - - - - - - - + + + + + + + + + + + + + + multiple-choice + + + + + + - - - - - - - - - - - + + + + + + + + + + + + + + + + multiple-choice-list + + + + + +