Annotation of modules/damieng/graphical_editor/loncapa_daxe/web/templates.xml, revision 1.4

1.1       damieng     1: <?xml version="1.0" encoding="UTF-8"?>
                      2: 
                      3: <!--
                      4: NOTE: this file is supposed to be generated on-the-fly by the server.
                      5: 
                      6: It contains a list of menus (possibly containing submenus) to insert templates.
                      7: 
                      8: Structure:
                      9:   - templates contains several menu elements
                     10:   - menu contains several title, menu and item elements
                     11:   - item contains one path, one type and several title and help elements
                     12:   - title and help have a lang attribute
                     13:   - the type element has to be the name of an element in the schema
                     14:     (it is used to avoid having to parse the templates to check insertion possibilities)
                     15: 
                     16: One reason for using XML instead of JSON here is that we can use comments such as this one.
                     17: Another reason is that it is a lot easier to read.
                     18: -->
                     19: 
                     20: <templates>
                     21:   <menu>
                     22:     <title lang="en">Full Problems</title>
                     23:     <menu>
                     24:       <title lang="en">Multiple Choice</title>
                     25:       <item>
                     26:         <path>templates/problems/RadioResponse.problem.xml</path>
                     27:         <type>problem</type>
                     28:         <title lang="en">Radio Button Response</title>
                     29:       </item>
                     30:       <item>
                     31:         <path>templates/problems/randomvalueradio.problem.xml</path>
                     32:         <type>problem</type>
                     33:         <title lang="en">Randomized Question Stem Radio Button Resp.</title>
                     34:       </item>
                     35:       <item>
                     36:         <path>templates/problems/SimpleTrueFalse.problem.xml</path>
                     37:         <type>problem</type>
                     38:         <title lang="en">Option Response - True/False</title>
                     39:       </item>
                     40:       <item>
                     41:         <path>templates/problems/SelectFromOptions-4ConceptGoups.problem.xml</path>
                     42:         <type>problem</type>
                     43:         <title lang="en">Option Response - Concept Groups</title>
                     44:       </item>
                     45:       <item>
                     46:         <path>templates/problems/RandomLabelExample.problem.xml</path>
                     47:         <type>problem</type>
                     48:         <title lang="en">Randomly Labelled Image with Option Resp.</title>
                     49:       </item>
                     50:       <item>
                     51:         <path>templates/problems/SelectFromOptions-Simple.problem.xml</path>
                     52:         <type>problem</type>
                     53:         <title lang="en">Option Response - Matching</title>
                     54:       </item>
                     55:       <item>
                     56:         <path>templates/problems/SimpleMatching.problem.xml</path>
                     57:         <type>problem</type>
                     58:         <title lang="en">Matching Response</title>
                     59:       </item>
                     60:       <item>
                     61:         <path>templates/problems/SimpleRank.problem.xml</path>
                     62:         <type>problem</type>
                     63:         <title lang="en">Rank Response</title>
                     64:       </item>
                     65:     </menu>
                     66:     <menu>
                     67:       <title lang="en">Numerical</title>
                     68:       <item>
                     69:         <path>templates/problems/numerical.problem.xml</path>
                     70:         <type>problem</type>
                     71:         <title lang="en">Numerical Response</title>
                     72:       </item>
                     73:       <item>
                     74:         <path>templates/problems/MultipleAnswerEither.problem.xml</path>
                     75:         <type>problem</type>
                     76:         <title lang="en">One of Multiple Answers Numerical Problem</title>
                     77:       </item>
                     78:       <item>
                     79:         <path>templates/problems/numMultiAnswerUnordered.problem.xml</path>
                     80:         <type>problem</type>
                     81:         <title lang="en">Numerical Response Multiple Answers unordered</title>
                     82:       </item>
                     83:       <item>
                     84:         <path>templates/problems/numPrePro.problem.xml</path>
                     85:         <type>problem</type>
                     86:         <title lang="en">Numerical Response with Pre-Processing</title>
                     87:       </item>
                     88:       <item>
                     89:         <path>templates/problems/Plot_curve.problem.xml</path>
                     90:         <type>problem</type>
                     91:         <title lang="en">Curve Plot with Numerical Response</title>
                     92:       </item>
                     93:       <item>
                     94:         <path>templates/problems/Plot_data.problem.xml</path>
                     95:         <type>problem</type>
                     96:         <title lang="en">Data Plot with Numerical Response</title>
                     97:       </item>
                     98:       <item>
                     99:         <path>templates/problems/customunit.problem.xml</path>
                    100:         <type>problem</type>
                    101:         <title lang="en">Numerical Response with Custom Units</title>
                    102:       </item>
                    103:     </menu>
                    104:     <menu>
                    105:       <title lang="en">Algebra</title>
                    106:       <item>
                    107:         <path>templates/problems/SimpleMathResponse.problem.xml</path>
                    108:         <type>problem</type>
                    109:         <title lang="en">Math Response using C.A.S. MAXIMA</title>
                    110:       </item>
                    111:       <item>
                    112:         <path>templates/problems/SimpleMathResponseR.problem.xml</path>
                    113:         <type>problem</type>
                    114:         <title lang="en">Math Response using C.A.S. R</title>
                    115:       </item>
                    116:       <item>
                    117:         <path>templates/problems/HintMathResponse.problem.xml</path>
                    118:         <type>problem</type>
                    119:         <title lang="en">Math Response using C.A.S. and Hints</title>
                    120:       </item>
                    121:       <item>
                    122:         <path>templates/problems/SimpleFormula.problem.xml</path>
                    123:         <type>problem</type>
                    124:         <title lang="en">Formula Response with Samples</title>
                    125:       </item>
                    126:       <item>
1.4     ! damieng   127:         <path>templates/problems/SimpleFormulaCAS.problem.xml</path>
1.1       damieng   128:         <type>problem</type>
1.4     ! damieng   129:         <title lang="en">Formula Response using C.A.S.</title>
1.1       damieng   130:       </item>
                    131:       <item>
1.4     ! damieng   132:         <path>templates/problems/HintFormula.problem.xml</path>
1.1       damieng   133:         <type>problem</type>
1.4     ! damieng   134:         <title lang="en">Formula Response using C.A.S. and Hints</title>
1.1       damieng   135:       </item>
                    136:       <item>
                    137:         <path>templates/problems/MultipleAnswerUnordered.problem.xml</path>
                    138:         <type>problem</type>
                    139:         <title lang="en">Unordered Multi-Answer Formula Response</title>
                    140:       </item>
                    141:       <item>
                    142:         <path>templates/problems/Rnumerical.problem.xml</path>
                    143:         <type>problem</type>
                    144:         <title lang="en">Formula Response with C.A.S. R and Data Plot</title>
                    145:       </item>
                    146:       <item>
                    147:         <path>templates/problems/custom_equation.problem.xml</path>
                    148:         <type>problem</type>
                    149:         <title lang="en">Custom Response comparing Equations with C.A.S.</title>
                    150:       </item>
                    151:     </menu>
                    152:     <menu>
                    153:       <title lang="en">Chemistry</title>
                    154:       <item>
                    155:         <path>templates/problems/organic.problem.xml</path>
                    156:         <type>problem</type>
                    157:         <title lang="en">Organic Material Response</title>
                    158:       </item>
                    159:       <item>
                    160:         <path>templates/problems/organic_hint.problem.xml</path>
                    161:         <type>problem</type>
                    162:         <title lang="en">Organic Material Response with Hint</title>
                    163:       </item>
                    164:       <item>
                    165:         <path>templates/problems/reaction.problem.xml</path>
                    166:         <type>problem</type>
                    167:         <title lang="en">Chemical Reaction Response</title>
                    168:       </item>
                    169:       <item>
                    170:         <path>templates/problems/reaction_hint.problem.xml</path>
                    171:         <type>problem</type>
                    172:         <title lang="en">Chemical Reaction Response with Hints</title>
                    173:       </item>
                    174:     </menu>
                    175:     <menu>
                    176:       <title lang="en">Handgraded</title>
                    177:       <item>
                    178:         <path>templates/problems/DropBox.problem.xml</path>
                    179:         <type>problem</type>
                    180:         <title lang="en">Drop Box</title>
                    181:       </item>
                    182:       <item>
                    183:         <path>templates/problems/Essay.problem.xml</path>
                    184:         <type>problem</type>
                    185:         <title lang="en">Essay Response</title>
                    186:       </item>
                    187:     </menu>
                    188:     <menu>
                    189:       <title lang="en">Input-Dependent</title>
                    190:       <item>
                    191:         <path>templates/problems/answerdependent.problem.xml</path>
                    192:         <type>problem</type>
                    193:         <title lang="en">Using Learner Answer in Multipart Numerical</title>
                    194:       </item>
                    195:       <item>
                    196:         <path>templates/problems/dynamicgraph.problem.xml</path>
                    197:         <type>problem</type>
                    198:         <title lang="en">Using Learner Formula in Graph with Formula Resp.</title>
                    199:       </item>
                    200:       <item>
                    201:         <path>templates/problems/extreme.problem.xml</path>
                    202:         <type>problem</type>
                    203:         <title lang="en">Using Learner Formula in Graph with Math Resp.</title>
                    204:       </item>
                    205:     </menu>
                    206:     <menu>
                    207:       <title lang="en">Free Form</title>
                    208:       <item>
                    209:         <path>templates/problems/StringResponse.problem.xml</path>
                    210:         <type>problem</type>
                    211:         <title lang="en">String Response</title>
                    212:       </item>
                    213:       <item>
                    214:         <path>templates/problems/stringPrePro.problem.xml</path>
                    215:         <type>problem</type>
                    216:         <title lang="en">String Response with Pre-Processing</title>
                    217:       </item>
                    218:       <item>
                    219:         <path>templates/problems/CustomResponse.problem.xml</path>
                    220:         <type>problem</type>
                    221:         <title lang="en">Custom Response</title>
                    222:       </item>
                    223:       <item>
                    224:         <path>templates/problems/customhints.problem.xml</path>
                    225:         <type>problem</type>
                    226:         <title lang="en">Custom Response using C.A.S. and Hints</title>
                    227:       </item>
                    228:       <item>
                    229:         <path>templates/problems/custompartial.problem.xml</path>
                    230:         <type>problem</type>
                    231:         <title lang="en">Custom Response with Partial Credit</title>
                    232:       </item>
                    233:       <item>
                    234:         <path>templates/problems/functionplotback.problem.xml</path>
                    235:         <type>problem</type>
                    236:         <title lang="en">Functionplotresponse with Background Plot</title>
                    237:       </item>
                    238:       <item>
                    239:         <path>templates/problems/functionplotone.problem.xml</path>
                    240:         <type>problem</type>
                    241:         <title lang="en">Functionplotresponse with Labels</title>
                    242:       </item>
                    243:       <item>
                    244:         <path>templates/problems/functionplottwo.problem.xml</path>
                    245:         <type>problem</type>
                    246:         <title lang="en">Functionplotresponse with two Splines and Hints</title>
                    247:       </item>
                    248:       <item>
                    249:         <path>templates/problems/functionplotvector.problem.xml</path>
                    250:         <type>problem</type>
                    251:         <title lang="en">Functionplotresponse with Vectors and Hints</title>
                    252:       </item>
                    253:       <item>
                    254:         <path>templates/problems/sampleexternal.problem.xml</path>
                    255:         <type>problem</type>
                    256:         <title lang="en">External Response</title>
                    257:       </item>
                    258:     </menu>
                    259:     <menu>
                    260:       <title lang="en">Miscellaneous</title>
                    261:       <item>
                    262:         <path>templates/problems/blank.problem.xml</path>
                    263:         <type>problem</type>
                    264:         <title lang="en">Blank Problem</title>
                    265:       </item>
                    266:       <item>
                    267:         <path>templates/problems/ClickImageExample.problem.xml</path>
                    268:         <type>problem</type>
                    269:         <title lang="en">Click-On-Image Problem</title>
                    270:       </item>
                    271:       <item>
                    272:         <path>templates/problems/SelectFromOptions-multilingual.problem.xml</path>
                    273:         <type>problem</type>
                    274:         <title lang="en">Option Response - Matching (multilingual)</title>
                    275:       </item>
                    276:     </menu>
                    277:   </menu>
                    278:   <menu>
                    279:     <title lang="en">Responses</title>
                    280:     <item>
                    281:       <path>templates/responses/radiobuttonresponse.xml</path>
                    282:       <type>radiobuttonresponse</type>
                    283:       <title lang="en">One of N Statements</title>
                    284:     </item>
                    285:     <item>
                    286:       <path>templates/responses/optionresponse.xml</path>
                    287:       <type>optionresponse</type>
                    288:       <title lang="en">Select from Options</title>
                    289:     </item>
                    290:     <item>
1.2       damieng   291:       <path>templates/responses/checkboxresponse.xml</path>
                    292:       <type>optionresponse</type>
                    293:       <title lang="en">Select from Checkboxes</title>
                    294:     </item>
                    295:     <item>
1.1       damieng   296:       <path>templates/responses/stringresponse.xml</path>
                    297:       <type>stringresponse</type>
                    298:       <title lang="en">String</title>
                    299:     </item>
                    300:     <item>
                    301:       <path>templates/responses/essayresponse.xml</path>
                    302:       <type>essayresponse</type>
                    303:       <title lang="en">Essay</title>
                    304:     </item>
                    305:     <item>
                    306:       <path>templates/responses/rankresponse.xml</path>
                    307:       <type>rankresponse</type>
                    308:       <title lang="en">Rank Values</title>
                    309:     </item>
                    310:     <item>
                    311:       <path>templates/responses/matchresponse.xml</path>
                    312:       <type>matchresponse</type>
                    313:       <title lang="en">Match Two Lists</title>
                    314:     </item>
                    315:     <item>
                    316:       <path>templates/responses/numericalresponse.xml</path>
                    317:       <type>numericalresponse</type>
                    318:       <title lang="en">Numerical</title>
                    319:     </item>
                    320:     <item>
                    321:       <path>templates/responses/formularesponse.xml</path>
                    322:       <type>formularesponse</type>
                    323:       <title lang="en">Formula</title>
                    324:     </item>
                    325:     <item>
1.3       damieng   326:       <path>templates/responses/math_maxima.xml</path>
1.1       damieng   327:       <type>mathresponse</type>
1.3       damieng   328:       <title lang="en">Math with Maxima</title>
                    329:     </item>
                    330:     <item>
                    331:       <path>templates/responses/math_r.xml</path>
                    332:       <type>mathresponse</type>
                    333:       <title lang="en">Math with R</title>
1.1       damieng   334:     </item>
                    335:     <item>
                    336:       <path>templates/responses/organicresponse.xml</path>
                    337:       <type>organicresponse</type>
                    338:       <title lang="en">Organic Chemical Structure</title>
                    339:     </item>
                    340:     <item>
                    341:       <path>templates/responses/reactionresponse.xml</path>
                    342:       <type>reactionresponse</type>
                    343:       <title lang="en">Chemical Reaction</title>
                    344:     </item>
                    345:     <item>
                    346:       <path>templates/responses/functionplotresponse.xml</path>
                    347:       <type>functionplotresponse</type>
                    348:       <title lang="en">Function Plot</title>
                    349:     </item>
                    350:     <item>
1.3       damieng   351:       <path>templates/responses/imageresponse.xml</path>
                    352:       <type>imageresponse</type>
                    353:       <title lang="en">Click on Image</title>
                    354:     </item>
                    355:     <item>
1.1       damieng   356:       <path>templates/responses/customresponse.xml</path>
                    357:       <type>customresponse</type>
                    358:       <title lang="en">Custom</title>
                    359:     </item>
                    360:     <item>
                    361:       <path>templates/responses/externalresponse.xml</path>
                    362:       <type>externalresponse</type>
                    363:       <title lang="en">External</title>
                    364:     </item>
                    365:   </menu>
                    366: </templates>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>