doc = xmltemplate.process_file("../xml/clone.xml", {
"color": "blue",
- "#things": xmltemplate.alternate("li/class", (
+ "#things": xmltemplate.alternate("li/class", [
{ "li": "Raindrops on roses" },
{ "li": "Whiskers on kittens" },
{ "li": "Bright copper kettles" },
{ "li": "Warm, woolen mittens"},
- ), "odd", "even")
+ ], "odd", "even")
});
print doc.toxml()