Skip to main content
Help us improve Python packaging – donate today!

Document Templating Markup Language (DTML)

Project Description

Document Templating Markup Language

This package implements the Document Templating Markup Language (DTML). It uses custom SGML tags to implement simple programmatic feratures, such as variable replacement, conditional logic and loops.

DTML was the first templating language developed for Zope 2 and is still preferred by some over newer templating solutions due to its speed and simplicity.

CHANGES

3.4.3 (2011-10-31)

  • LP #267820: Fix broken multi-exception ‘except:’ clause.
  • Removed use of ‘zope.testing.doctestunit’ in favor of stdlib’s doctest.
  • Simpler, faster implementation of dt_var.newline_to_br(). (It still uses HTML 4 style <br> tags rather than XHTML style.)

3.4.2 (2008/10/10)

  • Re-release 3.4.1

3.4.1 (2008/10/10)

  • Fixed usage of ‘with’ as a variable name. It is now a keyword in Python 2.6, causing a SyntaxError. zope.documenttemplate now supports Python 2.6.

3.4.0 (2007/10/02)

  • zope.documenttemplate now supports Python 2.5

3.2.0 (2006/01/05)

  • Corresponds to the verison of the zope.documenttemplate package shipped as part of the Zope 3.2.0 release.
  • ‘dt_in.py’: replaced another string exception, ‘InError’.
  • Coding style cleanups.

3.1.0 (2005/10/03)

  • Corresponds to the verison of the zope.documenttemplate package shipped as part of the Zope 3.1.0 release.
  • documenttemplate.py: Replace use of named string exception, ParseError, with normal exception class of the same name (from dt_util.py).

3.0.0 (2004/11/07)

  • Corresponds to the verison of the zope.documenttemplate package shipped as part of the Zope X3.0.0 release.

Release history Release notifications

This version
History Node

3.4.3

History Node

3.4.2

History Node

3.4.1

History Node

3.4.0

History Node

3.4dev-r73112

History Node

3.4dev

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
zope.documenttemplate-3.4.3.tar.gz (37.1 kB) Copy SHA256 hash SHA256 Source None Oct 31, 2011

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page