tal:content

This attribute replaces the tag content with the evaluation of its expression.


            <span tal:define="myvar string:my string"/><span tal:content="myvar">will be replaced</span>

          

Will produce:


            <span>my string</span>