TEMPLATE_INNER_CONTENT
Within a TEMPLATE element, a single TEMPLATE_INNER_CONTENT tag can be used to define where the inner content of the instantiated TEMPLATE should be placed.
Examples
First declare a template with an inner content tag as shown here:
Once this template has been declared, you can instantiate it with additional inner content:
- <TPL_MY_TEMPLATE>
- <HELLO/>
- <WORLD/>
- </TPL_MY_TEMPLATE>
The code above is equivalent to writing:
- <ELEMENTA>
- <ELEMENTB/>
- <HELLO/>
- <WORLD/>
- </ELEMENTA>
The TEMPLATE_INNER_CONTENT tag is replaced by the content declared within the instantiated template.