Word Template for generating Moodle XML

Word Template for generating Moodle XML

by The Immortal -
Number of replies: 2

Hi there!

Guys, could you tell me please where can I find Word Template for generating Moodle XML, which existed on official Moodle 3 page (https://docs.moodle.org/30/en/Moodle_XML_format - Useful utilities section)? Currently its link is broken.

If there is no such template maybe is there more easier way to import question from WORD files with saving internal format (fold, size, indexes, etc)

Thank you so much!


Average of ratings: -
In reply to The Immortal

Re: Word Template for generating Moodle XML

by Colin Fraser -
mmmm a Microsoft Word Template for generating a Moodle xml document.... Apart from the obvious response, incredulity that anything from the Darkside would be useful here, I would suggest it has been taken down by the original developer. AFAIK, Fine Metronome is a musical training program and is specifically geared toward music and dance, what it would be doing with a Word Template for creating xml docs... mmmmmm
Best bet is to build one of your own, a little time consuming I suspect, or use a text editor, not Windows Notepad, but a genuine text editor, to create a template that you can reuse. As for using Word, I would suggest that there is too much Microsoft in it to be truly useful - but I couldn't possibly say that.
If you have preformatted questions in Word, then just copy and paste to your text editor, that way you leave behind all the additional rubbish that seems to accompany anything pasted from Word.
If you don't believe me, try this. Create an xml document in your text editor, save it, check its properties. Copy the code into a Word doc, then save as an xml file and check the properties. Import both files into Moodle, after reviewing it with something like an xml validator, and look to see which one presents properly.
Please also understand, I am just not a fan of things Microsoft, so check things for yourself. Unless they have changed the way to do things, unlikely, you will probably find the same problems I have when using Word to create docs to be used in an Open Source environment. 
Average of ratings: Useful (1)
In reply to The Immortal

Re: Word Template for generating Moodle XML

by Eoin Campbell -
Picture of Core developers Picture of Plugin developers

Attached is a copy of the file in a later incarnation, but I don't support it in any way. There is also some documentation written by the University of Sussex at https://docplayer.net/20621899-Microsoft-word-moodle-quiz-template.html

You could also consider a Word template I developed which uses tables in Word to structure questions. See http://www.moodle2word.net/ You need to install the plugin Microsoft Word File Import/Export (Question Format) to import questions directly from Word into your own Moodle site. You can also register on my test server and import questions there, export them as XML, and then import them into your own site. My plugin also lets you export questions from Moodle into Word, which can be convenient for reviewing large banks of questions.