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

TDOMNode.LocalName

Name without the NameSpace prefix assigned to the DOM Node.

Declaration

Source position: laz2_dom.pas line 293

public property TDOMNode.LocalName : DOMString
  read GetLocalName;

Description

LocalName is a read-only DOMString property with the local part of the qualified name for the node. A qualified name consists of a delimited namespace Prefix and the name for the element or attribute in the node. Local name contains only the element or attribute name, without the Prefix for the namespace.

For the following Qualified Names:

The Prefix values are:

The LocalName values are:

For nodes other than ELEMENT_NODE (TDOMELement) and ATTRIBUTE_NODE (TDOMAttr), and nodes created with a DOM Level 1 method, such as createElement from the Document interface, the property value is is always an empty DOMString.

The property value is always an empty DOMString value in TDOMNode. In a descendent class (like TDOMNode_NS), it will contain the actual NodeName for an element or attribute.


Version 3.2 Generated 2024-02-25 Home