TDOMNode.HasAttributes function
Indicates if the DOM node has attribute names and values.
Declaration
function HasAttributes: Boolean; virtualFunction result
True when the Attribute list is not empty.Description
HasAttributes is a
Boolean function which indicates if
the DOM node attribute names and/or values. HasAttributes implements the
method defined for the DOM Node interface in the DOM Level 2 Specification.
The return value is True when a TDOMNamedNodeMap has been
assigned for the node, and it has a non-zero value in its Length
(or Count) property.
HasAttributes always returns False in
TDOMNode, and is
overridden in descendent classes which implement a DOM node specialization.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
