def METHOD_NAME(node):
	loc = ""
	if hasattr(node, 'tagName'):
		loc = brackets(node.tagName)
	while node.parentNode:
		if hasattr(node.parentNode, 'tagName'):
			loc = brackets(node.parentNode.tagName) + loc
		node = node.parentNode
	return loc