]> git.sesse.net Git - xml-template/commitdiff
Fix even more silly errors in attribute.py. attribute.py passes!
authorsgunderson@bigfoot.com <>
Wed, 6 Sep 2006 15:58:26 +0000 (17:58 +0200)
committersgunderson@bigfoot.com <>
Wed, 6 Sep 2006 15:58:26 +0000 (17:58 +0200)
python/attribute.py

index 61014a78da768d3fe3895e7cc8c83c477e6ef5fb..19d60769a24776c137b55fe4111af36f494edc2a 100644 (file)
@@ -4,10 +4,10 @@ import xmltemplate
 doc = xmltemplate.process_file("../xml/clone.xml", {
        'color': 'red',
        '#things': [
-               { "li": "Raindrops on roses",    "li/class": "even" },
-               { "li": "Whiskers on kittens",   "li/class": "odd" },
-               { "li": "Bright copper kettles", "li/class": "even" },
-               { "li": "Warm, woolen mittens",  "li/class": "odd" }
+               { "li": "Raindrops on roses",    "li/class": "odd" },
+               { "li": "Whiskers on kittens",   "li/class": "even" },
+               { "li": "Bright copper kettles", "li/class": "odd" },
+               { "li": "Warm, woolen mittens",  "li/class": "even" }
        ]
 })
 print doc.toxml()