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. You can also enter a set of XPath Expressions and the attributes they are to be mapped to (enter the information directly into the Attribute and XPath columns).
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.