Document Revision 1.7, 1999/06/02
For Zope version 1.10

Modified by Pamela Crosby

Next Section | Contents

Table of Contents

List of Tables

Introduction

General Information

DTML Tag Syntax
Alternate Python String Format Syntax
Common Tag Attributes
The name attribute
The expr attribute
Expression syntax
Variable lookup
The special namespace variable, _
Access Control
Name Lookup
Using Document Templates from Python
Creating document templates
Using document templates
Using document templates with ZPublisher

The var Tag

Custom, Special, C, and Empty Formats
Null Values
Truncation
A var Tag Example, the Default Document Source

Conditional Insertion, the if and unless Tags

Iterative Insertion, the in Tag

The else Tag as an Intermediate Tag in the in Tag
Variables Defined by the in Tag
Summary Statistics
Grouping Variables
Batch Processing
Orphan rows
Overlapping batches
Showing row number and row data in previous and next batch hyperlinks.
Showing information about multiple batches

Displaying Objects with the with Tag

Using the only Attribute to Limit the Namespace
Multiple assignments with the let Tag

Evaluating Names or Expressions without Generating Text Using the call Tag

Reporting Errors with the raise Tag

Exception Handling with the try Tag

Excluding Source Text with the comment Tag

Displaying Information Hierarchically: the tree tag

Sending Mail: the sendmail tag

Sending Attachments with the mime Tag

Appendix A, Date-time data

INDEX
Next Section | Contents