From 22cfabe0daa0d46b80ee235b71b2b611a0ca7212 Mon Sep 17 00:00:00 2001 From: "sgunderson@bigfoot.com" <> Date: Thu, 1 Mar 2007 14:36:15 +0100 Subject: [PATCH] Add python/structure tests, passes. --- python/structure.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 python/structure.py diff --git a/python/structure.py b/python/structure.py new file mode 100644 index 0000000..519ec6f --- /dev/null +++ b/python/structure.py @@ -0,0 +1,11 @@ +#! /usr/bin/python +import xmltemplate + +doc = xmltemplate.process_file("../xml/structure.xml", { + '#outer': [ + { '#inner': 'One' }, + { '#inner': 'Two' }, + { '#inner': 'Three' }, + ] +}) +print doc.toxml() -- 2.39.2