Annotation of doc/homework/question.2.xml, revision 1.1
1.1 ! albertel 1: <problem>
! 2: <include>
! 3: <parserlib>multiple_choice_tag</parserlib>
! 4: </include
! 5: <outtext>
! 6: Please select the fruit from the list below.
! 7: </outtext>
! 8: <multiplechoice
! 9: numoftrueleafs=2
! 10: numoffalseleafs=4
! 11: numofpresentedleafs=4>
! 12: </multiplechoice>
! 13: <randomlist>
! 14: <comment>
! 15: this tag implements a condition like:
! 16: condition="&ismemberoflist(1,@whichfalse)"
! 17: </comment>
! 18:
! 19: <multiplechoiceresponse type="false">
! 20: <radio value=false> Trucks </radio>
! 21: </multiplechoiceresponse>
! 22: <multiplechoiceresponse type="false">
! 23: <radio value=false> Cars </radio>
! 24: </multiplechoiceresponse>
! 25: <multiplechoiceresponse type="false">
! 26: <radio value=false> Guy Albertelli </radio>
! 27: </multiplechoiceresponse>
! 28: <multiplechoiceresponse type="false">
! 29: <radio value=false> Computers </radio>
! 30: </multiplechoiceresponse>
! 31:
! 32: <comment>
! 33: type true gives a condition similar to
! 34: "1==$whichtrue"
! 35: </comment>
! 36: <multiplechoiceresponse type="true">
! 37: <radio value=true condition="1==$whichtrue">Oranges</radio>
! 38: </multiplechoiceresponse>
! 39: <multiplechoiceresponse type="true">
! 40: <radio value=true condition="2==$whichtrue">Tomatoes</radio>
! 41: </multiplechoiceresponse>
! 42: </randomlist>
! 43: </problem>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>