def get_ignition_type(root):
properties = {}<EOL>elem = root.find('<STR_LIT>')<EOL>if elem is None:<EOL><INDENT>raise MissingElementError('<STR_LIT>')<EOL><DEDENT>elem = elem.attrib<EOL>if '<STR_LIT:target>' in elem:<EOL><INDENT>ign_target = elem['<STR_LIT:target>'].rstrip('<STR_LIT:;>').upper()<EOL><DEDENT>else:<EOL><INDENT>raise MissingAttributeError('<STR_LIT:target>', '<STR_LIT>')<EOL><DEDENT>if '<STR_LIT:type>' in elem:<EOL><INDENT>ign_type = elem['<STR_LIT:type>']<EOL>if ign_type == '<STR_LIT>':<EOL><INDENT>ign_type = '<STR_LIT>'<EOL><DEDENT><DEDENT>else:<EOL><INDENT>raise MissingAttributeError('<STR_LIT:type>', '<STR_LIT>')<EOL><DEDENT>if len(ign_target.split('<STR_LIT:;>')) > <NUM_LIT:1>:<EOL><INDENT>raise NotImplementedError('<STR_LIT>')<EOL><DEDENT>if ign_target == '<STR_LIT>':<EOL><INDENT>ign_target = '<STR_LIT>'<EOL><DEDENT>elif ign_target == '<STR_LIT>':<EOL><INDENT>ign_target = '<STR_LIT>'<EOL><DEDENT>elif ign_target == '<STR_LIT:P>':<EOL><INDENT>ign_target = '<STR_LIT>'<EOL><DEDENT>elif ign_target == '<STR_LIT:T>':<EOL><INDENT>ign_target = '<STR_LIT>'<EOL><DEDENT>if ign_target not in ['<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>']:<EOL><INDENT>raise KeywordError(ign_target + '<STR_LIT>')<EOL><DEDENT>if ign_type not in ['<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>']:<EOL><INDENT>raise KeywordError(ign_type + '<STR_LIT>')<EOL><DEDENT>properties['<STR_LIT:type>'] = ign_type<EOL>properties['<STR_LIT:target>'] = ign_target<EOL>return properties<EOL>
Gets ignition type and target.

    Args:
        root (`~xml.etree.ElementTree.Element`): Root of ReSpecTh XML file

    Returns:
        properties (`dict`): Dictionary with ignition type/target information