in vs-metadata/deploy.py [0:0]
def get_group_name(root_node):
"""
extracts the main name of the metadata group from the provided xml document.
:param root_node:
:return:
"""
name_node = root_node.find("{http://xml.vidispine.com/schema/vidispine}name")
if name_node is None:
raise Exception("Could not find a name node in the document")
if name_node.text != "":
return name_node.text
else:
raise Exception("Name node was empty")