# HG changeset patch
# User paulb
# Date 1128300737 0
# Node ID f902076fa4d790f93b9443b20cff501b63c9a578
# Parent 7f8662a8c821607d0c9b3a6bb3b0d9379a03a157
[project @ 2005-10-03 00:52:17 by paulb]
Changed schema and input stylesheet preparation to use the "macro"
attributes, rather than the lower-level attributes - this means that
non-collection elements can be detected and added in the initialisation
process more easily, although this relies on template:selector-field
attributes specifying added elements through a newly added additional
parameter (eg. "add,item").
Introduced better multiple-choice element support.
diff -r 7f8662a8c821 -r f902076fa4d7 XSLForms/XSL/Input.xsl
--- a/XSLForms/XSL/Input.xsl Mon Oct 03 00:49:15 2005 +0000
+++ b/XSLForms/XSL/Input.xsl Mon Oct 03 00:52:17 2005 +0000
@@ -44,7 +44,6 @@
- false
@@ -57,64 +56,77 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
-
-
-
- true
-
-
-
-
- true
-
-
-
+
+
+
-
+
+
+
+
-
-
+
+
+
+
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
+
+
+
@@ -127,6 +139,11 @@
+
+
+ 1
+
+
diff -r 7f8662a8c821 -r f902076fa4d7 XSLForms/XSL/PrepareMacro.xsl
--- a/XSLForms/XSL/PrepareMacro.xsl Mon Oct 03 00:49:15 2005 +0000
+++ b/XSLForms/XSL/PrepareMacro.xsl Mon Oct 03 00:52:17 2005 +0000
@@ -5,6 +5,8 @@
+
+
@@ -16,6 +18,20 @@
+
+
+
+
+
+
+
+ {template:this-attribute()}
+
+
+
+
+
+
@@ -30,16 +46,28 @@
+
+
-
+
+
- ={template:this-element()}
+
+
+ ={template:this-element()}
+
+
+ ={template:this-element()}
+
+
+
+
@@ -52,6 +80,25 @@
+
+
+
+
+
+
+
+
+
+
+
+ {template:list-attribute('',
+ '')}
+
+
+
+
+
+
@@ -69,6 +116,25 @@
+
+
+
+
+
+
+
+
+
+
+
+ @value-is-set
+
+ @
+ {@}
+
+
+
+
diff -r 7f8662a8c821 -r f902076fa4d7 XSLForms/XSL/Schema.xsl
--- a/XSLForms/XSL/Schema.xsl Mon Oct 03 00:49:15 2005 +0000
+++ b/XSLForms/XSL/Schema.xsl Mon Oct 03 00:52:17 2005 +0000
@@ -10,10 +10,8 @@
-
-
@@ -50,9 +48,6 @@
-
-
-
@@ -70,7 +65,7 @@
-
+
@@ -81,16 +76,92 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ @ = ../@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ @value-is-set
+
+ value-is-set
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-