XPATH Evaluation Processor – Populates transaction attributes with the evaluations of XPath expressions.
You might find that it can be useful to take a piece of information out of an XML based input stream and store it in a transaction attribute. The eiConsole has the XPath Evaluation Processor to serve this function. As with all the components of the eiConsole the user is presented with a graphical interface with easy to configure panels.
Select the Processor Configuration tab and click on Add Processor.
Select the XPATH Evaluation Processor from the drop-down.
On the Basic tab, specify the Namespaces against which the XPATH expressions will be evaluated. The inbound XML will be treated as Namespace unaware.
Set Transaction Attributes: A table of the XPath expressions and the attributes they are to be mapped to.
Set Global Attributes: Globally accessible attributes which XPath expressions will be mapped to
You can enter as many of these as you would like using the plus button. You can remove them by selecting an entry and hitting the minus button.
In the Conditional Execution tab, you can set additional processor execution conditions. The Transaction data dependent condition may be specified here as enhanced expression. If this expression returns anything other than TRUE (ignore case) – this processor will be skipped.
The Deprecated tab allows you to specify the deprecated namespaces that should be processed.
On the Compatibility tab you can specify:
Restrict to XPath 1.0: Restrict processing to XPath 1.0 for compatibility with older Processor implementations.