3.8. OPT attributes
3.8.5. opt:dynamic
3.8.4. opt:content
« Previous
3.8.6. opt:if
Next »

3.8.5. opt:dynamic

Versionssince 2.0.1

This is a variant of opt:dynamic instruction that uses attributes instead of tags to represent itself. The dynamic content is enabled, if the attribute value is set to yes:

<div opt:dynamic="yes">
    <p>Some dynamic content: {$variable}</p>
</div>

See also:

3.8.5. opt:dynamic
3.8. OPT attributes
« Previous
3.8.4. opt:content
Next »
3.8.6. opt:if