[QTI] Processing itemBody sample code
Clarence Klopfstein
cklopfstein at gmail.com
Fri Apr 18 14:19:15 BST 2008
If you could send me the C# code, I'd certainly appreciate it.
- Clarence
On Fri, Apr 18, 2008 at 9:09 AM, Niall Barr <niall at nbsoftware.com> wrote:
> Hi,
>
> The java code I wrote to do this for APIS should be quite easy to follow
> - you can find it at http://sourceforge.net/projects/apis. I used my
> own simple XML processing code (NBEasyXML.java, built on top of SAX)
> that makes it quite easy. I have a partial C# translation of the XML
> class which you're welcome to have - it probably needs some work to be
> usable though.
>
> You could also have a look at the code from the Southampton University
> QTI projects at http://www.qtitools.org/ (also in java).
>
> Niall.
>
>
> Clarence Klopfstein wrote:
> > 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>
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > IMS-QTI mailing list
> > IMS-QTI at lists.ucles.org.uk
> > http://lists.ucles.org.uk/lists/listinfo/ims-qti
> >
> >
> > ------------------------------------------------------------------------
> >
> > No virus found in this incoming message.
> > Checked by AVG.
> > Version: 7.5.524 / Virus Database: 269.23.0/1382 - Release Date:
> 16/04/2008 17:34
>
>
> _______________________________________________
> IMS-QTI mailing list
> IMS-QTI at lists.ucles.org.uk
> http://lists.ucles.org.uk/lists/listinfo/ims-qti
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /public/ims-qti/attachments/20080418/cc419be8/attachment.html
More information about the IMS-QTI
mailing list