]> git.sesse.net Git - xml-template/blob - python/attribute-empty.py
fed55b5f6513e0fa498749c1491f38738bf4cf66
[xml-template] / python / attribute-empty.py
1 #! /usr/bin/python
2 import xmltemplate
3
4 doc = xmltemplate.process_file("../xml/clone.xml", {
5         "color": "blue",
6         "#things": []
7 });
8 print doc.toxml()