def get_attack_name(node):
    """Returns the first of the three '|'-delimited fields in the 'text' field of the child 'attack' node."""
    for child in node.iterchildren():
        if child.tag == 'attack':
            return child.text.split('|')[0]