KUIML
Blue Cat's User Interface Programming Language
TEMPLATE_UNLOAD

Description

Unloads a previoulsy defined TEMPLATE element. After being unloaded, the template is not available anymore. It can typically be used to change the definition of a template if required. See the Syntax section below for an example.

Attributes

Name Value Type Default Value Description Comment V. Exp.

template_id

template id

empty

id of the template to unload.

2.7.3

No

Syntax

First declare a template as shown here:

<TEMPLATE id="TPL_MY_TEMPLATE" >
	<!--template structure -->
	<ELEMENTA>
		<ELEMENTB/>
	</ELEMENTA>
</TEMPLATE>

Once this template has been declared, you can unload it like this beofre the template can be redefined if required:

<TEMPLATE_UNLOAD template_id="TPL_MY_TEMPLATE"/>