Sign in Join
FPDoc Onlineexperiment

TDOMElement.AttachDefaultAttrs procedure

Member of TDOMElementprotectedIn unit Laz2_DOM

Creates attribute nodes with the default attribute values in a namespaced DOM Element.

Declaration

pascal
procedure AttachDefaultAttrs

Description

No actions are performed in the method if namespace information with the qualified name and default attribute values for the Element has not been provided in the NSI property.

AttachDefaultAttrs calls RestoreDefaultAttr to creates and store a TDOMAttr instance in Attributes for each of the default attribute names and values found in the namespace information.

AttachDefaultAttrs is called from the CreateElement and CreateElementNS methods in TDOMDocument.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.