[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Locates the Prefix for the specified NameSpace URI.
Source position: laz2_dom.pas line 297
public function TDOMNode.LookupPrefix( |
const nsURI: DOMString |
):DOMString; |
nsURI |
|
Namespace URI to locate in the Namespace information. |
Prefix for the Namespace URI, or an empty string.
LookupPrefix is a DOMString function used to locate the Prefix associated with the NameSpace URI specified in the nsURI argument. LookupPrefix implements the DOM Node interface specified in the DOM Level 3 specification.
In TDOMNode, the return value is always an empty DOMString (''). Descendent classes which implement a specific DOM Node specialization (like TDOMElement) will provide an InternalLookupPrefix method used to get the return value. The internal GetAncestorElement routine is used to find Prefix / Namespace associations in ancestor nodes.
|
URI for the NameSpace assigned to the DOM Node. |
|
|
Prefix used for the assigned NameSpace in the DOM Node. |
|
|
Name for the DOM node. |
|
|
Name without the NameSpace prefix assigned to the DOM Node. |
|
|
Gets the Namespace Prefix used for the specified Namespace URI. |
Version 3.2 | Generated 2024-02-25 | Home |