Moodle XML format

Moodle XML format

by Volodymyr Krasnoshapka -
Number of replies: 4
Where can I find the Moodle XML tests format specification or DTD, or something else?
Average of ratings: -
In reply to Volodymyr Krasnoshapka

Re: Moodle XML format

by Howard Miller -
Wužiwarjo-wobraz wo Core developers Wužiwarjo-wobraz wo Documentation writers Wužiwarjo-wobraz wo Particularly helpful Moodlers Wužiwarjo-wobraz wo Peer reviewers Wužiwarjo-wobraz wo Plugin developers
I know this is a poor answer, but the format is currently undocumented. It is quite a simple format and it is actually probably easier to export some sample questions and see what the XML looks like.

However, this question keeps coming up and intend to properly document it in the very near future.
In reply to Howard Miller

Re: Moodle XML format

by Werner Randelshofer -
I would like to implement a converter to/from Moodle XML. I need a comprehensive overview of the file format.
Is there an overview of the PHP classes which deal with Moodle XML format?

In reply to Werner Randelshofer

Re: Moodle XML format

by Howard Miller -
Wužiwarjo-wobraz wo Core developers Wužiwarjo-wobraz wo Documentation writers Wužiwarjo-wobraz wo Particularly helpful Moodlers Wužiwarjo-wobraz wo Peer reviewers Wužiwarjo-wobraz wo Plugin developers
Since that last post was written, it has been documented...

http://docs.moodle.org/en/Moodle_XML

The format is simple and is best illustrated simply by exporting some questions. The code can be found at question/format/xml/format.php and, again, isn't particularly complicated.

If you need any help or clarification, please let me know and I'll do what I can to help.