X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=python%2Fclone.py;h=134cdb596df48ac614a1ee2c49ade111e042fb59;hb=c1d4dfa5fe43d3e229cd90a18975fbf4df120f50;hp=65e9519b05e4fb611a15e91a73fbe3c6ea897c9c;hpb=e5976d9f22b2579cf679ab8aeba79fd107c9b48a;p=xml-template diff --git a/python/clone.py b/python/clone.py index 65e9519..134cdb5 100644 --- a/python/clone.py +++ b/python/clone.py @@ -3,11 +3,11 @@ import xmltemplate doc = xmltemplate.process_file("../xml/clone.xml", { 'color': 'blue', - '#things': ( + '#things': [ { 'li': 'Raindrops on roses' }, { 'li': 'Whiskers on kittens' }, { 'li': 'Bright copper kettles' }, { 'li': 'Warm, woolen mittens' } - ) + ] }) print doc.toxml()