Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

Save category description in Moodle XML import/export: Difference between revisions

From MoodleDocs
Line 7: Line 7:


== Current XML structure ==
== Current XML structure ==
<nowiki><question type="category">\n
--[[User:Nikita Nikitsky 2|Nikita Nikitsky 2]] ([[User talk:Nikita Nikitsky 2|talk]]) 18:19, 18 October 2014 (WST)<question type="category">
   <category>
   <category>
       <text>$course$/My First Category\</text>
       <text>$course$/My First Category\</text>
   </category>
   </category>
</question></nowiki>
</question>


== Proposed XML structure ==
== Proposed XML structure ==


== Old export compatibility problem ==
== Old export compatibility problem ==

Revision as of 10:19, 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

--Nikita Nikitsky 2 (talk) 18:19, 18 October 2014 (WST)<question type="category">

 <category>
     <text>$course$/My First Category\</text>
 </category>

</question>

Proposed XML structure

Old export compatibility problem