Moodle XML Quiz conversion to DOC (via XSLT?)

Re: Moodle XML Quiz conversion to DOC (via XSLT?)

by Eoin Campbell -
Number of replies: 0
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers
This could be done in either of 2 ways:
1. On the Moodle server, output an appropriate print assessment Word format directly;
2. On your local PC, after downloading the Word file, run a macro to modify the appearance of the tables to present it in print assessment format.

Any print assessment format will probably vary according to personal taste (font size and family, indentation, page breaking etc.) so
I think doing it on the server isn't a good approach.

A VBA macro could do the job a bit more flexibly, and some day soon I might write it to suit.

The macro would need to handle the following:
a. turn off table cell borders
b. shuffle the answer rows, because
the 1st answer may frequently be the right one
(depending on how you created the questions, I think)
c. hide row 2, the table column heading row.
d. hide the feedback and instruction rows
e. hide the last column, containing type and grade
info.

Hiding text is easy, as you can just set the font property 'hidden' to do so.