Xml.XMLDoc.TXMLNode.FindNamespaceURI

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function FindNamespaceURI(const TagOrPrefix: DOMString): DOMString;

C++

System::UnicodeString __fastcall FindNamespaceURI(const System::UnicodeString TagOrPrefix);

Properties

Type Visibility Source Unit Parent
function protected
Xml.XMLDoc.pas
Xml.XMLDoc.hpp
Xml.XMLDoc TXMLNode

Description

Returns the namespace URI for a namespace prefix or qualified tag name.

Use the TXMLNode object's IXMLNode interface to call the protected FindNamespaceURI method. 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.

See Also