[QTI] HTML questiontext with images

Steve Lay swl10 at cam.ac.uk
Mon Jul 24 16:37:26 BST 2006


I'd be surprised if many people supported the use of embedded on matimage -
but I'd love to be proved wrong.  Why can't you refer to the image with a
relative URI, which will be interpreted relative to the ims qti file itself
I would assume.

The escaping of the tags is required, though in practice I've seen CDATA
sections used to make this more convenient and readable.

At 16:45 +0200 2006-07-23, Helmut Schottmüller wrote:
>Content-Type: multipart/signed; micalg=sha1; boundary=Apple-Mail-1--734953910;
>	protocol="application/pkcs7-signature"
>
>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
>
>Attachment converted: Macintosh HD:smime 21.p7s (    /    ) (00210250)
>_______________________________________________
>IMS-QTI mailing list
>IMS-QTI at lists.ucles.org.uk
>http://lists.ucles.org.uk/lists/listinfo/ims-qti




More information about the IMS-QTI mailing list