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.
However, this question keeps coming up and intend to properly document it in the very near future.
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?
Is there an overview of the PHP classes which deal with Moodle XML format?
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.
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.
Here's a fine documentation of Moodle's XML format:
http://www.qedoc.org/en/index.php?title=Moodle_XML_format
(It's even more thorough than the official documentation mentioned above.)
http://www.qedoc.org/en/index.php?title=Moodle_XML_format
(It's even more thorough than the official documentation mentioned above.)