dita-learningspec message
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]
Subject: starter-kit assessment interactions
- From: john_hunt@us.ibm.com
- To: dita-learningspec@lists.oasis-open.org
- Date: Thu, 24 Apr 2008 08:57:02 -0400
Dear DITA learning and training content
specialization sc -
I've put together some very basic processing
for the assessment interactions, to provide a starting point for others
to build on.
So far, this is very simple, and only
supports the lcTrueFalse, lcSingleSelect, and lcMultipleSelect interactions.
You can see it in the True-False interaction
here -
http://www.oasis-open.org/committees/download.php/28052/lc-menu-assessment.html
from this dita topic:
http://www.oasis-open.org/committees/download.php/28053/lc-menu-assessment.dita
The processing does this:
1) if lcAnswerOption contains lcCorrectResponse,
create an html a element with href=""javascript:alert('Correct')""
and the lcAnswerContent.
<lcAnswerOption><lcAnswerContent>True</lcAnswerContent><lcCorrectResponse/></lcAnswerOption>
becomes
this html:
<li
type="circle" STYLE="font-size:28px"><a href=""javascript:alert('Correct.');"><div"
STYLE="font-size:18px; font-family:sans-serif;"><p>True</p></div></a><li
type="circle" STYLE="font-size:28px">
2) if lcAnswerOption does not contain
lcCorrectResponse, create an html a element with href=""javascript:alert('Incorrect')""
and the lcAnswerContent.
<lcAnswerOption><lcAnswerContent>False</lcAnswerContent></lcAnswerOption>
becomes
this html:
<li
type="circle" STYLE="font-size:28px"><a href=""javascript:alert('Incorrect.');"><div"
STYLE="font-size:18px; font-family:sans-serif;"><p>False</p>
</div></a></li>
This is as far as I can see myself taking
the interactions at this point. I'll post the xsl when I update the plugin
with the new 1.2 dtd/xsd's that Robert Anderson has assembled - hopefully
by tomorrow.
If any other member has better interactions
processing to contribute or develop, please speak up!
John
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]