From 953c76d6217af928a956388c58a40b1ae756bc39 Mon Sep 17 00:00:00 2001
From: thepurpleblob
To include a category modifier include a line like this: +
To include a category modifier include a line like this (with a blank line before and after):
$CATEGORY: tom/dick/harry diff --git a/lang/en_utf8/help/quiz/formatxml.html b/lang/en_utf8/help/quiz/formatxml.html new file mode 100644 index 0000000000..e609c0781f --- /dev/null +++ b/lang/en_utf8/help/quiz/formatxml.html @@ -0,0 +1,19 @@ +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> +diff --git a/lang/en_utf8/help/quiz/import.html b/lang/en_utf8/help/quiz/import.html index 9773cdd5a7..46b6420985 100644 --- a/lang/en_utf8/help/quiz/import.html +++ b/lang/en_utf8/help/quiz/import.html @@ -166,6 +166,7 @@ exported in the same format. The format is straightforward and is best demonstra by exporting a category in the Moodle XML format. The XML format is capabable of importing image files. +More info about the "Moodle XML" format
More formats are yet to come, including WebCT, IMS QTI and whatever else -- 2.39.5