--- /dev/null
+#! /usr/bin/python
+import xmltemplate
+
+doc = xmltemplate.process_file("../xml/namespace.xml", {
+ 'title': 'Namespace tests',
+ '#hello': 'Hello world!',
+ '#test': 'Replaced.',
+ 'tagname': 'foo',
+ '#moretest': 'bar'
+})
+print doc.toxml()