Button: Save to XML

From Catglobe Wiki
Jump to: navigation, search



Button: Save to XML

If you would like to have your rules in an XML format you can use the 'Save to XML' button, which will generate a small page for you with the rules of the group. Below is an example of how the rules look after export:

Example of XML Exported

<?xml version="1.0" encoding="utf-8" standalone="yes"?>

<scxml group-id="1012">

<selection-criteria id="1480" parent-selection-criteria-id="" sequence-index="1" target="-1" include-deleted="False" include-disabled="False">

<qualification-variable qualification-id="1" start-level="0" end-level="2" />

</selection-criteria>

<selection-criteria id="1482" parent-selection-criteria-id="1480" sequence-index="2" target="25" include-deleted="False" include-disabled="False">

<sample-rule-variable questionnaire-id="493" include-none-sample="False"><sample id="595" /></sample-rule-variable>

</selection-criteria>

<selection-criteria id="1481" parent-selection-criteria-id="1480" sequence-index="3" target="25" include-deleted="False" include-disabled="False">

<qualification-variable qualification-id="1" start-level="3" end-level="5" />

</selection-criteria>

</scxml>

* Target="-1" means that 'all' to be chosen for a rule's target; project-questionnaire is the same as a questionnaire; sub-question-index="-1" means that question is NOT a grid

_