RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
xmldom.NodeMatches Function

Indicates whether a specified node matches a given namespace and tag name.

Pascal
function NodeMatches(const Node: IDOMNode; const TagName: DOMString; const NamespaceURI: DOMString): Boolean; overload;
C++
Boolean NodeMatches(const IDOMNode Node, const DOMString TagName, const DOMString NamespaceURI);

xmldom

Call NodeMatches to determine whether the node with the interface specified by Node refers to the same node as is described by the TagName and NamespaceURI parameters.  

NodeMatches returns true if  

The value of Node's NamespaceURI property is the same as the NamespaceURI parameter. 

The local name or tag name of Node is the same as the TagName parameter.

Tip: Given an IXMLNode interface, you can obtain the IDOMNode interface required for the Node parameter by reading its DOMNode property.
 

 

ExtractLocalName 

ExtractPrefix 

IXMLNode 

SameNamespace 

IXMLNode

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