[QTI] choiceInteractions as rows of a table
Bart Nagel
bjn at ecs.soton.ac.uk
Thu Jan 21 16:01:07 GMT 2010
I want to present a set of true or false questions as rows of a table.
I've tried (leaving out attributes for brevity)
<table>
<tbody>
<tr>
<choiceInteraction>
<td><prompt>question 1...</prompt></td>
<td><simpleChoice>true</simpleChoice</td>
<td><simpleChoice>false</simpleChoice</td>
</choiceInteraction>
</tr>
<tr>...</tr>
...
</tbody>
</table>
but it complains that the tr elements don't have enough td children
(needs at least one).
I've also tried
<table>
<tbody>
<choiceInteraction>
<tr>
<td><prompt>question 1...</prompt></td>
<td><simpleChoice>true</simpleChoice</td>
<td><simpleChoice>false</simpleChoice</td>
</tr>
</choiceInteraction>
<choiceInteraction>...</choiceInteraction>
...
</tbody>
</table>
and now it complains that the tbody element doesn't have enough tr
children (again, needs at least one). Wouldn't it make more sense if
the choiceInteraction element was "transparent" to layout elements?
Is there some other approach to this problem which will work?
--bart nagel
--
bart nagel
e: bjn at ecs.soton.ac.uk Skype: trem-b
w: ecs.soton.ac.uk/people/bjn Aim: bartremby
XMPP: tremby at jabber.org MSN: msn at tremby.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : /public/ims-qti/attachments/20100121/0fff8931/attachment.bin
More information about the IMS-QTI
mailing list