[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'Laz2_DOM' (#lazutils)

TDOMAttrDef.Default

Indicates the origin of the value in the attribute node.

Declaration

Source position: laz2_dom.pas line 816

public property TDOMAttrDef.Default : TAttrDefault
  read FDefault
  write FDefault;

Description

Default is a TAttrDefault property which indicates how the NodeValue for the attribute node was derived. It contains a value from the TAttrDefault enumeration, and allows values like:

adImplied
Attribute value is implied in a DTD.
adDefault
Attribute value is the default value from the DTD.
adRequired
An Attribute value is required.
adFixed
Attribute has a fixed value provided in the DTD.

The property value is used in methods like TDOMNamedNodeMap.RestoreDefault and TDOMElement.AttachDefaultAttrs.

See also

TDOMNamedNodeMap.RestoreDefault

  

Restores the default value for the attribute node with the specified name.

TDOMElement.AttachDefaultAttrs

  

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


Version 4.0 Generated 2025-05-03 Home