Location: PHPKode > projects > Ps and Qs: Processing QTI using PHP > qti-eb/qtifiles/FIBTEST.XML
<?xml version = "1.0" encoding = "UTF-8" standalone = "no"?>
<!DOCTYPE questestinterop SYSTEM "ims_qtiasiv1p2.dtd">
<questestinterop>  
<item ident="I_Miranda_228.0_6">
<presentation>
<material>
<mattext texttype="text/plain" charset="ascii-us">
Complete the following quote from Pink Floyd.
</mattext>
</material>
<response_str ident="1" rcardinality="Single">
<flow><render_fib fibtype="String" prompt="Box" rows="1" columns="10">
<material>
<mattext texttype="text/plain" charset="ascii-us">
We don't need no 
</mattext>
</material>
<response_label ident="A"/>
</render_fib></flow>
</response_str>
<response_str ident="2" rcardinality="Single">
<render_fib fibtype="String" prompt="Box" rows="1" columns="10">
<material>
<mattext texttype="text/plain" charset="ascii-us">
We don't need no 
</mattext>
</material>
<response_label ident="A"/>
</render_fib>
</response_str>
<response_str ident="3" rcardinality="Single">
<render_fib fibtype="String" prompt="Box" rows="1" columns="10">
<material>
<mattext texttype="text/plain" charset="ascii-us">
control No dark 
</mattext>
</material>
<response_label ident="A"/>
</render_fib>
</response_str>
<response_str ident="4" rcardinality="Single">
<render_fib fibtype="String" prompt="Box" rows="1" columns="10">
<material>
<mattext texttype="text/plain" charset="ascii-us">
in the 
</mattext>
</material>
<response_label ident="A"/>
</render_fib>
</response_str>
<material>
<mattext texttype="text/plain" charset="ascii-us">
Teacher leave us kids alone
</mattext>
</material>
</presentation>
<resprocessing>
<outcomes>
<decvar varname="FIB5" vartype="Integer" defaultval="0"/>
</outcomes>
<respcondition>
<conditionvar>
<varequal respident="1" case="Yes">
education
</varequal>
<varequal respident="2" case="Yes">
thought
</varequal>
<varequal respident="3" case="Yes">
sarcasim
</varequal>
<varequal respident="4" case="Yes">
classroom
</varequal>
</conditionvar>
<setvar action="Add" varname="FIB">
1
</setvar>
<displayfeedback feedbacktype="Response" linkrefid="AllCorrect"/>
</respcondition>
<respcondition>
<conditionvar>
<other/>
</conditionvar>
<setvar>
0
</setvar>
<displayfeedback feedbacktype="Response" linkrefid="AllWrong"/>
</respcondition>
</resprocessing>
<itemfeedback ident="AllCorrect" view="Candidate">
<material>
<mattext texttype="text/plain" charset="ascii-us">
Well done!
</mattext>
</material>
</itemfeedback>
<itemfeedback ident="AllWrong" view="Candidate">
<material>
<mattext texttype="text/plain" charset="ascii-us">
I thought every one knew that!
</mattext>
</material>
</itemfeedback>
</item>
</questestinterop>
Return current item: Ps and Qs: Processing QTI using PHP