Sign in Join
FPDoc Onlineexperiment

TDOMAttrDef.Default property

Member of TDOMAttrDefpublicIn unit Laz2_DOM

Indicates the origin of the value in the attribute node.

Declaration

pascal
property 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

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