f94902db28
Make question import/export formats fully pluggable, especially in respect of languages.
29 lines
965 B
HTML
29 lines
965 B
HTML
<h1>"Moodle XML" format</h1>
|
|
|
|
<p>This Moodle specific format imports quiz questions that have previously been
|
|
exported in the same format. The format is straightforward and is best demonstrated
|
|
by exporting a category in the Moodle XML format. The XML format is capabable of
|
|
importing image files.
|
|
</p>
|
|
|
|
<p>Optional questiontype plugins can extend this format.</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>
|