KUIML
Blue Cat's User Interface Programming Language
TEMPLATE_INNER_CONTENT

Description

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. See the Syntax section below for an example.

Attributes

None.

Syntax

First declare a template with an inner content tag as shown here:

<TEMPLATE id="TPL_MY_TEMPLATE" >
	<!--template structure with inner content-->
	<ELEMENTA>
		<ELEMENTB/>
		<TEMPLATE_INNER_CONTENT/>
	</ELEMENTA>
</TEMPLATE>

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.