Save category description in Moodle XML import/export: Difference between revisions
From MoodleDocs
Line 9: | Line 9: | ||
<question type="category"> | <question type="category"> | ||
<category> | <category> | ||
<text>$course$/ | <text>$course$/[Parents category/]<Category></text> | ||
</category> | </category> | ||
</question> | </question> |
Revision as of 10:22, 18 October 2014
What is not saved?
At this format of import/export in not saved:
1. description of the imported/exported category,
2. description of parental category(categories).
Current XML structure
<question type="category">
<category> <text>$course$/[Parents category/]<Category></text> </category>
</question>
Proposed XML structure
<question type="category">
<category> <text>$course$/My First Category</text> </category>
</question>