[LON-CAPA-cvs] cvs: loncom /homework insertlist.xml
albertel
lon-capa-cvs@mail.lon-capa.org
Sun, 18 Feb 2007 01:59:35 -0000
albertel Sat Feb 17 20:59:35 2007 EDT
Modified files:
/loncom/homework insertlist.xml
Log:
- addin the answer/Task tags
Index: loncom/homework/insertlist.xml
diff -u loncom/homework/insertlist.xml:1.2 loncom/homework/insertlist.xml:1.3
--- loncom/homework/insertlist.xml:1.2 Sat Feb 17 20:57:24 2007
+++ loncom/homework/insertlist.xml Sat Feb 17 20:59:35 2007
@@ -8,7 +8,35 @@
<description>Response: Numerical</description>
<color>#00cc22</color>
<insert_sub>insert_numericalresponse</insert_sub>
- <allow>hintgroup,responseparam,textline,answergroup</allow>
+ <allow>hintgroup,responseparam,textline,caparesponse::answergroup</allow>
+ </tag>
+ <tag name="formularesponse">
+ <description>Response: Formula</description>
+ <color>#22cc55</color>
+ <insert_sub>insert_formularesponse</insert_sub>
+ <allow>hintgroup,responseparam,textline,caparesponse::answergroup</allow>
+ </tag>
+ <tag name="caparesponse::answergroup">
+ <description>Collection of Answers</description>
+ <color>#55cc55</color>
+ <insert_sub>Apache::caparesponse::insert_answergroup</insert_sub>
+ <allow>caparesponse::answer</allow>
+ </tag>
+ <tag name="caparesponse::answer">
+ <description>Answer</description>
+ <color>#99ff88</color>
+ <insert_sub>Apache::caparesponse::insert_answer</insert_sub>
+ <allow>caparesponse::vector,caparesponse::value</allow>
+ </tag>
+ <tag name="caparesponse::value">
+ <description>Value</description>
+ <color>#aaff99</color>
+ <insert_sub>Apache::caparesponse::insert_value</insert_sub>
+ </tag>
+ <tag name="caparesponse::vector">
+ <description>Vector</description>
+ <color>#aaff99</color>
+ <insert_sub>Apache::caparesponse::insert_vector</insert_sub>
</tag>
<tag name="stringresponse">
<description>Response: String</description>
@@ -16,12 +44,6 @@
<insert_sub>insert_stringresponse</insert_sub>
<allow>hintgroup,responseparam,textline</allow>
</tag>
- <tag name="formularesponse">
- <description>Response: Formula</description>
- <color>#22cc55</color>
- <insert_sub>insert_formularesponse</insert_sub>
- <allow>hintgroup,responseparam,textline,answergroup</allow>
- </tag>
<tag name="essayresponse">
<description>Response: Essay</description>
<color>#33cc55</color>
@@ -553,4 +575,81 @@
<file>Authoring_Dynamic_Plot_Tics</file>
</help>
</tag>
+<!--
+FIXME
+Needs Parms
+'Task',OptionalRequired
+
+Nedds converison to use standard insertions...
+'IntroParagraph','ClosingParagraph','InstanceText','GraderNote','QuestionText','CriteriaText'
+
+-->
+ <tag name="Task">
+ <description>Start of Task</description>
+ <color>#FFFFFF</color>
+ <insert_sub>default</insert_sub>
+ <allow>IntroParagraph,Setup,Question,Criteria,ClosingParagraph</allow>
+ </tag>
+ <tag name="IntroParagraph">
+ <description>Introductory Text</description>
+ <color>#FFFFFF</color>
+ <insert_sub>default</insert_sub>
+ <allow></allow>
+ </tag>
+ <tag name="ClosingParagraph">
+ <description>Closing Text</description>
+ <color>#FFFFFF</color>
+ <insert_sub>default</insert_sub>
+ <allow></allow>
+ </tag>
+
+ <tag name="Question">
+ <description>Question</description>
+ <color>#FFFFFF</color>
+ <insert_sub>default</insert_sub>
+ <allow>Instance,QuestionText,Question,Criteria</allow>
+ </tag>
+ <tag name="QuestionText">
+ <description>Question Text</description>
+ <color>#FFFFFF</color>
+ <insert_sub>default</insert_sub>
+ <!-- allowed by edit not supportted yet
+ <allow>Question,Criteria</allow>-->
+ </tag>
+ <tag name="Setup">
+ <description>Setup....</description>
+ <color>#FFFFFF</color>
+ <insert_sub>default</insert_sub>
+ <allow>Instance</allow>
+ </tag>
+ <tag name="Instance">
+ <description>Specific Question Instance</description>
+ <color>#FFFFFF</color>
+ <insert_sub>default</insert_sub>
+ <allow>InstanceText,Criteria</allow>
+ </tag>
+ <tag name="InstanceText">
+ <description>Text for the Instance</description>
+ <color>#FFFFFF</color>
+ <insert_sub>default</insert_sub>
+ <allow></allow>
+ </tag>
+ <tag name="Criteria">
+ <description>Question Criteria</description>
+ <color>#FFFFFF</color>
+ <insert_sub>default</insert_sub>
+ <allow>GraderNote,CriteriaText</allow>
+ </tag>
+ <tag name="CriteriaText">
+ <description>Criteria Text</description>
+ <color>#FFFFFF</color>
+ <insert_sub>default</insert_sub>
+ <allow></allow>
+ </tag>
+ <tag name="GraderNote">
+ <description>Text to display to Grader</description>
+ <color>#FFFFFF</color>
+ <insert_sub>default</insert_sub>
+ <allow></allow>
+ </tag>
</insertlist>