Xml.XMLIntf.IXMLNode.FindNamespaceDecl

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function FindNamespaceDecl(const NamespaceURI: DOMString): IXMLNode;

C++

virtual _di_IXMLNode __fastcall FindNamespaceDecl(const System::UnicodeString NamespaceURI) = 0 ;

Properties

Type Visibility Source Unit Parent
function public
Xml.XMLIntf.pas
Xml.XMLIntf.hpp
Xml.XMLIntf IXMLNode

Description

Returns the attribute node that declares a specified Namespace URI.

FindNamespaceDecl searches the node hierarchy that contains this node for an attribute that specifies the mapping between a namespace prefix and the namespace URI identified by NamespaceURI. If it finds such a mapping, FindNamespaceDecl returns the interface for the Attribute node. If it does not find a mapping, FindNamespaceDecl returns nil (Delphi) or NULL (C++).

NamespaceURI is the namespace URI to locate.

See Also