Template Attribute Language

The Template Attribute Language (TAL) is a templating language used to generate dynamic HTML and XML documents. It is designed to facilitate a clear separation between presentation and application logic, thereby supporting collaboration between designers and programmers. This is achieved by expressing template logic through attributes defined in an XML namespace, which are added to otherwise valid HTML or XML elements. By using structured attributes rather than arbitrary embedded code, templates remain well-formed documents that can be viewed and edited with standard XML or HTML authoring systems.

TAL was created for Zope but is used in other Python-based projects as well.