Sign in Join
FPDoc Onlineexperiment

TDOMDocument.IndexOfNS function

Member of TDOMDocumentpublicIn unit Laz2_DOM

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

Declaration

pascal
function 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.

Description

Nothing more than the line above yet.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.