'Compare this node to C{other}.  If the nodes have the same number of
children and corresponding children are equal to each other, return
C{True}, otherwise return C{False}.
@type other: L{Node}
@rtype: C{bool}'

def isEqualToNode(self, other):

    if (len(self.childNodes) != len(other.childNodes)):
        return False
    for (a, b) in zip(self.childNodes, other.childNodes):
        if (not a.isEqualToNode(b)):
            return False
    return True
