Entwine is a Python implementation of Zope Page Templates with it's own lexer/parser for a subset of XML (it only cares about the structure of your document, and the syntax of your tags).
Entwine is licensed under the GNU General Public License, and is copyright © 2003 Sune Kirkeby.
The subversion repository is dead and buried, and I haven't had time to convert it into git, so Entwine i off-line until forther notice.