def extract_feature_order_from_model_xml(file_path):
root = xml.etree.ElementTree.parse(file_path).getroot()<EOL>feature_order_node = root.find('<STR_LIT>')<EOL>features = []<EOL>for child in feature_order_node:<EOL><INDENT>features.append(child.attrib['<STR_LIT:name>'])<EOL><DEDENT>return features<EOL>
Takes the path to a FeatureIDE model.xml file and extracts the feature order.
:param file_path: path to the model file
:return: list of features as strings