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

TDOMElement.AttachDefaultAttrs

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

Declaration

Source position: laz2_dom.pas line 627

protected procedure TDOMElement.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

TDOMElement.RestoreDefaultAttr

  

Restores the specified default attribute name and value in the DOM Element.

TDOMNode.Attributes

  

Contains Attribute for the DOM Node.

TDOMNode_NS.NSI

  

Provides access to Namespace information for the DOM node.

TDOMAttr

  

Implements a DOM Node for attributes with Namespace support.

TDOMAttrDef

  

Implements the default attribute node introduced in DOM Level 2.

TDOMDocument.CreateElement

  

Creates an element in the document with the specified tag name.

TDOMDocument.CreateElementNS

  

Creates a new DOM Element with the specified Namespace URI.


Version 3.2 Generated 2024-02-25 Home