Saxon API for .NET

QName.Equals Method 

Test whether two QNames are equal. This supports the semantics of equality, which considers only the namespace URI and local name, and not the prefix.

public override bool Equals(
   object other
);

Remarks

The result of the function does not depend on registering the QName with the Processor, but is computed more quickly if the QNames have both been registered

See Also

QName Class | Saxon.Api Namespace