@staticmethod
def getUniqueNodeName(node):
    """Returns a unique name for the specified node, usable as index into
        a container-wide cache.
        """
    path = []
    while node.parentNode.parentNode is not None:
        path.append(node.localName)
        node = node.parentNode
    return '/'.join(path)
