Merge commit 'catalyst/MOODLE_19_STABLE' into mdl19-linuxchix
[moodle-linuxchix.git] / lang / en_utf8 / help / quiz / formatxml.html
blobf72619de4959765b56ebe3b7559502297ebaf645
1 <h1>Importing "Moodle XML" format files</h1>
3 <h3>Category Switching</h3>
5 <p>You can insert a special dummy question into the XML file to specify
6 the category path into which the following questions will be inserted.
7 If the category or categories do not exist they will be created. Note that
8 the <b>from file:</b> option must be ticked on the option page or this code
9 will be ignored completely. You can switch categories in the xml file as often as you
10 wish.</p>
12 <p>An example of the format is as follows:</p>
14 <pre>
15 &lt;question type="category"&gt;
16 &lt;category&gt;
17 tom/dick/harry
18 &lt;/category&gt;
19 &lt;/question&gt;
20 </pre>