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

TDOMNode.baseURI

Provides the BaseURI for the node relative to its Owner document.

Declaration

Source position: laz2_dom.pas line 300

public property TDOMNode.baseURI : DOMString
  read GetBaseURI;

Description

BaseURI is a read-only DOMString property with the Base Universal Resource Identifier (URI) for the node relative to its context.

BaseURI is specified in the DOM Level 3 Specification. It is not defined in the DOM Level 2 APIs. The implementation in TDOMNode is incomplete as per the DOM Level 3 specification.

In the DOM specification, BaseURI is a dynamically computed value starting with the xml:base attribute for a given document. It includes the DocumentURI for the owner document, and should also include the node path to the current node.

In TDOMNode, BaseURI is resolved to the DocumentURI in the OwnerDocument when the node type is a document node or a processing instruction. It does not include the xml:base attribute that may (or may not ) be present in the owner document.

For all other node types, the property value is an empty string ('').

See also

TDOMNode.NodeType

  

Node type for the DOM Node.

TDOMNode.ParentNode

  

DOM node that is the immediate ancestor of this node.

TDOMDocument.DocumentURI

  

Represents the DOM Level 3 Document URI.

TDOMProcessingInstruction

  

Implements the DOM ProcessingInstruction interface from the DOM specification.


Version 3.2 Generated 2024-02-25 Home