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

TDOMDocument.IndexOfNS

Gets the ordinal position for the specified namespace URI in the document namespaces.

Declaration

Source position: laz2_dom.pas line 500

public function TDOMDocument.IndexOfNS(

  const nsURI: DOMString;

  AddIfAbsent: Boolean = False

):Integer;

Arguments

nsURI

  

Namespace URI to locate in the document.

AddIfAbsent

  

Indicates if the Namespace URI is added if it does not already exist.

Function result

Ordinal position for the Namespace URI, or -1 when not found.

See also

TDOMNode_NS.SetNSI

  

Stores the specified Namespace URI and Prefix length in the Namespace Information for the DOM Document.

TDOMElement.SetAttributeNS

  

Sets the value for the DOM Attribute with the specified Namespace URI and qualified name.


Version 3.2 Generated 2024-02-25 Home