TDOMNode.NamespaceURI property
URI for the NameSpace assigned to the DOM Node.
Declaration
property 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
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
