::hwat::xml::private::CheckCallback

Retrieve the callback function index for a given attribute element and event array.

Syntax

::hwat::xml::private::CheckCallback str_attrList str_name

Arguments

str_elemName
The name of the element to retrieve the callback index for.
str_arrayName
The name of the callback function array to search for the callback.

Returns

Index of callback function in the given callback array, -1 if not found.

Example

::hwat::xml::private::CheckCallback $str_myElement ::hwat::xml::private::str_startEventCallbacks

Comments

This is an internal, private, function for the XML parser. This function should not be called directly.