[QTI] HTML questiontext with images

Helmut Schottmüller helmut.schottmueller at mac.com
Sun Jul 23 15:45:04 BST 2006


Dear list,

I want to save questions with HTML questiontext in QTI (1.2.1). It's  
no problem to define the question text as html or xhtml in the  
mattext tag. But what should I do if I have something like:

This is a <strong>question text</strong> with an image <img  
src="path_to_somewhere/image.ext" alt="imagealt" title="imagetitle"  
width="xx" height="yy" /> embedded

and I want to store the image in the QTI file.
Must I do something like

<material>
<mattext type="text/xhtml">This is a &lt;strong&gt;question text&lt;/ 
strong&gt; with an image </mattext>
<matimage imagtype="image/ext" label="imagetitle" height="yy"  
width="xx" embedded="base64">HERE COMES THE BASE64 ENCODED IMAGE</ 
matimage>
<mattext> embedded</mattext>
</material>

???

Or do I think totally wrong?

Regards,
Helmut
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2424 bytes
Desc: not available
Url : /public/ims-qti/attachments/20060723/7cd35ea1/smime.bin


More information about the IMS-QTI mailing list