Experimenting with some Python metaprogramming for xml/html creation.