Tree Evaluator Service (com.ibi.agents.EvalWalk)

Syntax:

com.ibi.agents.EvalWalk

iIT Service Object:

Description:

This service passes an incoming XML tree and applies iFL evaluation to all or selected nodes of the tree. Element values and their attributes are evaluated.

Parameters:

Parameter

Description

Filter Expression

An XPath expression (optional) used to select items to be evaluated. If no value is provided, then all element values and their attributes will be evaluated.

XML Namespace Map Provider

Provider used to map between an XML namespace prefix and a namespace URI. If no value is provided, then elements in the document will use the default namespace.

XPath Syntax *

Determines the implementation of XPath that should be used. Select one of the following implementations from the drop-down list.

  • Default. Selects the syntax level as specified in the General Settings section of the iSM Administration Console.
  • iWay abbreviated syntax. iWay implementation is fast, but has limited language support.
  • Full XPath 1.0 syntax. XPath 1.0 provides full language support, but is slower.

Edges:

The edges that are returned by this service are listed in the following table.

Edge

Description

success

The incoming XML tree has been evaluated.

fail_parse

The service configuration or the incoming XML tree contains invalid iFL.

fail_operation

The incoming document is not in XML format, or the required namespace provider cannot be located.

Example 1:

The following node, if selected for evaluation:

<node1/ATR1="_ISERROR()">SREG(ip)</node1>

might become:

<node1/ATR1="false">123.45.678.910</node1>

Example 2:

The following node, if selected for evaluation:

<Test><_sreg(iwayhome)</Test>

might become:

<Test>c:/iway70</Test>

Example 3:

Use XPath to identify a subtree within the incoming document to be evaluated:

/root/interesting_part//*