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

TDOMNode.NamespaceURI

URI for the NameSpace assigned to the DOM Node.

Declaration

Source position: laz2_dom.pas line 292

public property TDOMNode.NamespaceURI : DOMString
  read GetNamespaceURI;

Description

NamespaceURI is a read-only DOMString property with the Namespace URI (Universal Resource Identifier) for the DOM node, or an empty string when it has not been specified. NamespaceURI is determined using a namespace lookup for the value declared when the node is created.

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

The property value is always an empty string ('') in TDOMNode. In a descendent class (like TDOMNode_NS), it will contain one of the Namespace URLs registered in the OwnerDocument for the node.

NamespaceURI implements the attribute from the Node interface in the DOM Level 2 Specification.

See also

TDOMNode.LookupNamespaceURI

  

Locates the NameSpace URI for the specified Prefix.

TDOMNode.LookupPrefix

  

Locates the Prefix for the specified NameSpace URI.

TDOMNode.Prefix

  

Prefix used for the assigned NameSpace in the DOM Node.

TDOMNode.IsDefaultNamespace

  

Indicates if the specified NameSpace URI is the default namespace for the DOM node.


Version 3.2 Generated 2024-02-25 Home