TemplateTag element of a template definition file

Template definition files use the TemplateTag element and the TemplateDocument element. Several TemplateTag elements can be defined for each inbound XML message. Each TemplateTag element must be linked to a TemplateDocument element using the name attribute. The value that is associated with the name attribute should match the value of a TemplateTagName subelement within a TemplateDocument element that is defined within the template definition file. Each TemplateTag element contains a list of tag definitions in the Tag subelement. The Tag element can contain the following five attributes:

If the XPath element is not found within the tag template, the XPath in the XML message is used as the field name and the XPathType is PCDATA. A name-value pair is generated using XPath as the field name.

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


Related concepts
Message classification