Form elements, create form elements in rendering modes, set ID to
student selected value in submit mode, create editable interface in
editing mode.
-<radio>
-<list>
-<textline>
-<textarea>
-<check>
-<button>
------------------------
responses graded by other tags:
2 proposals?
<caparesponse type=string stroptions=mc value="TFTFT">
<check> <showfoil/> </check>
<check> <showfoil/> </check>
<check> <showfoil/> </check>
<check> <showfoil/> </check>
<check> <showfoil/> </check>
</caparesponse>
---OR---
<caparesponse type=string stroptions=mc value="T">
<check> <showfoil/> </check>
</caparesponse>
<caparesponse type=string stroptions=mc value="F">
<check> <showfoil/> </check>
</caparesponse>
<caparesponse type=string stroptions=mc value="T">
<check> <showfoil/> </check>
</caparesponse>
...
PROBLEMS: Partially correct and/or sigfig/unit failures, how should
messages be delivierd/decided
--------------------------
Randmization:
2proposals:
<randomlist ?show=2>
<> </>
<> </>
<> </>
<> </>
</randomlist>
-will randomly pick show number of tag groups and display them, parser
can set an internal option so as to stop randomlist tag from having
any effect
-PROB: can restrict layout possibilities,
---OR---
<answergroup>
<foil>
<caparesponse>
<check> pick me </check>
</caparesponse>
</foil>
....
<showrandomfoil/>
<showrandomfoil/>
<showrandomfoil/>
</answergroup>
-by default - foil sets an internal list with the results of parsing
the tags it has, and then the <showrandomfoil/> command picks a foil
out and displays, marking as displayed
-a specific problem can override this functionality as follows:
<answergroup>
<multiplechoice>
<multiplechoiceresponse value="false">
<foil>
<radio> Trucks <br> </radio>
</foil>
</multiplechoiceresponse>
<multiplechoiceresponse value="false">
<foil>
<radio> Cars <br> </radio>
</foil>
</multiplechoiceresponse>
<multiplechoiceresponse value="false">
<foil>
<radio> Guy Albertelli <br> </radio>
</foil>
</multiplechoiceresponse>
<multiplechoiceresponse value="false">
<foil>
<radio> Computers <br> </radio>
</foil>
</multiplechoiceresponse>
<multiplechoiceresponse value="true">
<foil>
<radio> Oranges <br> </radio>
</foil>
</multiplechoiceresponse>
<multiplechoiceresponse value="true">
<foil>
<radio> Tomatoes <br> </radio>
</foil>
</multiplechoiceresponse>
<showrandomfoil/>
<showrandomfoil/>
<showrandomfoil/>
<showrandomfoil/>
</multiplechice>
</answergroup>
in this example when the multiple choice tag is hit, it put the
parser into buffer mode, as the parser hits the tags it internally
counts up the number of true/false responses and the number of
showrandomfoil, then it reparses it, this time actually parsing the
foil sections and actively creating output at the show random foil tags
-PROB: more difficult to code/hide
------------------
<outtext>
all data is assumed to be html, we will attempt to autoconvert to
whatever the output target is.
------------------
targetted output
In all strings in the perl section and <outtext> blocks you can have
<target type="X" dest="Y,Z"> some text </target>
where X Y and Z are valid target for homework. Examples are web,tex,?pdf?,ascii
type defines what target the data is already formatted in,
dest defines what targets it should be autoconverted for, (input
format is assumed to be a valid output format).
If the current target isn't a possible dest, the data will be ignored.
Shorthand:
<tex> </tex> == <target type="tex"> </target>
<tex dest="web"> </tex> == <target type="tex" dest="web"> </target>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>