<import> (Template Tag)


Description


The <import> tag collects definitions from the other template.

The tag imports the company_header definition from the standard_blocks.nxm_up_tpl file and enables the definition to be used under the header name in the <inject> tag.


Example


 <?xml version="1.0" encoding="utf-8"?>

 <assembly id="nxm.tests.basic.pl">

. . .

 <components>

   <import id="header" source="standard_blocks/company_header"></import>

. . .

 </components>

. . .

 </assembly>




Attributes



Attribute

Description

id

Unique ID. The attribute enables a given definition to be referenced in multiple places in the template.

source

Source of a definition: name of file (name.nxm_up_tpl) / id of definition (in tag: define)



Child elements permitted


No child elements are permitted.


Parent elements permitted


<components>