This element is a child of xfj:document or xfj:overlay. Please refer to these topics before reading.
<xfj:apply-local-template id="myURLTemplate" src="url(file_url)" language-id="templateLanguageId" parameters="p1,v1;p2,v2;...;pN,vN;"/>
The src attribute points to an URL or a Base64 blob and must be accessible by the server or a reference to an existing template in the job, using the template-id() function.
The id attribute is optional and is used to provide the user with the ability to reuse the template by referencing it using another xfj:apply-local-template element.
To specify the language used for XFD translations you need to use the language-id attribute. The value of this attribute must be one of the languages declared in the template.
The attribute parameters specifies the key/value pairs that must be used during the transformation and that are passed to the XSLT engine.
To reference a template, you first need to have an id attribute set on the xfj:apply-local-template element which will be referenced. The example above is named myURLTemplate.
The referencing element will use the template-id() function in its src attribute, with myURLTemplate being its argument:
<xfj:apply-local-template src="template-id(myURLTemplate)""/>
Note: id attribute values are case sensitive.
To specify a server template to use with the specific XML document, use the xfj:apply-server-template element.