MDL-69798 XML question export: excape special chars in idnumbers
[moodle.git] / question / format / xml / tests / fixtures / html_chars_in_idnumbers.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <quiz>
3 <!-- question: 0  -->
4   <question type="category">
5     <category>
6       <text>$course$/Alpha</text>
7     </category>
8     <info format="moodle_auto_format">
9       <text>This is Alpha category for test</text>
10     </info>
11     <idnumber>The inequalities &lt; &amp; &gt;</idnumber>
12   </question>
14 <!-- question: 91  -->
15   <question type="truefalse">
16     <name>
17       <text>Alpha Question</text>
18     </name>
19     <questiontext format="html">
20       <text><![CDATA[<p>Testing Alpha Question</p>]]></text>
21     </questiontext>
22     <generalfeedback format="html">
23       <text></text>
24     </generalfeedback>
25     <defaultgrade>1.0000000</defaultgrade>
26     <penalty>1.0000000</penalty>
27     <hidden>0</hidden>
28     <idnumber>T &amp; F</idnumber>
29     <answer fraction="100" format="moodle_auto_format">
30       <text>true</text>
31       <feedback format="html">
32         <text></text>
33       </feedback>
34     </answer>
35     <answer fraction="0" format="moodle_auto_format">
36       <text>false</text>
37       <feedback format="html">
38         <text></text>
39       </feedback>
40     </answer>
41   </question>
43 </quiz>