XML::element


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 name of the current in-scope XML element.
Note: All XML commands are unavailable beginning in v10.

Syntax

XML::element

XML::element

  • Returns the name of the current element.

Examples

when XML_BEGIN_DOCUMENT {
  XML::subscribe allevent
  XML::collect
}
when XML_BEGIN_ELEMENT {
  log local0. "Found Element [XML::element]"
}