Xml.XMLIntf.IXMLNode.FindNamespaceURI
Delphi
function FindNamespaceURI(const TagOrPrefix: DOMString): DOMString;
C++
virtual System::UnicodeString __fastcall FindNamespaceURI(const System::UnicodeString TagOrPrefix) = 0 ;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Xml.XMLIntf.pas Xml.XMLIntf.hpp |
Xml.XMLIntf | IXMLNode |
Description
Returns the namespace URI for a namespace prefix or qualified tag name.
FindNamespaceDecl searches the node hierarchy that contains this node for an attribute that specifies the mapping between the namespace prefix identified by TagOrPrefix and a namespace URI. If it finds such a mapping, FindNamespaceURI returns the namespace URI. If it does not find a mapping, FindNamespaceURI returns an empty string.
TagOrPrefix is the namespace prefix or a tag name that includes the namespace prefix.