Glasnost

help

 
Articles  - TAL Statements: replace

TAL Statements: replace

tal:replace="expression"

The replace statement replaces the element and its content by the result of its expression.

Angle-brackets and ampersands are replaced by their HTML entity equivalents [1].

Example

<p>This is object:
<span tal:replace="currentObject.label">object</span>.
</p>
up