# HG changeset patch # User paulb # Date 1121899564 0 # Node ID 6f5d1e9a9e295776aee649352d5c799a11e778ed # Parent 1d945ee46a0dbd9c99a8113efa242ae812add4a1 [project @ 2005-07-20 22:46:00 by paulb] Added multivalue type field support. diff -r 1d945ee46a0d -r 6f5d1e9a9e29 examples/Common/VerySimple/Resources/structure_multivalue_template.xhtml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/examples/Common/VerySimple/Resources/structure_multivalue_template.xhtml Wed Jul 20 22:46:04 2005 +0000 @@ -0,0 +1,45 @@ + + + + + Example + + +
+ + + +
+

+ Some item: + +

+

+ Item type: + +

+

+ Itself containing more items: +

+

+ Sub-item: + +

+

+ +

+
+

+ +

+ + + +
+ + diff -r 1d945ee46a0d -r 6f5d1e9a9e29 examples/Common/VerySimple/Resources/structure_multivalue_types.xsl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/examples/Common/VerySimple/Resources/structure_multivalue_types.xsl Wed Jul 20 22:46:04 2005 +0000 @@ -0,0 +1,59 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + + + + + + + + + + + + + + diff -r 1d945ee46a0d -r 6f5d1e9a9e29 examples/Common/VerySimple/__init__.py --- a/examples/Common/VerySimple/__init__.py Wed Jul 20 17:59:53 2005 +0000 +++ b/examples/Common/VerySimple/__init__.py Wed Jul 20 22:46:04 2005 +0000 @@ -16,10 +16,12 @@ resource_dir = os.path.join(os.path.split(__file__)[0], "Resources") encoding = "utf-8" template_resources = { - "structure" : ("structure_template.xhtml", "structure_output.xsl") + #"structure" : ("structure_template.xhtml", "structure_output.xsl") + "structure" : ("structure_multivalue_template.xhtml", "structure_output.xsl") } transform_resources = { - "types" : ["structure_types.xsl"] + #"types" : ["structure_types.xsl"] + "types" : ["structure_multivalue_types.xsl"] } document_resources = { "types" : "structure_types.xml"