Skip to main content

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.

Project details


Download files

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

Source Distribution

zope.documenttemplate-3.4.3.tar.gz (37.1 kB view details)

Uploaded Source

File details

Details for the file zope.documenttemplate-3.4.3.tar.gz.

File metadata

File hashes

Hashes for zope.documenttemplate-3.4.3.tar.gz
Algorithm Hash digest
SHA256 eada938e8c1b8511de33cb071e460e7084136cdbafd8429e510e587839d0504c
MD5 d5c302534ee0913c39bdc227e1592cb7
BLAKE2b-256 c81f9f998df19d5b89db44199d2deb50733e507a076860d8047ae257b651b44e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page