]> git.sesse.net Git - xml-template/blob - python/namespace2.py
Add Python 3 support.
[xml-template] / python / namespace2.py
1 #! /usr/bin/python
2 import xmltemplate
3
4 doc = xmltemplate.process_file("../xml/namespace2.xml", {
5         'title': 'Namespace tests',
6         '#hello': 'Replaced.'
7 })
8 print(doc.toxml())