TemplateTag element of a template definition file

The TemplateTag element is used, along with the TemplateDocument element, in the template definition file. Several TemplateTag elements can be defined for each inbound XML message. However, each TemplateTag element must be linked to a TemplateDocument element using the name attribute. The value associated with the name attribute should match the value in the TemplateTagName sub-element of a TemplateDocument element defined with the template definition file.

Each TemplateTag element contains a list of tag definitions in the Tag sub-element. The Tag element can contain the following five attributes:

If the element XPath is not found in the tag template, the XPath in the XML message will be used as the field name, and the XPathType is PCDATA, generating a name-value pair using XPath as the field name.

For an example of how the TemplateTag element is used, refer to the sys_template.xml file.