isdecorate Element

Decorate the enclosed content with the contents of the specified (decorator) template.


  template = template_name //required
template = template_name

Allowed data type: string or expression.

template_name is the name of the decorator template that is used to decorate the contents.


The decorator template has the tag <isreplace/> identifying where the decorated content shall be included. Typically, only one tag (<isreplace/>) is used in the decorator template. However, multiple or zero <isreplace/> tags can also be used. If the decorating template doesn't have an <isreplace/> tag, the decorated content is omitted from the resultant output. If the decorator template has multiple <isreplace/> tags, the content to be decorated will be included for each <isreplace/> tag.

A typical use case is to decorate the content body with a header and footer.


The decorator tags can be nested to an arbitrary depth, for example:

<isdecorate template="mytemplate">
	<isdecorate template="mytemplate"

Different decorator templates can be used in different <isdecorate/> tags, both in nested and non-nested scenarios.

X Privacy Update: We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used. By continuing to use this site you are giving us your consent to do this. Privacy Policy.