Deferred content commands

Some commands, such as <folio/> do not generate content when they are processed. Instead, they send a message to the composition engine to generate the content when the page is rendered.

This needs to be considered when the commands are included in the value of a user variable. For example, consider the following custom code:

<set var="Date"><date/></set>
The date is {Date}.
<log level="info" message="Date:{Date}"/>

When the variable is referenced in the second line its value is sent to the composition engine, so the current date will appear on the page.

However, when the variable is referenced in the log message the date will not appear, since the command is not rendered.