[QTI] Processing itemBody sample code
Gorissen,Pierre P.J.B.
p.gorissen at fontys.nl
Fri Apr 18 05:19:16 BST 2008
Hi Clarence,
Not that I've done XML processing in that many languages (so the changes
that I can answer your questions aren't that big) but it probably helps
if you also tell in which programming language you're trying to do this.
Best,
Pierre Gorissen
________________________________
Van: ims-qti-bounces at lists.ucles.org.uk
[mailto:ims-qti-bounces at lists.ucles.org.uk] Namens Clarence Klopfstein
Verzonden: vrijdag 18 april 2008 4:52
Aan: IMS Question &, Test Interoperability
Onderwerp: [QTI] Processing itemBody sample code
Is their a good bit of sample code somewhere processing an itemBody?
Not understanding how I can get the inner XHTML in the itemBody without
also grabbing the embedded xml tags. Using the choice.xml as a
sample...
<itemBody>
<p>Look at the text in the picture.</p>
<p>
<img src="images/sign.png" alt="NEVER LEAVE LUGGAGE
UNATTENDED"/>
</p>
<choiceInteraction responseIdentifier="RESPONSE" shuffle="false"
maxChoices="1">
<prompt>What does it say?</prompt>
<simpleChoice identifier="ChoiceA">You must stay with your
luggage at all times.</simpleChoice>
<simpleChoice identifier="ChoiceB">Do not let someone else
look after your luggage.</simpleChoice>
<simpleChoice identifier="ChoiceC">Remember your luggage
when you leave.</simpleChoice>
</choiceInteraction>
</itemBody>
----------------------------------------------------------------
Op deze e-mail zijn de volgende voorwaarden van toepassing:
http://www.fontys.nl/disclaimer
The above disclaimer applies to this e-mail message.
----------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /public/ims-qti/attachments/20080418/c16e4e62/attachment.html
More information about the IMS-QTI
mailing list