Logfile:onXMLElement

Method

Purpose

This method (on all platforms) monitors XML log files.

 

Type

Asynchronous, IMPACT_INFO.

Arguments

 

Name

Type

Description

Logfile

String

The log file to be monitored.

Back quoted strings, external and internal variables can be used. The TIBCO Hawk agent will execute the command within the back quotes and return the string for substitution.

For example, ’echo /tmp/foo.log’ will be evaluated to /tmp/foo.log

element

String

The tag name of element to monitor

xpath

String

The XPATH expression to apply to the element

Returns

 

Name

Type

Description

nextResult

String

The result of the XPATH evaluation