RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TXMLNode.FindNamespaceURI Method

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

Pascal
function FindNamespaceURI(const TagOrPrefix: DOMString): DOMString;
C++
__fastcall DOMString FindNamespaceURI(const DOMString TagOrPrefix);

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!