category modifier the category specified on the import screen will be used. Note that for this to work
the <b>from file:</b> box must be ticked on the import screen.</p>
-<p>To include a category modifier include a line like this:
+<p>To include a category modifier include a line like this (with a blank line before and after):
<pre>
$CATEGORY: tom/dick/harry
--- /dev/null
+<p align="center"><b>Importing "Moodle XML" format files</b></p>
+
+<h3>Category Switching</h3>
+<p>You can insert a special dummy question into the XML file to specify
+the category path into which the following questions will be inserted.
+If the category or categories do not exist they will be created. Note that
+the <b>from file:</b> option must be ticked on the option page or this code
+will be ignored completely. You can switch categories in the xml file as often as you
+wish.</p>
+
+<p>An example of the format is as follows:</p>
+
+<pre>
+<question type="category">
+ <category>
+ tom/dick/harry
+ </category>
+</question>
+</pre>
by exporting a category in the Moodle XML format. The XML format is capabable of
importing image files.
</p>
+<p align="right"><a href="help.php?file=formatxml.html&module=quiz">More info about the "Moodle XML" format</a></p>
</ul>
<p>More formats are yet to come, including WebCT, IMS QTI and whatever else