The Python xmlite module is an extremely light weight XML parser and
printer. It does not use the DOM or SAX interfaces but instead works with
simple nested lists to represent an XML document.
The aim is to develop a framework to translate UIML (User Interface Markup Language) description of UI into a number of plaforms (wxPython, HTML, etc.).
Dynamic and "static" (into a program) rendering implied.