The parse_xml API reference
Copyright 2020 Simon Vandevelde, Bram Aerts, Joost Vennekens This code is licensed under GNU GPLv3 license (see LICENSE) for more information. This file is part of the cDMN solver.
- class parse_xml.XMLparser(xml_str: str)[source]
The parser class responsible for parsing the xml file, and turning it into cDMN tables. This means a conversion from XML into the Type and Constant glossary, and into standard Decision Tables.
- get_goal_variables()[source]
Find the variables which are defined by the last decision table. This decision table always contains the “final decision” of the specification, and thus, its outputs contain the goals.
- Returns goal_variables:
list containing the names of the goal var.