chameleon.html is a free Python based tool that implements a template compiler for dynamic HTML documents. In particular, chameleon.html supports the XSS rule language which is used to associate elements with dynamic content.
The XSS rule language uses a CSS-compliant syntax to let you match HTML
elements using CSS selectors and set up dynamic content definitions.
NOTE: chameleon.html is licensed and provided under the terms of the BSD License.