RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IXMLNode.FindNamespaceDecl Method

Returns the attribute node that declares a specified Namespace URI.

Pascal
function FindNamespaceDecl(const NamespaceURI: DOMString): IXMLNode;
C++
__fastcall IXMLNode FindNamespaceDecl(const DOMString NamespaceURI);

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!