1 <<?php echo '?'; ?>xml version="1.0" encoding="<?php echo $this->encoding; ?>"<?php echo '?'; ?>>
4 xmlns="http://www.imsglobal.org/xsd/ims_qtiasiv1p2"
5 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
6 xsi:schemaLocation="http://www.imsglobal.org/xsd/ims_qtiasiv1p2 http://www.imsglobal.org/profile/cc/ccv1p0/derived_schema/domainProfile_4/ims_qtiasiv1p2_localised.xsd"
8 <assessment title="<?php echo $this->title; ?>" ident="<?php echo md5($this->tid); ?>">
10 /* If this is Common Cartridge export, add these metadatas
11 * Based on the IMSCC 1.0 specification
12 * http://www.imsglobal.org/cc/ccv1p0/imscc_profilev1p0.html
13 * Check Section 4.9 QTI
16 $this->num_takes = intval($this->num_takes);
17 $this->num_takes = ($this->num_takes==0)?'unlimited':$this->num_takes;
21 <fieldlabel>cc_profile</fieldlabel>
22 <fieldentry>cc.exam.v0p1</fieldentry>
25 <fieldlabel>qmd_assessmenttype</fieldlabel>
26 <fieldentry>Examination</fieldentry>
29 <fieldlabel>qmd_scoretype</fieldlabel>
30 <fieldentry>Percentage</fieldentry>
33 <fieldlabel>qmd_feedbackpermitted</fieldlabel>
34 <fieldentry>No</fieldentry>
37 <fieldlabel>qmd_hintspermitted</fieldlabel>
38 <fieldentry>Yes</fieldentry>
41 <fieldlabel>qmd_solutionspermitted</fieldlabel>
42 <fieldentry>Yes</fieldentry>
45 <fieldlabel>qmd_timelimit</fieldlabel>
46 <fieldentry>120</fieldentry>
49 <fieldlabel>cc_allow_late_submission</fieldlabel>
50 <fieldentry>No</fieldentry>
53 <fieldlabel>cc_maxattempts</fieldlabel>
54 <fieldentry><?php echo $this->num_takes; ?></fieldentry>
59 <section ident="ATUTOR-<?php echo $this->row['question_id']; ?>" title="<?php echo $this->title; ?>">
60 <?php echo $this->xml_content; ?>