XML::eventid


NOTE: The features contained in this namespace require an EA (Early Access) license to be accessed. These commands will not function if your system does not have this license installed. For more information about obtaining the necessary license to access these features, please contact your sales representative. For more information, read about the LicenseDetails

Description

Returns the key used to register the current XML event. Each call to the XML::subscribe command returns a unique key that can be used later to help with multiple subscriptions within the same document.
Note: All XML commands are unavailable beginning in v10.

Syntax

XML::eventid

XML::eventid

  • Returns the key used to register the current XML event.

Examples

when XML_BEGIN_DOCUMENT {
  set key1 [XML::subscribe soap]
  set key2 [XML::subscribe addressing]
  XML::collect
}
when XML_EVENT {
  log local0. "in XML_EVENT for event id [XML::eventid]"
}