Class
zope.documenttemplate.dt_string.String

Document templates defined from strings.

Document template strings use an extended form of python string formatting. To insert a named value, simply include text of the form: %(name)x, where name is the name of the value and x is a format specification, such as 12.2d.

To intrduce a block such as an if or an in or a block continuation, such as an else, use [ as the format specification. To terminate a block, ise ] as the format specification, as in:

  %(in results)[
    %(name)s
  %(in results)]

Base classes

There are no base classes.

Implemented Interfaces

There are no implemented interfaces.

Attributes/Properties

Methods

Known Subclasses