Warning: Creating default object from empty value in /www/htdocs/w006bc83/moodle/config.php on line 5

Deprecated: Assigning the return value of new by reference is deprecated in /www/htdocs/w006bc83/moodle/lib/pagelib.php on line 67

Strict Standards: Redefining already defined constructor for class page_base in /www/htdocs/w006bc83/moodle/lib/pagelib.php on line 159

Warning: Creating default object from empty value in /www/htdocs/w006bc83/moodle/theme/orangewhite/config.php on line 9
Help

Importing "Moodle XML" format files

Category Switching

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 from file: 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.

An example of the format is as follows:

<question type="category">
    <category>
        tom/dick/harry
    </category>
</question>

Index of all help files