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

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

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