I am trying to export grades in XML mode.
I have set this as the site default.
On selecting the quiz for which I wish to export grades I obtain the preview shown in Figure 1. This looks correct.
However when I download the file the values in the <student></student> fields are not the IDs shown in Figure 1 but are as follows
<results batch="xml_export_1191614551">
<result>
<state>new</state>
<assignment>pgb1icma02</assignment>
<student>11</student>
<score>90.00000</score>
</result>
<result>
<state>new</state>
<assignment>pgb1icma02</assignment>
<student>12</student>
<score>80.00000</score>
</result>
<result>
<state>new</state>
<assignment>pgb1icma02</assignment>
<student>13</student>
<score>60.00000</score>
</result>
<result>
<state>new</state>
<assignment>pgb1icma02</assignment>
<student>14</student>
<score>40.00000</score>
</result>
<result>
<state>new</state>
<assignment>pgb1icma02</assignment>
<student>15</student>
<score>20.00000</score>
</result>
</results>