Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

This is only for keeping notes on some of my findings regarding Moodle XML.

Minimum XML

Other than stated at [1] the minimum working Moodle XML file seems to be the following (short answer question). It gets imported using the default settings.

<?xml version="1.0" encoding="UTF-8"?> <quiz> <question type="shortanswer"> <name> <text>Minimum question</text> </name> <questiontext> <text>What's the minimum XML required for import?</text> </questiontext> <answer fraction="100"> <text>This here!</text> </answer> </question> </quiz>