mirror of
https://github.com/moodle/moodle.git
synced 2025-07-26 00:31:35 +02:00
21 lines
644 B
HTML
21 lines
644 B
HTML
<h1>Importing "Moodle XML" format files</h1>
|
|
|
|
<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>
|