Created
February 5, 2018 15:14
-
-
Save cormac-work/194f1367a0cf4a375b3928716814bf72 to your computer and use it in GitHub Desktop.
QCM.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | |
<!-- | |
// ========================= Copyright US ======================== | |
// | |
// Example file for test | |
// | |
// ========================================================================== | |
--> | |
<!DOCTYPE qcuqcm [ | |
<!ELEMENT qcuqcm (metadata, question?, questionLinks?, image?, answers, notions?)> | |
<!ATTLIST qcuqcm type (qcu|qcm) #REQUIRED> | |
<!ATTLIST qcuqcm scoring (AllRight|OneRightOnePoint|UserDefined) "AllRight"> | |
<!ATTLIST qcuqcm showTextFields (true|false) "false"> | |
<!ATTLIST qcuqcm uid CDATA ""> | |
<!ELEMENT metadata (hint?,hintlinks?,title?,author?,email?,creation_date?,modification_date?,description?)> | |
<!ELEMENT hint (#PCDATA)> | |
<!ELEMENT hintlinks (link*) > | |
<!ELEMENT title (#PCDATA)> | |
<!ELEMENT author (#PCDATA)> | |
<!ELEMENT email (#PCDATA)> | |
<!ELEMENT creation_date (#PCDATA)> | |
<!ELEMENT modification_date (#PCDATA)> | |
<!ELEMENT description (#PCDATA)> | |
<!ATTLIST metadata time CDATA "0"> | |
<!ATTLIST metadata tries CDATA "0"> | |
<!ATTLIST metadata showanswer (true|false) "false"> | |
<!ATTLIST metadata showanswerafterquestion (true|false) "false"> | |
<!ATTLIST metadata reset (true|false) "false"> | |
<!ATTLIST metadata DontAllowEmptyAnswers (true|false) "false"> | |
<!ATTLIST metadata interpretsHTML (true|false) "false"> | |
<!ELEMENT question (#PCDATA) > | |
<!ELEMENT questionLinks (link*) > | |
<!ELEMENT image (#PCDATA)> | |
<!ATTLIST image width CDATA "0"> | |
<!ATTLIST image height CDATA "0"> | |
<!ATTLIST image type CDATA "image"> | |
<!ATTLIST image Autostart CDATA "false"> | |
<!ATTLIST image OriginalImageFileName CDATA ""> | |
<!ATTLIST image KeepOriginalInPopup CDATA "false"> | |
<!ATTLIST image OriginalWidth CDATA "0"> | |
<!ATTLIST image OriginalHeight CDATA "0"> | |
<!ATTLIST image align (bottom|top|left|right) "bottom"> | |
<!ELEMENT answers (answer+)> | |
<!ELEMENT answer ( (text, image?, comment?, commentLinks?) | (image, comment?, commentLinks?) )> | |
<!ELEMENT text (#PCDATA)> | |
<!ATTLIST answer rightanswer (true|false) #REQUIRED> | |
<!ATTLIST answer showTextField (true|false) "false"> | |
<!ATTLIST answer RowWeight CDATA "1"> | |
<!ATTLIST answer Profile CDATA "0"> | |
<!ELEMENT comment (#PCDATA)> | |
<!ELEMENT commentLinks (link*) > | |
<!ELEMENT link (#PCDATA)> | |
<!ELEMENT notions (notion+)> | |
<!ELEMENT notion (#PCDATA) > | |
<!ATTLIST notion guid CDATA ""> | |
]> | |
<qcuqcm type="qcm" scoring="OneRightOnePoint" showTextFields="false" uid="B2RDV"><metadata time="0" tries="0" interpretsHTML="false"> | |
<hintlinks/><title>Q2 </title></metadata> | |
<question><![CDATA[<i>Select the <b>opposite </b>of this sentence. Tick all possible answers.</i><br><br><b>You are married.</b>]]></question> | |
<questionLinks/> | |
<image width="0" height="0" type="image" Autostart="false" OriginalImageFileName="" KeepOriginalInPopup="false" OriginalWidth="0" OriginalHeight="0" align="bottom"></image> | |
<answers> | |
<answer rightanswer="false" showTextField="false" RowWeight="-1"> | |
<text><![CDATA[Are you married?]]></text> | |
<image width="0" height="0" type="image" Autostart="false" OriginalImageFileName="" KeepOriginalInPopup="false" OriginalWidth="0" OriginalHeight="0"></image></answer> | |
<answer rightanswer="true" showTextField="false" RowWeight="-1"> | |
<text><![CDATA[You are not married.]]></text> | |
<image width="0" height="0" type="image" Autostart="false" OriginalImageFileName="" KeepOriginalInPopup="false" OriginalWidth="0" OriginalHeight="0"></image></answer> | |
<answer rightanswer="false" showTextField="false" RowWeight="-1"> | |
<text><![CDATA[You're married.]]></text> | |
<image width="0" height="0" type="image" Autostart="false" OriginalImageFileName="" KeepOriginalInPopup="false" OriginalWidth="0" OriginalHeight="0"></image></answer> | |
<answer rightanswer="true" showTextField="false" RowWeight="-1"> | |
<text><![CDATA[You're not married.]]></text> | |
<image width="0" height="0" type="image" Autostart="false" OriginalImageFileName="" KeepOriginalInPopup="false" OriginalWidth="0" OriginalHeight="0"></image></answer></answers></qcuqcm> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment