Indicates whether a specified node is defined within a specified namespace.
function SameNamespace(const Node: IDOMNode; const namespaceURI: WideString): Boolean; overload; function SameNamespace(const URI1: WideString; const URI2: WideString): Boolean; overload;
Boolean SameNamespace(const IDOMNode Node, const BSTR namespaceURI); Boolean SameNamespace(const BSTR URI1, const BSTR URI2);
Call SameNamespace to determine whether the two parameters identify the same namespace.
Using the first syntax, the Node parameter identifies a node and the namespaceURI parameter a namespace. SameNamespace checks whether the node is defined in the specified namespace.
Using the second syntax, both parameters are namespace URI values. SameNamespace checks whether they both identify the same namespace.
|
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
|
What do you think about this topic? Send feedback!
|