Annotation of loncom/html/adm/help/loncapa.html, revision 1.2
1.1 damieng 1: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2: <html>
3: <head>
4: <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
1.2 ! damieng 5: <title>LON-CAPA language reference</title>
1.1 damieng 6: <style type="text/css">
7: body { color: #000000; background: #FFFFFF }
1.2 ! damieng 8: .documentation { font-family: monospace; color: #005500; white-space: pre-line; margin-bottom: 1em }
1.1 damieng 9: .grandlien { font-size: 120%; font-weight: bold }
10: .nomtitre { color: #550000 }
11: .nomattribut { color: #000055; font-weight: bold }
12: .indentation { margin-left: 2em; margin-top: 1em; margin-bottom: 1em }
1.2 ! damieng 13: ul { margin-top: 0.5em }
1.1 damieng 14: </style>
15: </head>
16: <body>
1.2 ! damieng 17: <div align="center"><h1>LON-CAPA language reference</h1></div>
1.1 damieng 18: <br><span class="grandlien"><a href="#index">Go to index</a><br></span><hr>
19:
1.2 ! damieng 20: <div class="documentation"> XML schema for LON-CAPA documents.
1.1 damieng 21: </div>
1.2 ! damieng 22: <hr>
1.1 damieng 23:
24:
25:
26:
27:
1.2 ! damieng 28: <div class="documentation"> Shared simple types.
1.1 damieng 29: </div>
1.2 ! damieng 30: <hr>
1.1 damieng 31:
32: <a name="perl_0"></a><h3>Simple type <span class="nomtitre">perl</span>
33: </h3>
34: Value restriction based on xs:string<ul>
35: <li><tt>\s*-?(($|&)([#|$]*[A-Za-z][\w_]*|\{[A-Za-z][\w_]*\}))([\[\{].+[\]\}])*(\([^$&\)]+\))*\s*</tt></li>
36: </ul>
37: <hr>
38: <a name="int-or-perl_0"></a><h3>Simple type <span class="nomtitre">int-or-perl</span>
39: </h3>
1.2 ! damieng 40: Union of types<ul>
! 41: <li><tt>xs:int</tt></li>
! 42: <li><a href="#perl_0">perl</a></li>
! 43: </ul>
1.1 damieng 44: <hr>
45: <a name="non-negative-int-or-perl_0"></a><h3>Simple type <span class="nomtitre">non-negative-int-or-perl</span>
46: </h3>
1.2 ! damieng 47: Union of types<ul>
! 48: <li><tt>xs:nonNegativeInteger</tt></li>
! 49: <li><a href="#perl_0">perl</a></li>
! 50: </ul>
1.1 damieng 51: <hr>
52: <a name="decimal-or-perl_0"></a><h3>Simple type <span class="nomtitre">decimal-or-perl</span>
53: </h3>
1.2 ! damieng 54: Union of types<ul>
! 55: <li><tt>xs:decimal</tt></li>
! 56: <li><a href="#perl_0">perl</a></li>
! 57: </ul>
1.1 damieng 58: <hr>
59: <a name="real_0"></a><h3>Simple type <span class="nomtitre">real</span>
60: </h3>
61: Value restriction based on xs:string<ul>
62: <li><tt>[+-]?\d*\.?\d*([eE][+-]?\d+)?</tt></li>
63: </ul>
64: <hr>
65: <a name="real-or-perl_0"></a><h3>Simple type <span class="nomtitre">real-or-perl</span>
66: </h3>
1.2 ! damieng 67: Union of types<ul>
! 68: <li><a href="#real_0">real</a></li>
! 69: <li><a href="#perl_0">perl</a></li>
! 70: </ul>
1.1 damieng 71: <hr>
72: <a name="yesno_0"></a><h3>Simple type <span class="nomtitre">yesno</span>
73: </h3>
74: Value restriction based on xs:string<ul>
75: <li><tt>yes</tt></li>
76: <li><tt>no</tt></li>
77: </ul>
78: <hr>
79: <a name="yesno-or-perl_0"></a><h3>Simple type <span class="nomtitre">yesno-or-perl</span>
80: </h3>
1.2 ! damieng 81: Union of types<ul>
! 82: <li><a href="#yesno_0">yesno</a></li>
! 83: <li><a href="#perl_0">perl</a></li>
! 84: </ul>
1.1 damieng 85: <hr>
86: <a name="onoff_0"></a><h3>Simple type <span class="nomtitre">onoff</span>
87: </h3>
88: Value restriction based on xs:string<ul>
89: <li><tt>on</tt></li>
90: <li><tt>off</tt></li>
91: </ul>
92: <hr>
93: <a name="onoff-or-perl_0"></a><h3>Simple type <span class="nomtitre">onoff-or-perl</span>
94: </h3>
1.2 ! damieng 95: Union of types<ul>
! 96: <li><a href="#onoff_0">onoff</a></li>
! 97: <li><a href="#perl_0">perl</a></li>
! 98: </ul>
1.1 damieng 99: <hr>
100: <a name="color_0"></a><h3>Simple type <span class="nomtitre">color</span>
101: </h3>
102: Value restriction based on xs:string<ul>
103: <li><tt>[x#][\da-fA-F]{6}</tt></li>
104: </ul>
105: <hr>
106: <a name="color-or-perl_0"></a><h3>Simple type <span class="nomtitre">color-or-perl</span>
107: </h3>
1.2 ! damieng 108: Union of types<ul>
! 109: <li><a href="#color_0">color</a></li>
! 110: <li><a href="#perl_0">perl</a></li>
! 111: </ul>
1.1 damieng 112: <hr>
113: <a name="location_0"></a><h3>Simple type <span class="nomtitre">location</span>
114: </h3>
115: Value restriction based on xs:string<ul>
116: <li><tt>random</tt></li>
117: <li><tt>top</tt></li>
118: <li><tt>bottom</tt></li>
119: </ul>
120: <hr>
121: <a name="location-or-perl_0"></a><h3>Simple type <span class="nomtitre">location-or-perl</span>
122: </h3>
1.2 ! damieng 123: Union of types<ul>
! 124: <li><a href="#location_0">location</a></li>
! 125: <li><a href="#perl_0">perl</a></li>
! 126: </ul>
1.1 damieng 127: <hr>
128:
129:
1.2 ! damieng 130: <div class="documentation"> Shared attributes
1.1 damieng 131: </div>
1.2 ! damieng 132: <hr>
1.1 damieng 133:
134: Attribute <span class="nomattribut">TeXsize</span>:
135: <div class="indentation">optional<br>
136:
1.2 ! damieng 137: <div class="documentation"> Size of LaTeX fonts used in printing.
1.1 damieng 138:
139: Possible values of TeXsize attribute:
140: - tiny: smallest
141: - scriptsize: very small
142: - footnotesize: smaller
143: - small: small
144: - normalsize: normal
145: - large: large
146: - Large: larger
147: - LARGE: even larger
148: - huge: still larger
149: - Huge: largest
150:
151: Note, that all parameters coincide with standard LaTeX commands for changing font size though you do not escape them.
152: </div>
153:
154:
1.2 ! damieng 155: Union of types<ul>
! 156: <li><a href="#perl_0">perl</a></li>
! 157: <li>
1.1 damieng 158: Value restriction based on xs:string<ul>
159: <li><tt>tiny</tt></li>
160: <li><tt>scriptsize</tt></li>
161: <li><tt>footnotesize</tt></li>
162: <li><tt>small</tt></li>
163: <li><tt>normalsize</tt></li>
164: <li><tt>large</tt></li>
165: <li><tt>Large</tt></li>
166: <li><tt>LARGE</tt></li>
167: <li><tt>huge</tt></li>
168: <li><tt>Huge</tt></li>
169: </ul>
1.2 ! damieng 170: </li>
! 171: </ul>
1.1 damieng 172:
173: </div>
174:
175:
1.2 ! damieng 176: <div class="documentation"> Problem (root element)
1.1 damieng 177: </div>
1.2 ! damieng 178: <hr>
1.1 damieng 179:
180: <a name="problem_0"></a><h3>Element <span class="nomtitre">problem</span>
181: </h3>
182:
1.2 ! damieng 183: <div class="documentation"> Root for .problem documents.
1.1 damieng 184:
185: This must be first in the file. It sets up the header of the webpage and generates the submit buttons. It also handles due dates properly.
186: </div>
187:
188: Can contain text<br><div class="indentation">
189: Choice between:<ul>
190: <li>
191: <a href="#head_0">head</a><br>
192: </li>
193: <li>
194: <a href="#text-with-parts_0">text-with-parts</a><br>
195: </li>
196: <li>
197: <a href="#inserts_0">inserts</a><br>
198: </li>
199: <li>
200: <a href="#allow_0">allow</a><br>
201: </li>
202: <li>
203: <a href="#meta_0">meta</a><br>
204: </li>
205: <li>
206: <a href="#parameter_0">parameter</a><br>
207: </li>
208: <li>
209: <a href="#parserlib_0">parserlib</a><br>
210: </li>
211: <li>
212: <a href="#scriptlib_0">scriptlib</a><br>
213: </li>
214: </ul>
215: </div>
216: <br><br><hr>
217:
218:
1.2 ! damieng 219: <div class="documentation"> Library (root element)
1.1 damieng 220: </div>
1.2 ! damieng 221: <hr>
1.1 damieng 222:
223: <a name="library_0"></a><h3>Element <span class="nomtitre">library</span>
224: </h3>
225:
1.2 ! damieng 226: <div class="documentation"> Root for .library documents.
1.1 damieng 227: A LON-CAPA .library file can contain just a script block, or just response items, or both.
228: Library content is loaded into a problem statement by using an <import> element.
229: </div>
230:
231: Can contain text<br><div class="indentation">
232: Choice between:<ul>
233: <li>
234: <a href="#text-with-responses_0">text-with-responses</a><br>
235: </li>
236: <li>
237: <a href="#inserts_0">inserts</a><br>
238: </li>
239: <li>
240: <a href="#part_0">part</a><br>
241: </li>
242: <li>
243: <a href="#parserlib_0">parserlib</a><br>
244: </li>
245: <li>
246: <a href="#scriptlib_0">scriptlib</a><br>
247: </li>
248: </ul>
249: </div>
250: <br><br><hr>
251:
252:
1.2 ! damieng 253: <div class="documentation"> Groups of block and inline elements.
1.1 damieng 254: </div>
1.2 ! damieng 255: <hr>
1.1 damieng 256:
257: <a name="text-with-parts_0"></a><h3>Group <span class="nomtitre">text-with-parts</span>
258: </h3>
259:
1.2 ! damieng 260: <div class="documentation"> List of block and inline elements mixed with text. These elements can contain parts and responses.
1.1 damieng 261: </div>
262:
263: Choice between:<ul>
264: <li>
265: <a href="#part_0">part</a><br>
266: </li>
267: <li>
268: <a href="#responses_0">responses</a><br>
269: </li>
270: <li>
271: <a href="#blocks-with-parts_0">blocks-with-parts</a><br>
272: </li>
273: <li>
274: <a href="#inlines_0">inlines</a><br>
275: </li>
276: </ul>
1.2 ! damieng 277: <br>Parents: <a href="#problem_0">problem</a><br><hr>
1.1 damieng 278: <a name="text-with-responses_0"></a><h3>Group <span class="nomtitre">text-with-responses</span>
279: </h3>
280:
1.2 ! damieng 281: <div class="documentation"> List of block and inline elements mixed with text. These elements can contain responses but not parts.
1.1 damieng 282: </div>
283:
284: Choice between:<ul>
285: <li>
286: <a href="#responses_0">responses</a><br>
287: </li>
288: <li>
289: <a href="#blocks-with-responses_0">blocks-with-responses</a><br>
290: </li>
291: <li>
292: <a href="#inlines_0">inlines</a><br>
293: </li>
294: </ul>
1.2 ! damieng 295: <br>Parents: <a href="#library_0">library</a>, <a href="#part_0">part</a>, <a href="#preduedate_0">preduedate</a>, <a href="#notsolved_0">notsolved</a>, <a href="#comment_0">comment</a><br><hr>
1.1 damieng 296: <a name="text-only_0"></a><h3>Group <span class="nomtitre">text-only</span>
297: </h3>
298:
1.2 ! damieng 299: <div class="documentation"> List of block and inline elements mixed with text. These elements cannot contain responses or parts.
1.1 damieng 300: </div>
301:
302: Choice between:<ul>
303: <li>
304: <a href="#blocks-with-text_0">blocks-with-text</a><br>
305: </li>
306: <li>
307: <a href="#inlines_0">inlines</a><br>
308: </li>
309: </ul>
1.2 ! damieng 310: <br>Parents: <a href="#stringresponse_0">stringresponse</a>, <a href="#essayresponse_0">essayresponse</a>, <a href="#radiobuttonresponse_0">radiobuttonresponse</a>, <a href="#optionresponse_0">optionresponse</a>, <a href="#matchresponse_0">matchresponse</a>, <a href="#rankresponse_0">rankresponse</a>, <a href="#imageresponse_0">imageresponse</a>, <a href="#numericalresponse_0">numericalresponse</a>, <a href="#formularesponse_0">formularesponse</a>, <a href="#mathresponse_0">mathresponse</a>, <a href="#functionplotresponse_0">functionplotresponse</a>, <a href="#organicresponse_0">organicresponse</a>, <a href="#reactionresponse_0">reactionresponse</a>, <a href="#customresponse_0">customresponse</a>, <a href="#externalresponse_0">externalresponse</a>, <a href="#dataresponse_0">dataresponse</a>, <a href="#hintgroup_0">hintgroup</a>, <a href="#hintpart_0">hintpart</a>, <a href="#IntroParagraph_0">IntroParagraph</a>, <a href="#ClosingParagraph_0">ClosingParagraph</a>, <a href="#QuestionText_0">QuestionText</a>, <a href="#InstanceText_0">InstanceText</a>, <a href="#CriteriaText_0">CriteriaText</a>, <a href="#GraderNote_0">GraderNote</a>, <a href="#postanswerdate_0">postanswerdate</a>, <a href="#solved_0">solved</a>, <a href="#while_0">while</a>, <a href="#print_0">print</a>, <a href="#web_0">web</a>, <a href="#standalone_0">standalone</a>, <a href="#languageblock_0">languageblock</a>, <a href="#translated_0">translated</a>, <a href="#lang_0">lang</a>, <a href="#window_0">window</a>, <a href="#windowlink_0">windowlink</a>, <a href="#togglebox_0">togglebox</a>, <a href="#instructorcomment_0">instructorcomment</a>, <a href="#header_0">header</a>, <a href="#footer_0">footer</a>, <a href="#aside_0">aside</a>, <a href="#caption_0">caption</a>, <a href="#th_0">th</a>, <a href="#address_0">address</a>, <a href="#blockquote_0">blockquote</a>, <a href="#figure_0">figure</a>, <a href="#figcaption_0">figcaption</a>, <a href="#object_0">object</a>, <a href="#applet_0">applet</a>, <a href="#fieldset_0">fieldset</a>, <a href="#button_0">button</a><br><hr>
1.1 damieng 311: <a name="universal-blocks_0"></a><h3>Group <span class="nomtitre">universal-blocks</span>
312: </h3>
313:
1.2 ! damieng 314: <div class="documentation"> Blocks with a content that does not depend on the scope, and that can appear anywhere with text and blocks.
1.1 damieng 315: </div>
316:
317: Choice between:<ul>
318: <li>
319: <a href="#randomlabel_0">randomlabel</a><br>
320: </li>
321: <li>
322: <a href="#import_0">import</a><br>
323: </li>
324: <li>
325: <a href="#while_0">while</a><br>
326: </li>
327: <li>
328: <a href="#tex_0">tex</a><br>
329: </li>
330: <li>
331: <a href="#print_0">print</a><br>
332: </li>
333: <li>
334: <a href="#web_0">web</a><br>
335: </li>
336: <li>
337: <a href="#standalone_0">standalone</a><br>
338: </li>
339: <li>
340: <a href="#script_0">script</a><br>
341: </li>
342: <li>
343: <a href="#languageblock_0">languageblock</a><br>
344: </li>
345: <li>
346: <a href="#window_0">window</a><br>
347: </li>
348: <li>
349: <a href="#windowlink_0">windowlink</a><br>
350: </li>
351: <li>
352: <a href="#togglebox_0">togglebox</a><br>
353: </li>
354: <li>
355: <a href="#instructorcomment_0">instructorcomment</a><br>
356: </li>
357: <li>
358: <a href="#comment_0">comment</a><br>
359: </li>
360: <li>
361: <a href="#gnuplot_0">gnuplot</a><br>
362: </li>
363: <li>
364: <a href="#organicstructure_0">organicstructure</a><br>
365: </li>
366: <li>
367: <a href="#drawimage_0">drawimage</a><br>
368: </li>
369: <li>
370: <a href="#solved_0">solved</a><br>
371: </li>
372: <li>
373: <a href="#notsolved_0">notsolved</a><br>
374: </li>
375: <li>
376: <a href="#heading_1">heading</a><br>
377: </li>
378: <li>
379: <a href="#noscript_0">noscript</a><br>
380: </li>
381: <li>
382: <a href="#header_0">header</a><br>
383: </li>
384: <li>
385: <a href="#footer_0">footer</a><br>
386: </li>
387: <li>
388: <a href="#aside_0">aside</a><br>
389: </li>
390: <li>
391: <a href="#pre_0">pre</a><br>
392: </li>
393: <li>
394: <a href="#hr_0">hr</a><br>
395: </li>
396: <li>
397: <a href="#address_0">address</a><br>
398: </li>
399: <li>
400: <a href="#blockquote_0">blockquote</a><br>
401: </li>
402: <li>
403: <a href="#figure_0">figure</a><br>
404: </li>
405: <li>
406: <a href="#object_0">object</a><br>
407: </li>
408: <li>
409: <a href="#applet_0">applet</a><br>
410: </li>
411: <li>
412: <a href="#embed_0">embed</a><br>
413: </li>
414: <li>
415: <a href="#video_0">video</a><br>
416: </li>
417: <li>
418: <a href="#audio_0">audio</a><br>
419: </li>
420: <li>
421: <a href="#map_0">map</a><br>
422: </li>
423: <li>
424: <a href="#canvas_0">canvas</a><br>
425: </li>
426: <li>
427: <a href="#form_1">form</a><br>
428: </li>
429: <li>
430: <a href="#fieldset_0">fieldset</a><br>
431: </li>
432: <li>
433: <a href="#iframe_0">iframe</a><br>
434: </li>
435: </ul>
1.2 ! damieng 436: <br>Parents: <a href="#blocks-with-parts_0">blocks-with-parts</a>, <a href="#blocks-with-responses_0">blocks-with-responses</a>, <a href="#blocks-with-text_0">blocks-with-text</a><br><hr>
1.1 damieng 437: <a name="blocks-with-parts_0"></a><h3>Group <span class="nomtitre">blocks-with-parts</span>
438: </h3>
439: Choice between:<ul>
440: <li>
441: <a href="#universal-blocks_0">universal-blocks</a><br>
442: </li>
443: <li>
444: <a name="block_0"></a><h3>Element <span class="nomtitre">block</span>
445: </h3>type: <a href="#block-with-parts_0">block-with-parts</a><br><br>
446: </li>
447: <li>
448: <a name="problemtype_0"></a><h3>Element <span class="nomtitre">problemtype</span>
449: </h3>type: <a href="#problemtype-with-parts_0">problemtype-with-parts</a><br><br>
450: </li>
451: <li>
452: <a name="randomlist_0"></a><h3>Element <span class="nomtitre">randomlist</span>
453: </h3>type: <a href="#randomlist-with-parts_0">randomlist-with-parts</a><br><br>
454: </li>
455: <li>
456: <a name="section_0"></a><h3>Element <span class="nomtitre">section</span>
457: </h3>type: <a href="#section-with-parts_0">section-with-parts</a><br><br>
458: </li>
459: <li>
460: <a name="div_0"></a><h3>Element <span class="nomtitre">div</span>
461: </h3>type: <a href="#div-with-parts_0">div-with-parts</a><br><br>
462: </li>
463: <li>
464: <a name="p_0"></a><h3>Element <span class="nomtitre">p</span>
465: </h3>type: <a href="#p-with-responses_0">p-with-responses</a><br><br>
466: </li>
467: <li>
468: <a name="ul_0"></a><h3>Element <span class="nomtitre">ul</span>
469: </h3>type: <a href="#ul-with-parts_0">ul-with-parts</a><br><br>
470: </li>
471: <li>
472: <a name="ol_0"></a><h3>Element <span class="nomtitre">ol</span>
473: </h3>type: <a href="#ol-with-parts_0">ol-with-parts</a><br><br>
474: </li>
475: <li>
476: <a name="dl_0"></a><h3>Element <span class="nomtitre">dl</span>
477: </h3>type: <a href="#dl-with-parts_0">dl-with-parts</a><br><br>
478: </li>
479: <li>
480: <a name="table_0"></a><h3>Element <span class="nomtitre">table</span>
481: </h3>type: <a href="#table-with-parts_0">table-with-parts</a><br><br>
482: </li>
483: </ul>
1.2 ! damieng 484: <br>Parents: <a href="#text-with-parts_0">text-with-parts</a><br><hr>
1.1 damieng 485: <a name="blocks-with-responses_0"></a><h3>Group <span class="nomtitre">blocks-with-responses</span>
486: </h3>
487: Choice between:<ul>
488: <li>
489: <a href="#universal-blocks_0">universal-blocks</a><br>
490: </li>
491: <li>
492: <a name="block_1"></a><h3>Element <span class="nomtitre">block</span>
493: </h3>type: <a href="#block-with-responses_0">block-with-responses</a><br><br>
494: </li>
495: <li>
496: <a name="problemtype_1"></a><h3>Element <span class="nomtitre">problemtype</span>
497: </h3>type: <a href="#problemtype-with-responses_0">problemtype-with-responses</a><br><br>
498: </li>
499: <li>
500: <a name="randomlist_1"></a><h3>Element <span class="nomtitre">randomlist</span>
501: </h3>type: <a href="#randomlist-with-responses_0">randomlist-with-responses</a><br><br>
502: </li>
503: <li>
504: <a name="section_1"></a><h3>Element <span class="nomtitre">section</span>
505: </h3>type: <a href="#section-with-responses_0">section-with-responses</a><br><br>
506: </li>
507: <li>
508: <a name="div_1"></a><h3>Element <span class="nomtitre">div</span>
509: </h3>type: <a href="#div-with-responses_0">div-with-responses</a><br><br>
510: </li>
511: <li>
512: <a name="p_1"></a><h3>Element <span class="nomtitre">p</span>
513: </h3>type: <a href="#p-with-responses_0">p-with-responses</a><br><br>
514: </li>
515: <li>
516: <a name="ul_1"></a><h3>Element <span class="nomtitre">ul</span>
517: </h3>type: <a href="#ul-with-responses_0">ul-with-responses</a><br><br>
518: </li>
519: <li>
520: <a name="ol_1"></a><h3>Element <span class="nomtitre">ol</span>
521: </h3>type: <a href="#ol-with-responses_0">ol-with-responses</a><br><br>
522: </li>
523: <li>
524: <a name="dl_1"></a><h3>Element <span class="nomtitre">dl</span>
525: </h3>type: <a href="#dl-with-responses_0">dl-with-responses</a><br><br>
526: </li>
527: <li>
528: <a name="table_1"></a><h3>Element <span class="nomtitre">table</span>
529: </h3>type: <a href="#table-with-responses_0">table-with-responses</a><br><br>
530: </li>
531: </ul>
1.2 ! damieng 532: <br>Parents: <a href="#text-with-responses_0">text-with-responses</a><br><hr>
1.1 damieng 533: <a name="blocks-with-text_0"></a><h3>Group <span class="nomtitre">blocks-with-text</span>
534: </h3>
535: Choice between:<ul>
536: <li>
537: <a href="#universal-blocks_0">universal-blocks</a><br>
538: </li>
539: <li>
540: <a name="block_2"></a><h3>Element <span class="nomtitre">block</span>
541: </h3>type: <a href="#block-with-text_0">block-with-text</a><br><br>
542: </li>
543: <li>
544: <a name="problemtype_2"></a><h3>Element <span class="nomtitre">problemtype</span>
545: </h3>type: <a href="#problemtype-with-text_0">problemtype-with-text</a><br><br>
546: </li>
547: <li>
548: <a name="randomlist_2"></a><h3>Element <span class="nomtitre">randomlist</span>
549: </h3>type: <a href="#randomlist-with-text_0">randomlist-with-text</a><br><br>
550: </li>
551: <li>
552: <a name="section_2"></a><h3>Element <span class="nomtitre">section</span>
553: </h3>type: <a href="#section-with-text_0">section-with-text</a><br><br>
554: </li>
555: <li>
556: <a name="div_2"></a><h3>Element <span class="nomtitre">div</span>
557: </h3>type: <a href="#div-with-text_0">div-with-text</a><br><br>
558: </li>
559: <li>
560: <a name="p_2"></a><h3>Element <span class="nomtitre">p</span>
561: </h3>type: <a href="#p-with-text_0">p-with-text</a><br><br>
562: </li>
563: <li>
564: <a name="ul_2"></a><h3>Element <span class="nomtitre">ul</span>
565: </h3>type: <a href="#ul-with-text_0">ul-with-text</a><br><br>
566: </li>
567: <li>
568: <a name="ol_2"></a><h3>Element <span class="nomtitre">ol</span>
569: </h3>type: <a href="#ol-with-text_0">ol-with-text</a><br><br>
570: </li>
571: <li>
572: <a name="dl_2"></a><h3>Element <span class="nomtitre">dl</span>
573: </h3>type: <a href="#dl-with-text_0">dl-with-text</a><br><br>
574: </li>
575: <li>
576: <a name="table_2"></a><h3>Element <span class="nomtitre">table</span>
577: </h3>type: <a href="#table-with-text_0">table-with-text</a><br><br>
578: </li>
579: </ul>
1.2 ! damieng 580: <br>Parents: <a href="#text-only_0">text-only</a>, <a href="#noscript_0">noscript</a>, <a href="#body_0">body</a>, <a href="#map_0">map</a>, <a href="#canvas_0">canvas</a>, <a href="#form_1">form</a>, <a href="#iframe_0">iframe</a><br><hr>
1.1 damieng 581: <a name="inlines_0"></a><h3>Group <span class="nomtitre">inlines</span>
582: </h3>
583: Choice between:<ul>
584: <li>
585: <a href="#display_3">display</a><br>
586: </li>
587: <li>
588: <a href="#m_0">m</a><br>
589: </li>
590: <li>
591: <a href="#lm_0">lm</a><br>
592: </li>
593: <li>
594: <a href="#chem_0">chem</a><br>
595: </li>
596: <li>
597: <a href="#num_0">num</a><br>
598: </li>
599: <li>
600: <a href="#parse_0">parse</a><br>
601: </li>
602: <li>
603: <a href="#algebra_0">algebra</a><br>
604: </li>
605: <li>
606: <a href="#textline_0">textline</a><br>
607: </li>
608: <li>
609: <a href="#displayweight_0">displayweight</a><br>
610: </li>
611: <li>
612: <a href="#displaystudentphoto_0">displaystudentphoto</a><br>
613: </li>
614: <li>
615: <a href="#translated_0">translated</a><br>
616: </li>
617: <li>
618: <a href="#span_0">span</a><br>
619: </li>
620: <li>
621: <a href="#a_0">a</a><br>
622: </li>
623: <li>
624: <a href="#strong_0">strong</a><br>
625: </li>
626: <li>
627: <a href="#em_0">em</a><br>
628: </li>
629: <li>
630: <a href="#b_0">b</a><br>
631: </li>
632: <li>
633: <a href="#i_0">i</a><br>
634: </li>
635: <li>
636: <a href="#sup_0">sup</a><br>
637: </li>
638: <li>
639: <a href="#sub_0">sub</a><br>
640: </li>
641: <li>
642: <a href="#code_0">code</a><br>
643: </li>
644: <li>
645: <a href="#kbd_0">kbd</a><br>
646: </li>
647: <li>
648: <a href="#samp_0">samp</a><br>
649: </li>
650: <li>
651: <a href="#cite_0">cite</a><br>
652: </li>
653: <li>
654: <a href="#q_0">q</a><br>
655: </li>
656: <li>
657: <a href="#tt_0">tt</a><br>
658: </li>
659: <li>
660: <a href="#ins_0">ins</a><br>
661: </li>
662: <li>
663: <a href="#del_0">del</a><br>
664: </li>
665: <li>
666: <a href="#var_0">var</a><br>
667: </li>
668: <li>
669: <a href="#small_0">small</a><br>
670: </li>
671: <li>
672: <a href="#big_0">big</a><br>
673: </li>
674: <li>
675: <a href="#br_0">br</a><br>
676: </li>
677: <li>
678: <a href="#img_0">img</a><br>
679: </li>
680: <li>
681: <a href="#input_0">input</a><br>
682: </li>
683: <li>
684: <a href="#select_0">select</a><br>
685: </li>
686: <li>
687: <a href="#textarea_0">textarea</a><br>
688: </li>
689: <li>
690: <a href="#label_6">label</a><br>
691: </li>
692: <li>
693: <a href="#button_0">button</a><br>
694: </li>
695: </ul>
1.2 ! damieng 696: <br>Parents: <a href="#text-with-parts_0">text-with-parts</a>, <a href="#text-with-responses_0">text-with-responses</a>, <a href="#text-only_0">text-only</a>, <a href="#span_0">span</a>, <a href="#a_0">a</a>, <a href="#pre_0">pre</a>, <a href="#q_0">q</a>, <a href="#canvas_0">canvas</a><br><hr>
1.1 damieng 697: <a name="inserts_0"></a><h3>Group <span class="nomtitre">inserts</span>
698: </h3>
699:
1.2 ! damieng 700: <div class="documentation"> List of elements that insert something if a condition is verified.
1.1 damieng 701: </div>
702:
703: Choice between:<ul>
704: <li>
705: <a href="#displaytitle_0">displaytitle</a><br>
706: </li>
707: <li>
708: <a href="#displayduedate_0">displayduedate</a><br>
709: </li>
710: <li>
711: <a href="#preduedate_0">preduedate</a><br>
712: </li>
713: <li>
714: <a href="#postanswerdate_0">postanswerdate</a><br>
715: </li>
716: </ul>
1.2 ! damieng 717: <br>Parents: <a href="#problem_0">problem</a>, <a href="#library_0">library</a>, <a href="#part_0">part</a>, <a href="#solved_0">solved</a>, <a href="#notsolved_0">notsolved</a>, <a href="#while_0">while</a>, <a href="#window_0">window</a><br><hr>
1.1 damieng 718:
719:
1.2 ! damieng 720: <div class="documentation"> List of responses
1.1 damieng 721: </div>
1.2 ! damieng 722: <hr>
1.1 damieng 723:
724: <a name="responses_0"></a><h3>Group <span class="nomtitre">responses</span>
725: </h3>
726: Choice between:<ul>
727: <li>
728: <a href="#inlineResponses_0">inlineResponses</a><br>
729: </li>
730: <li>
731: <a href="#blockResponses_0">blockResponses</a><br>
732: </li>
733: </ul>
1.2 ! damieng 734: <br>Parents: <a href="#text-with-parts_0">text-with-parts</a>, <a href="#text-with-responses_0">text-with-responses</a><br><hr>
1.1 damieng 735: <a name="inlineResponses_0"></a><h3>Group <span class="nomtitre">inlineResponses</span>
736: </h3>
737: Choice between:<ul>
738: <li>
739: <a href="#stringresponse_0">stringresponse</a><br>
740: </li>
741: <li>
742: <a href="#optionresponse_0">optionresponse</a><br>
743: </li>
744: <li>
745: <a href="#numericalresponse_0">numericalresponse</a><br>
746: </li>
747: <li>
748: <a href="#formularesponse_0">formularesponse</a><br>
749: </li>
750: <li>
751: <a href="#mathresponse_0">mathresponse</a><br>
752: </li>
753: <li>
754: <a href="#organicresponse_0">organicresponse</a><br>
755: </li>
756: <li>
757: <a href="#reactionresponse_0">reactionresponse</a><br>
758: </li>
759: <li>
760: <a href="#customresponse_0">customresponse</a><br>
761: </li>
762: <li>
763: <a href="#externalresponse_0">externalresponse</a><br>
764: </li>
765: </ul>
1.2 ! damieng 766: <br>Parents: <a href="#responses_0">responses</a><br><hr>
1.1 damieng 767: <a name="blockResponses_0"></a><h3>Group <span class="nomtitre">blockResponses</span>
768: </h3>
769: Choice between:<ul>
770: <li>
771: <a href="#essayresponse_0">essayresponse</a><br>
772: </li>
773: <li>
774: <a href="#radiobuttonresponse_0">radiobuttonresponse</a><br>
775: </li>
776: <li>
777: <a href="#matchresponse_0">matchresponse</a><br>
778: </li>
779: <li>
780: <a href="#rankresponse_0">rankresponse</a><br>
781: </li>
782: <li>
783: <a href="#imageresponse_0">imageresponse</a><br>
784: </li>
785: <li>
786: <a href="#functionplotresponse_0">functionplotresponse</a><br>
787: </li>
788: <li>
789: <a href="#dataresponse_0">dataresponse</a><br>
790: </li>
791: </ul>
1.2 ! damieng 792: <br>Parents: <a href="#responses_0">responses</a><br><hr>
1.1 damieng 793: <a name="response-identification_0"></a><h3>Attribute group: <span class="nomtitre">response-identification</span>
794: </h3>
795: Attribute <span class="nomattribut">id</span>:
796: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
797:
1.2 ! damieng 798: <div class="documentation"> Unique identifier for the response in the document. If this isn’t set, it will be set during the publication step. It is used to assign parameter names in a way that can be tracked if an instructor modifies by hand.
1.1 damieng 799: </div>
800:
801: </div>
802: Attribute <span class="nomattribut">name</span>:
803: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
804:
1.2 ! damieng 805: <div class="documentation"> If set, the name will be used by the resource assembly tool when one is modifying parameters.
1.1 damieng 806: </div>
807:
808: </div>
1.2 ! damieng 809: <br>Parents: <a href="#stringresponse_0">stringresponse</a>, <a href="#essayresponse_0">essayresponse</a>, <a href="#radiobuttonresponse_0">radiobuttonresponse</a>, <a href="#optionresponse_0">optionresponse</a>, <a href="#matchresponse_0">matchresponse</a>, <a href="#rankresponse_0">rankresponse</a>, <a href="#imageresponse_0">imageresponse</a>, <a href="#numericalresponse_0">numericalresponse</a>, <a href="#formularesponse_0">formularesponse</a>, <a href="#mathresponse_0">mathresponse</a>, <a href="#functionplotresponse_0">functionplotresponse</a>, <a href="#organicresponse_0">organicresponse</a>, <a href="#reactionresponse_0">reactionresponse</a>, <a href="#customresponse_0">customresponse</a>, <a href="#externalresponse_0">externalresponse</a>, <a href="#dataresponse_0">dataresponse</a><br><hr>
1.1 damieng 810:
811:
1.2 ! damieng 812: <div class="documentation"> String response
1.1 damieng 813: </div>
1.2 ! damieng 814: <hr>
1.1 damieng 815:
816: <a name="stringresponse_0"></a><h3>Element <span class="nomtitre">stringresponse</span>
817: </h3>
818:
1.2 ! damieng 819: <div class="documentation"> Query for a string.
1.1 damieng 820: An internal textline element is necessary for the student’s response to go in. It can check the string for either case or order.
821: </div>
822:
823: Can contain text<br><div class="indentation">
824: Choice between:<ul>
825: <li>
826: <a href="#responseparam_0">responseparam</a><br>
827: </li>
828: <li>
829: <a href="#hiddenline_0">hiddenline</a><br>
830: </li>
831: <li>
832: <a href="#hintgroup_0">hintgroup</a><br>
833: </li>
834: <li>
835: <a href="#stringhint_0">stringhint</a><br>
836: </li>
837: <li>
838: <a href="#hintpart_0">hintpart</a><br>
839: </li>
840: <li>
841: <a href="#text-only_0">text-only</a><br>
842: </li>
843: </ul>
844: <a href="#response-identification_0">response-identification</a><br><br>
845: Attribute <span class="nomattribut">answer</span>:
846: <div class="indentation">required<br>type: <tt>xs:string</tt><br>
847:
1.2 ! damieng 848: <div class="documentation"> the correct answer, either a perl list or scalar
1.1 damieng 849: </div>
850:
851: </div>
852: Attribute <span class="nomattribut">type</span>:
853: <div class="indentation">optional<br>
854:
1.2 ! damieng 855: <div class="documentation"> Specifies how the string is checked (like the CAPA styles). Possible values are:
1.1 damieng 856: – cs: case sensitive, order important.
857: – ci: case insensitive, order important.
858: – mc: case insensitive, order unimportant.
859: </div>
860:
861:
1.2 ! damieng 862: Union of types<ul>
! 863: <li><a href="#perl_0">perl</a></li>
! 864: <li>
1.1 damieng 865: Value restriction based on xs:string<ul>
866: <li><tt>cs</tt></li>
867: <li><tt>ci</tt></li>
868: <li><tt>mc</tt></li>
869: <li><tt>re</tt></li>
870: </ul>
1.2 ! damieng 871: </li>
! 872: </ul>
1.1 damieng 873:
874: </div>
875: Attribute <span class="nomattribut">answerdisplay</span>:
876: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
877:
1.2 ! damieng 878: <div class="documentation"> String to display for answer
1.1 damieng 879: </div>
880:
881: </div>
882: Attribute <span class="nomattribut">preprocess</span>:
883: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
884:
1.2 ! damieng 885: <div class="documentation"> Pre-Processor Subroutine
1.1 damieng 886: </div>
887:
888: </div>
889: </div>
1.2 ! damieng 890: <br>Parents: <a href="#inlineResponses_0">inlineResponses</a><br><hr>
1.1 damieng 891:
892:
1.2 ! damieng 893: <div class="documentation"> Essay response
1.1 damieng 894: </div>
1.2 ! damieng 895: <hr>
1.1 damieng 896:
897: <a name="essayresponse_0"></a><h3>Element <span class="nomtitre">essayresponse</span>
898: </h3>
899:
1.2 ! damieng 900: <div class="documentation"> Query for a long text or a line, possibly with spell checking.
1.1 damieng 901: </div>
902:
903: Can contain text<br><div class="indentation">
904: Choice between:<ul>
905: <li>
906: <a href="#responseparam_0">responseparam</a><br>
907: </li>
908: <li>
909: <a href="#textfield_0">textfield</a><br>
910: </li>
911: <li>
912: <a href="#hiddensubmission_0">hiddensubmission</a><br>
913: </li>
914: <li>
915: <a href="#hiddenline_0">hiddenline</a><br>
916: </li>
917: <li>
918: <a href="#hintgroup_0">hintgroup</a><br>
919: </li>
920: <li>
921: <a href="#stringhint_0">stringhint</a><br>
922: </li>
923: <li>
924: <a href="#hintpart_0">hintpart</a><br>
925: </li>
926: <li>
927: <a href="#text-only_0">text-only</a><br>
928: </li>
929: </ul>
930: <a href="#response-identification_0">response-identification</a><br><br>
931: </div>
1.2 ! damieng 932: <br>Parents: <a href="#blockResponses_0">blockResponses</a><br><hr>
1.1 damieng 933:
934:
1.2 ! damieng 935: <div class="documentation"> Radio button response
1.1 damieng 936: </div>
1.2 ! damieng 937: <hr>
1.1 damieng 938:
939: <a name="radiobuttonresponse_0"></a><h3>Element <span class="nomtitre">radiobuttonresponse</span>
940: </h3>
941:
1.2 ! damieng 942: <div class="documentation"> Query for a single choice among several statements.
1.1 damieng 943: The value of the foils can only be true, false, or unused.
944: </div>
945:
946: Can contain text<br><div class="indentation">
947: Choice between:<ul>
948: <li>
949: <a href="#responseparam_0">responseparam</a><br>
950: </li>
951: <li>
952: <a name="foilgroup_0"></a><h3>Element <span class="nomtitre">foilgroup</span>
953: </h3>type: <a href="#radiobuttonresponse--foilgroup_0">radiobuttonresponse--foilgroup</a><br><br>
954: </li>
955: <li>
956: <a href="#hintgroup_0">hintgroup</a><br>
957: </li>
958: <li>
959: <a href="#radiobuttonhint_0">radiobuttonhint</a><br>
960: </li>
961: <li>
962: <a href="#hintpart_0">hintpart</a><br>
963: </li>
964: <li>
965: <a href="#text-only_0">text-only</a><br>
966: </li>
967: </ul>
968: <a href="#response-identification_0">response-identification</a><br><br>
969: Attribute <span class="nomattribut">max</span>:
970: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
971:
1.2 ! damieng 972: <div class="documentation"> Max Number Of Shown Foils
1.1 damieng 973: </div>
974:
975: </div>
976: Attribute <span class="nomattribut">randomize</span>:
977: <div class="indentation">optional<br>type: <a href="#yesno-or-perl_0">yesno-or-perl</a><br>
978:
1.2 ! damieng 979: <div class="documentation"> Randomize Foil Order
1.1 damieng 980: </div>
981:
982: </div>
983: Attribute <span class="nomattribut">direction</span>:
984: <div class="indentation">optional<br>
985:
1.2 ! damieng 986: <div class="documentation"> Display Direction
1.1 damieng 987: </div>
988:
989:
1.2 ! damieng 990: Union of types<ul>
! 991: <li><a href="#perl_0">perl</a></li>
! 992: <li>
1.1 damieng 993: Value restriction based on xs:string<ul>
994: <li><tt>vertical</tt></li>
995: <li><tt>horizontal</tt></li>
996: </ul>
1.2 ! damieng 997: </li>
! 998: </ul>
1.1 damieng 999:
1000: </div>
1001: </div>
1.2 ! damieng 1002: <br>Parents: <a href="#blockResponses_0">blockResponses</a><br><hr>
1.1 damieng 1003: <a name="radiobuttonresponse--foilgroup_0"></a><h3>Complex type <span class="nomtitre">radiobuttonresponse--foilgroup</span>
1004: </h3>
1005: <div class="indentation">
1006:
1007: <div class="documentation">Collection of Foils</div>
1008:
1009: Choice between:<ul>
1010: <li>
1011: <a name="conceptgroup_0"></a><h3>Element <span class="nomtitre">conceptgroup</span>
1012: </h3>type: <a href="#radiobuttonresponse--conceptgroup_0">radiobuttonresponse--conceptgroup</a><br><br>
1013: </li>
1014: <li>
1015: <a name="foil_0"></a><h3>Element <span class="nomtitre">foil</span>
1016: </h3>type: <a href="#radiobuttonresponse--foil_0">radiobuttonresponse--foil</a><br><br>
1017: </li>
1018: <li>
1019: <a href="#comment_0">comment</a><br>
1020: </li>
1021: </ul>
1022: </div>
1023: <hr>
1024: <a name="radiobuttonresponse--conceptgroup_0"></a><h3>Complex type <span class="nomtitre">radiobuttonresponse--conceptgroup</span>
1025: </h3>
1026: <div class="indentation">
1027:
1.2 ! damieng 1028: <div class="documentation"> Collection of similar foils.
1.1 damieng 1029: When a problem is displayed, only one of the contained foils is selected for display.
1030: </div>
1031:
1032: Choice between:<ul><li>
1033: <a name="foil_1"></a><h3>Element <span class="nomtitre">foil</span>
1034: </h3>type: <a href="#radiobuttonresponse--foil_0">radiobuttonresponse--foil</a><br><br>
1035: </li></ul>
1036: Attribute <span class="nomattribut">concept</span>:
1037: <div class="indentation">required<br>type: <tt>xs:string</tt><br>
1038: </div>
1039: </div>
1040: <hr>
1041: <a name="radiobuttonresponse--foil_0"></a><h3>Complex type <span class="nomtitre">radiobuttonresponse--foil</span>
1042: </h3>Can contain text<br><div class="indentation">
1043:
1.2 ! damieng 1044: <div class="documentation"> Statement next to the radio button.
1.1 damieng 1045: </div>
1046:
1047: Choice between:<ul>
1048: <li>
1049: <a href="#text-only_0">text-only</a><br>
1050: </li>
1051: <li>
1052: <a href="#parserlib_0">parserlib</a><br>
1053: </li>
1054: <li>
1055: <a href="#scriptlib_0">scriptlib</a><br>
1056: </li>
1057: </ul>
1058: Attribute <span class="nomattribut">name</span>:
1059: <div class="indentation">required<br>type: <tt>xs:string</tt><br>
1060: </div>
1061: Attribute <span class="nomattribut">value</span>:
1062: <div class="indentation">required<br>
1063:
1.2 ! damieng 1064: <div class="documentation"> Correct Option (true, false, or unused).
1.1 damieng 1065: </div>
1066:
1067:
1.2 ! damieng 1068: Union of types<ul>
! 1069: <li><a href="#perl_0">perl</a></li>
! 1070: <li>
1.1 damieng 1071: Value restriction based on xs:string<ul>
1072: <li><tt>true</tt></li>
1073: <li><tt>false</tt></li>
1074: <li><tt>unused</tt></li>
1075: </ul>
1.2 ! damieng 1076: </li>
! 1077: </ul>
1.1 damieng 1078:
1079: </div>
1080: Attribute <span class="nomattribut">location</span>:
1081: <div class="indentation">optional<br>type: <a href="#location-or-perl_0">location-or-perl</a><br>
1082: </div>
1083: </div>
1084: <hr>
1085:
1086:
1.2 ! damieng 1087: <div class="documentation"> Option response
1.1 damieng 1088: </div>
1.2 ! damieng 1089: <hr>
1.1 damieng 1090:
1091: <a name="optionresponse_0"></a><h3>Element <span class="nomtitre">optionresponse</span>
1092: </h3>
1093:
1.2 ! damieng 1094: <div class="documentation"> Query for a choice for each given statement.
1.1 damieng 1095:
1096: Option Response problems present foils to the student with drop-down boxes. The student can select the matching choice for the foils from a list of choices. Optionally, the foils may be bundled into Concept Groups and the system will select one foil from each group to display to the student.
1097:
1098: By default, the list of options is presented in front of the foils. Using the optional drawoptionlist element, the list of options can be embedded into the foil.
1099:
1100: The foilgroup is required to have an options attribute which should be a perl list of possible options for the student.
1101: </div>
1102:
1103: Can contain text<br><div class="indentation">
1104: Choice between:<ul>
1105: <li>
1106: <a href="#responseparam_0">responseparam</a><br>
1107: </li>
1108: <li>
1109: <a name="foilgroup_1"></a><h3>Element <span class="nomtitre">foilgroup</span>
1110: </h3>type: <a href="#optionresponse--foilgroup_0">optionresponse--foilgroup</a><br><br>
1111: </li>
1112: <li>
1113: <a href="#hintgroup_0">hintgroup</a><br>
1114: </li>
1115: <li>
1116: <a href="#optionhint_0">optionhint</a><br>
1117: </li>
1118: <li>
1119: <a href="#hintpart_0">hintpart</a><br>
1120: </li>
1121: <li>
1122: <a href="#text-only_0">text-only</a><br>
1123: </li>
1124: </ul>
1125: <a href="#response-identification_0">response-identification</a><br><br>
1126: Attribute <span class="nomattribut">max</span>:
1127: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
1128:
1.2 ! damieng 1129: <div class="documentation"> Max Number Of Shown Foils
1.1 damieng 1130: </div>
1131:
1132: </div>
1133: Attribute <span class="nomattribut">randomize</span>:
1134: <div class="indentation">optional<br>type: <a href="#yesno-or-perl_0">yesno-or-perl</a><br>
1135:
1.2 ! damieng 1136: <div class="documentation"> Randomize Foil Order
1.1 damieng 1137: </div>
1138:
1139: </div>
1140: Attribute <span class="nomattribut">TeXlayout</span>:
1141: <div class="indentation">optional<br>
1142:
1.2 ! damieng 1143: <div class="documentation"> Display of options when printed
1.1 damieng 1144: </div>
1145:
1146:
1.2 ! damieng 1147: Union of types<ul>
! 1148: <li><a href="#perl_0">perl</a></li>
! 1149: <li>
1.1 damieng 1150: Value restriction based on xs:string<ul>
1151: <li><tt>horizontal</tt></li>
1152: <li><tt>vertical</tt></li>
1153: </ul>
1.2 ! damieng 1154: </li>
! 1155: </ul>
1.1 damieng 1156:
1157: </div>
1158: </div>
1.2 ! damieng 1159: <br>Parents: <a href="#inlineResponses_0">inlineResponses</a><br><hr>
1.1 damieng 1160: <a name="optionresponse--foilgroup_0"></a><h3>Complex type <span class="nomtitre">optionresponse--foilgroup</span>
1161: </h3>
1162: <div class="indentation">
1163:
1164: <div class="documentation">Collection of Foils</div>
1165:
1166: Choice between:<ul>
1167: <li>
1168: <a name="conceptgroup_1"></a><h3>Element <span class="nomtitre">conceptgroup</span>
1169: </h3>type: <a href="#optionresponse--conceptgroup_0">optionresponse--conceptgroup</a><br><br>
1170: </li>
1171: <li>
1172: <a name="foil_2"></a><h3>Element <span class="nomtitre">foil</span>
1173: </h3>type: <a href="#optionresponse--foil_0">optionresponse--foil</a><br><br>
1174: </li>
1175: <li>
1176: <a href="#comment_0">comment</a><br>
1177: </li>
1178: </ul>
1179: Attribute <span class="nomattribut">options</span>:
1180: <div class="indentation">required<br>
1181:
1.2 ! damieng 1182: <div class="documentation"> Perl list of possible foil values.
1.1 damieng 1183: </div>
1184:
1185:
1.2 ! damieng 1186: Union of types<ul>
! 1187: <li><a href="#perl_0">perl</a></li>
! 1188: <li>
1.1 damieng 1189: Value restriction based on xs:string<ul>
1190: <li><tt>@[a-zA-Z0-9_\-]+</tt></li>
1191: </ul>
1.2 ! damieng 1192: </li>
! 1193: <li>
1.1 damieng 1194: Value restriction based on xs:string<ul>
1195: <li><tt>\(.+\)</tt></li>
1196: </ul>
1.2 ! damieng 1197: </li>
! 1198: </ul>
1.1 damieng 1199:
1200: </div>
1201: Attribute <span class="nomattribut">texoptions</span>:
1202: <div class="indentation">optional<br>
1203:
1.2 ! damieng 1204: <div class="documentation"> Set to "nochoice" to avoid the display of the list of option values when printing.
1.1 damieng 1205: </div>
1206:
1207:
1.2 ! damieng 1208: Union of types<ul>
! 1209: <li><a href="#perl_0">perl</a></li>
! 1210: <li>
1.1 damieng 1211: Value restriction based on xs:string<ul>
1212: <li><tt>nochoice</tt></li>
1213: </ul>
1.2 ! damieng 1214: </li>
! 1215: </ul>
1.1 damieng 1216:
1217: </div>
1218: Attribute <span class="nomattribut">checkboxvalue</span>:
1219: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
1220:
1.2 ! damieng 1221: <div class="documentation"> When there are only 2 option values, set this attribute to one of them in order to display checkboxes. A foil checkbox will have to be checked when the foil has the chosen option value.
1.1 damieng 1222: </div>
1223:
1224: </div>
1225: Attribute <span class="nomattribut">checkboxoptions</span>:
1226: <div class="indentation">optional<br>
1227:
1.2 ! damieng 1228: <div class="documentation"> Set to "nochoice" to avoid the display of the list of option values.
1.1 damieng 1229: </div>
1230:
1231:
1.2 ! damieng 1232: Union of types<ul>
! 1233: <li><a href="#perl_0">perl</a></li>
! 1234: <li>
1.1 damieng 1235: Value restriction based on xs:string<ul>
1236: <li><tt>nochoice</tt></li>
1237: </ul>
1.2 ! damieng 1238: </li>
! 1239: </ul>
1.1 damieng 1240:
1241: </div>
1242: Attribute <span class="nomattribut">noprompt</span>:
1243: <div class="indentation">optional<br>
1244:
1.2 ! damieng 1245: <div class="documentation"> Set to "nochoice" to omit "Select all that are ... ".
1.1 damieng 1246: </div>
1247:
1248:
1.2 ! damieng 1249: Union of types<ul>
! 1250: <li><a href="#perl_0">perl</a></li>
! 1251: <li>
1.1 damieng 1252: Value restriction based on xs:string<ul>
1253: <li><tt>nochoice</tt></li>
1254: </ul>
1.2 ! damieng 1255: </li>
! 1256: </ul>
1.1 damieng 1257:
1258: </div>
1259: Attribute <span class="nomattribut">mincheck</span>:
1260: <div class="indentation">optional<br>type: <tt>xs:int</tt><br>
1261:
1.2 ! damieng 1262: <div class="documentation"> Minimum boxes required to check.
1.1 damieng 1263: </div>
1264:
1265: </div>
1266: Attribute <span class="nomattribut">maxcheck</span>:
1267: <div class="indentation">optional<br>type: <tt>xs:int</tt><br>
1268:
1.2 ! damieng 1269: <div class="documentation"> Maximum boxes permitted to check.
1.1 damieng 1270: </div>
1271:
1272: </div>
1273: </div>
1274: <hr>
1275: <a name="optionresponse--conceptgroup_0"></a><h3>Complex type <span class="nomtitre">optionresponse--conceptgroup</span>
1276: </h3>
1277: <div class="indentation">
1278:
1.2 ! damieng 1279: <div class="documentation"> Collection of similar foils.
1.1 damieng 1280: When a problem is displayed, only one of the contained foils is selected for display.
1281: </div>
1282:
1283: Choice between:<ul><li>
1284: <a name="foil_3"></a><h3>Element <span class="nomtitre">foil</span>
1285: </h3>type: <a href="#optionresponse--foil_0">optionresponse--foil</a><br><br>
1286: </li></ul>
1287: Attribute <span class="nomattribut">concept</span>:
1288: <div class="indentation">required<br>type: <tt>xs:string</tt><br>
1289: </div>
1290: </div>
1291: <hr>
1292: <a name="optionresponse--foil_0"></a><h3>Complex type <span class="nomtitre">optionresponse--foil</span>
1293: </h3>Can contain text<br><div class="indentation">
1294:
1.2 ! damieng 1295: <div class="documentation"> Statement next to the drop-down box.
1.1 damieng 1296: </div>
1297:
1298: Choice between:<ul>
1299: <li>
1300: <a href="#text-only_0">text-only</a><br>
1301: </li>
1302: <li>
1303: <a href="#parserlib_0">parserlib</a><br>
1304: </li>
1305: <li>
1306: <a href="#scriptlib_0">scriptlib</a><br>
1307: </li>
1308: <li>
1309: <a name="drawoptionlist_0"></a><h3>Element <span class="nomtitre">drawoptionlist</span>
1310: </h3>type: <a href="#optionresponse--drawoptionlist_0">optionresponse--drawoptionlist</a><br><br>
1311: </li>
1312: </ul>
1313: Attribute <span class="nomattribut">name</span>:
1314: <div class="indentation">required<br>type: <tt>xs:string</tt><br>
1315: </div>
1316: Attribute <span class="nomattribut">value</span>:
1317: <div class="indentation">required<br>type: <tt>xs:string</tt><br>
1318:
1.2 ! damieng 1319: <div class="documentation"> Correct Option
1.1 damieng 1320: </div>
1321:
1322: </div>
1323: Attribute <span class="nomattribut">location</span>:
1324: <div class="indentation">optional<br>type: <a href="#location-or-perl_0">location-or-perl</a><br>
1325: </div>
1326: </div>
1327: <hr>
1328: <a name="optionresponse--drawoptionlist_0"></a><h3>Complex type <span class="nomtitre">optionresponse--drawoptionlist</span>
1329: </h3>
1330: <div class="indentation">
1331:
1.2 ! damieng 1332: <div class="documentation"> Draw Option List
1.1 damieng 1333:
1334: By default, the list of options is presented in front of the foils. Using the optional <drawoptionlist> element, the list of options can be embedded into a foil.
1335: </div>
1336:
1337: </div>
1338: <hr>
1339:
1340:
1.2 ! damieng 1341: <div class="documentation"> Match response
1.1 damieng 1342: </div>
1.2 ! damieng 1343: <hr>
1.1 damieng 1344:
1345: <a name="matchresponse_0"></a><h3>Element <span class="nomtitre">matchresponse</span>
1346: </h3>
1347:
1.2 ! damieng 1348: <div class="documentation"> Query for matches betweens items from two lists.
1.1 damieng 1349: It is also possible to query for matches with optionresponse, but optionresponse only accepts simple text for the matches. With matchresponse, it is possible to use anything as a match, such as equations, images, plots, or long styled texts.
1350: </div>
1351:
1352: Can contain text<br><div class="indentation">
1353: Choice between:<ul>
1354: <li>
1355: <a href="#responseparam_0">responseparam</a><br>
1356: </li>
1357: <li>
1358: <a name="foilgroup_2"></a><h3>Element <span class="nomtitre">foilgroup</span>
1359: </h3>type: <a href="#matchresponse--foilgroup_0">matchresponse--foilgroup</a><br><br>
1360: </li>
1361: <li>
1362: <a href="#hintgroup_0">hintgroup</a><br>
1363: </li>
1364: <li>
1365: <a href="#text-only_0">text-only</a><br>
1366: </li>
1367: </ul>
1368: <a href="#response-identification_0">response-identification</a><br><br>
1369: Attribute <span class="nomattribut">max</span>:
1370: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
1371:
1.2 ! damieng 1372: <div class="documentation"> Max Number Of Shown Foils
1.1 damieng 1373: </div>
1374:
1375: </div>
1376: Attribute <span class="nomattribut">randomize</span>:
1377: <div class="indentation">optional<br>type: <a href="#yesno-or-perl_0">yesno-or-perl</a><br>
1378:
1.2 ! damieng 1379: <div class="documentation"> Randomize Foil Order
1.1 damieng 1380: </div>
1381:
1382: </div>
1383: </div>
1.2 ! damieng 1384: <br>Parents: <a href="#blockResponses_0">blockResponses</a><br><hr>
1.1 damieng 1385: <a name="matchresponse--itemgroup_0"></a><h3>Complex type <span class="nomtitre">matchresponse--itemgroup</span>
1386: </h3>
1387: <div class="indentation">
1388:
1389: <div class="documentation">Items to Match</div>
1390:
1391: Choice between:<ul><li>
1392: <a name="item_0"></a><h3>Element <span class="nomtitre">item</span>
1393: </h3>type: <a href="#matchresponse--item_0">matchresponse--item</a><br><br>
1394: </li></ul>
1395: Attribute <span class="nomattribut">randomize</span>:
1396: <div class="indentation">optional<br>type: <a href="#yesno-or-perl_0">yesno-or-perl</a><br>
1397:
1.2 ! damieng 1398: <div class="documentation"> Randomize Order
1.1 damieng 1399: </div>
1400:
1401: </div>
1402: Attribute <span class="nomattribut">location</span>:
1403: <div class="indentation">optional<br>
1404:
1.2 ! damieng 1405: <div class="documentation"> Items Display Location
1.1 damieng 1406: </div>
1407:
1408:
1.2 ! damieng 1409: Union of types<ul>
! 1410: <li><a href="#perl_0">perl</a></li>
! 1411: <li>
1.1 damieng 1412: Value restriction based on xs:string<ul>
1413: <li><tt>top</tt></li>
1414: <li><tt>bottom</tt></li>
1415: <li><tt>left</tt></li>
1416: <li><tt>right</tt></li>
1417: </ul>
1.2 ! damieng 1418: </li>
! 1419: </ul>
1.1 damieng 1420:
1421: </div>
1422: Attribute <span class="nomattribut">direction</span>:
1423: <div class="indentation">optional<br>
1424:
1.2 ! damieng 1425: <div class="documentation"> Items Display Direction
1.1 damieng 1426: </div>
1427:
1428:
1.2 ! damieng 1429: Union of types<ul>
! 1430: <li><a href="#perl_0">perl</a></li>
! 1431: <li>
1.1 damieng 1432: Value restriction based on xs:string<ul>
1433: <li><tt>vertical</tt></li>
1434: <li><tt>horizontal</tt></li>
1435: </ul>
1.2 ! damieng 1436: </li>
! 1437: </ul>
1.1 damieng 1438:
1439: </div>
1440: Attribute <span class="nomattribut">columns</span>:
1441: <div class="indentation">optional<br>
1442:
1.2 ! damieng 1443: <div class="documentation"> Items Columns
1.1 damieng 1444: </div>
1445:
1446:
1.2 ! damieng 1447: Union of types<ul>
! 1448: <li><a href="#perl_0">perl</a></li>
! 1449: <li>
1.1 damieng 1450: Value restriction based on xs:int<ul>
1451: <li><tt>1</tt></li>
1452: <li><tt>2</tt></li>
1453: <li><tt>3</tt></li>
1454: <li><tt>4</tt></li>
1455: </ul>
1.2 ! damieng 1456: </li>
! 1457: </ul>
1.1 damieng 1458:
1459: </div>
1460: Attribute <span class="nomattribut">TeXitemgroupwidth</span>:
1461: <div class="indentation">optional<br>
1462:
1.2 ! damieng 1463: <div class="documentation"> TeXitemgroupwidth attribute allows you to specify the width of table with items for matching. The value of this attribute defines the width in percents with respect to text line width.
1.1 damieng 1464: </div>
1465:
1466:
1467: Value restriction based on xs:string<ul>
1468: <li><tt>\d+%</tt></li>
1469: </ul>
1470:
1471: </div>
1472: </div>
1473: <hr>
1474: <a name="matchresponse--item_0"></a><h3>Complex type <span class="nomtitre">matchresponse--item</span>
1475: </h3>Can contain text<br><div class="indentation">
1476:
1477: <div class="documentation">Item</div>
1478:
1479: Choice between:<ul>
1480: <li>
1481: <a href="#text-only_0">text-only</a><br>
1482: </li>
1483: <li>
1484: <a href="#parserlib_0">parserlib</a><br>
1485: </li>
1486: <li>
1487: <a href="#scriptlib_0">scriptlib</a><br>
1488: </li>
1489: </ul>
1490: Attribute <span class="nomattribut">name</span>:
1491: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
1492: </div>
1493: Attribute <span class="nomattribut">location</span>:
1494: <div class="indentation">optional<br>type: <a href="#location-or-perl_0">location-or-perl</a><br>
1495: </div>
1496: </div>
1497: <hr>
1498: <a name="matchresponse--foilgroup_0"></a><h3>Complex type <span class="nomtitre">matchresponse--foilgroup</span>
1499: </h3>
1500: <div class="indentation">
1501:
1502: <div class="documentation">Collection of Foils</div>
1503:
1504: Choice between:<ul>
1505: <li>
1506: <a name="itemgroup_0"></a><h3>Element <span class="nomtitre">itemgroup</span>
1507: </h3>type: <a href="#matchresponse--itemgroup_0">matchresponse--itemgroup</a><br><br>
1508: </li>
1509: <li>
1510: <a name="conceptgroup_2"></a><h3>Element <span class="nomtitre">conceptgroup</span>
1511: </h3>type: <a href="#matchresponse--conceptgroup_0">matchresponse--conceptgroup</a><br><br>
1512: </li>
1513: <li>
1514: <a name="foil_4"></a><h3>Element <span class="nomtitre">foil</span>
1515: </h3>type: <a href="#matchresponse--foil_0">matchresponse--foil</a><br><br>
1516: </li>
1517: <li>
1518: <a href="#comment_0">comment</a><br>
1519: </li>
1520: </ul>
1521: </div>
1522: <hr>
1523: <a name="matchresponse--conceptgroup_0"></a><h3>Complex type <span class="nomtitre">matchresponse--conceptgroup</span>
1524: </h3>
1525: <div class="indentation">
1526:
1.2 ! damieng 1527: <div class="documentation"> Collection of similar foils.
1.1 damieng 1528: When a problem is displayed, only one of the contained foils is selected for display.
1529: </div>
1530:
1531: Choice between:<ul><li>
1532: <a name="foil_5"></a><h3>Element <span class="nomtitre">foil</span>
1533: </h3>type: <a href="#matchresponse--foil_0">matchresponse--foil</a><br><br>
1534: </li></ul>
1535: Attribute <span class="nomattribut">concept</span>:
1536: <div class="indentation">required<br>type: <tt>xs:string</tt><br>
1537: </div>
1538: </div>
1539: <hr>
1540: <a name="matchresponse--foil_0"></a><h3>Complex type <span class="nomtitre">matchresponse--foil</span>
1541: </h3>Can contain text<br><div class="indentation">
1542:
1543: <div class="documentation">Foil</div>
1544:
1545: Choice between:<ul>
1546: <li>
1547: <a href="#text-only_0">text-only</a><br>
1548: </li>
1549: <li>
1550: <a href="#parserlib_0">parserlib</a><br>
1551: </li>
1552: <li>
1553: <a href="#scriptlib_0">scriptlib</a><br>
1554: </li>
1555: </ul>
1556: Attribute <span class="nomattribut">name</span>:
1557: <div class="indentation">required<br>type: <tt>xs:string</tt><br>
1558: </div>
1559: Attribute <span class="nomattribut">value</span>:
1560: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
1561:
1.2 ! damieng 1562: <div class="documentation"> Correct Option
1.1 damieng 1563: </div>
1564:
1565: </div>
1566: Attribute <span class="nomattribut">location</span>:
1567: <div class="indentation">optional<br>type: <a href="#location-or-perl_0">location-or-perl</a><br>
1568: </div>
1569: </div>
1570: <hr>
1571:
1572:
1.2 ! damieng 1573: <div class="documentation"> Rank response
1.1 damieng 1574: </div>
1.2 ! damieng 1575: <hr>
1.1 damieng 1576:
1577: <a name="rankresponse_0"></a><h3>Element <span class="nomtitre">rankresponse</span>
1578: </h3>
1579:
1.2 ! damieng 1580: <div class="documentation"> Query to sort a list of items in the right order.
1.1 damieng 1581: </div>
1582:
1583: Can contain text<br><div class="indentation">
1584: Choice between:<ul>
1585: <li>
1586: <a href="#responseparam_0">responseparam</a><br>
1587: </li>
1588: <li>
1589: <a name="foilgroup_3"></a><h3>Element <span class="nomtitre">foilgroup</span>
1590: </h3>type: <a href="#rankresponse--foilgroup_0">rankresponse--foilgroup</a><br><br>
1591: </li>
1592: <li>
1593: <a href="#hintgroup_0">hintgroup</a><br>
1594: </li>
1595: <li>
1596: <a href="#text-only_0">text-only</a><br>
1597: </li>
1598: </ul>
1599: <a href="#response-identification_0">response-identification</a><br><br>
1600: Attribute <span class="nomattribut">max</span>:
1601: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
1602:
1.2 ! damieng 1603: <div class="documentation"> Max Number Of Shown Foils
1.1 damieng 1604: </div>
1605:
1606: </div>
1607: Attribute <span class="nomattribut">randomize</span>:
1608: <div class="indentation">optional<br>type: <a href="#yesno-or-perl_0">yesno-or-perl</a><br>
1609:
1.2 ! damieng 1610: <div class="documentation"> Randomize Foil Order
1.1 damieng 1611: </div>
1612:
1613: </div>
1614: </div>
1.2 ! damieng 1615: <br>Parents: <a href="#blockResponses_0">blockResponses</a><br><hr>
1.1 damieng 1616: <a name="rankresponse--foilgroup_0"></a><h3>Complex type <span class="nomtitre">rankresponse--foilgroup</span>
1617: </h3>
1618: <div class="indentation">
1619:
1620: <div class="documentation">Collection of Foils</div>
1621:
1622: Choice between:<ul>
1623: <li>
1624: <a name="conceptgroup_3"></a><h3>Element <span class="nomtitre">conceptgroup</span>
1625: </h3>type: <a href="#rankresponse--conceptgroup_0">rankresponse--conceptgroup</a><br><br>
1626: </li>
1627: <li>
1628: <a name="foil_6"></a><h3>Element <span class="nomtitre">foil</span>
1629: </h3>type: <a href="#rankresponse--foil_0">rankresponse--foil</a><br><br>
1630: </li>
1631: <li>
1632: <a href="#comment_0">comment</a><br>
1633: </li>
1634: </ul>
1635: </div>
1636: <hr>
1637: <a name="rankresponse--conceptgroup_0"></a><h3>Complex type <span class="nomtitre">rankresponse--conceptgroup</span>
1638: </h3>
1639: <div class="indentation">
1640:
1.2 ! damieng 1641: <div class="documentation"> Collection of similar foils.
1.1 damieng 1642: When a problem is displayed, only one of the contained foils is selected for display.
1643: </div>
1644:
1645: Choice between:<ul><li>
1646: <a name="foil_7"></a><h3>Element <span class="nomtitre">foil</span>
1647: </h3>type: <a href="#rankresponse--foil_0">rankresponse--foil</a><br><br>
1648: </li></ul>
1649: Attribute <span class="nomattribut">concept</span>:
1650: <div class="indentation">required<br>type: <tt>xs:string</tt><br>
1651: </div>
1652: </div>
1653: <hr>
1654: <a name="rankresponse--foil_0"></a><h3>Complex type <span class="nomtitre">rankresponse--foil</span>
1655: </h3>Can contain text<br><div class="indentation">
1656:
1657: <div class="documentation">Foil</div>
1658:
1659: Choice between:<ul>
1660: <li>
1661: <a href="#text-only_0">text-only</a><br>
1662: </li>
1663: <li>
1664: <a href="#parserlib_0">parserlib</a><br>
1665: </li>
1666: <li>
1667: <a href="#scriptlib_0">scriptlib</a><br>
1668: </li>
1669: </ul>
1670: Attribute <span class="nomattribut">name</span>:
1671: <div class="indentation">required<br>type: <tt>xs:string</tt><br>
1672: </div>
1673: Attribute <span class="nomattribut">value</span>:
1674: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
1675:
1.2 ! damieng 1676: <div class="documentation"> Rank Value
1.1 damieng 1677: </div>
1678:
1679: </div>
1680: Attribute <span class="nomattribut">location</span>:
1681: <div class="indentation">optional<br>type: <a href="#location-or-perl_0">location-or-perl</a><br>
1682: </div>
1683: </div>
1684: <hr>
1685:
1686:
1.2 ! damieng 1687: <div class="documentation"> Image response
1.1 damieng 1688: </div>
1.2 ! damieng 1689: <hr>
1.1 damieng 1690:
1691: <a name="imageresponse_0"></a><h3>Element <span class="nomtitre">imageresponse</span>
1692: </h3>
1693:
1.2 ! damieng 1694: <div class="documentation"> Query for positions on images.
1.1 damieng 1695:
1696: Each foil must contain a reference to an image, at least one rectangle or polygon specifying the correct region, and a text describing what should be selected. Students have to click on the foil image, and their answer is correct if they clicked inside the correct region.
1697: </div>
1698:
1699: Can contain text<br><div class="indentation">
1700: Choice between:<ul>
1701: <li>
1702: <a href="#responseparam_0">responseparam</a><br>
1703: </li>
1704: <li>
1705: <a name="foilgroup_4"></a><h3>Element <span class="nomtitre">foilgroup</span>
1706: </h3>type: <a href="#imageresponse--foilgroup_0">imageresponse--foilgroup</a><br><br>
1707: </li>
1708: <li>
1709: <a href="#hintgroup_0">hintgroup</a><br>
1710: </li>
1711: <li>
1712: <a href="#text-only_0">text-only</a><br>
1713: </li>
1714: </ul>
1715: <a href="#response-identification_0">response-identification</a><br><br>
1716: Attribute <span class="nomattribut">max</span>:
1717: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
1718:
1.2 ! damieng 1719: <div class="documentation"> Max Number Of Shown Foils
1.1 damieng 1720: </div>
1721:
1722: </div>
1723: </div>
1.2 ! damieng 1724: <br>Parents: <a href="#blockResponses_0">blockResponses</a><br><hr>
1.1 damieng 1725: <a name="imageresponse--foilgroup_0"></a><h3>Complex type <span class="nomtitre">imageresponse--foilgroup</span>
1726: </h3>
1727: <div class="indentation">
1728:
1729: <div class="documentation">Collection of Imageresponse foils</div>
1730:
1731: Choice between:<ul>
1732: <li>
1733: <a name="conceptgroup_4"></a><h3>Element <span class="nomtitre">conceptgroup</span>
1734: </h3>type: <a href="#imageresponse--conceptgroup_0">imageresponse--conceptgroup</a><br><br>
1735: </li>
1736: <li>
1737: <a name="foil_8"></a><h3>Element <span class="nomtitre">foil</span>
1738: </h3>type: <a href="#imageresponse--foil_0">imageresponse--foil</a><br><br>
1739: </li>
1740: <li>
1741: <a href="#comment_0">comment</a><br>
1742: </li>
1743: </ul>
1744: </div>
1745: <hr>
1746: <a name="imageresponse--conceptgroup_0"></a><h3>Complex type <span class="nomtitre">imageresponse--conceptgroup</span>
1747: </h3>
1748: <div class="indentation">
1749:
1.2 ! damieng 1750: <div class="documentation"> Collection of similar foils.
1.1 damieng 1751: When a problem is displayed, only one of the contained foils is selected for display.
1752: </div>
1753:
1754: Choice between:<ul><li>
1755: <a name="foil_9"></a><h3>Element <span class="nomtitre">foil</span>
1756: </h3>type: <a href="#imageresponse--foil_0">imageresponse--foil</a><br><br>
1757: </li></ul>
1758: Attribute <span class="nomattribut">concept</span>:
1759: <div class="indentation">required<br>type: <tt>xs:string</tt><br>
1760: </div>
1761: </div>
1762: <hr>
1763: <a name="imageresponse--foil_0"></a><h3>Complex type <span class="nomtitre">imageresponse--foil</span>
1764: </h3>
1765: <div class="indentation">
1766:
1767: <div class="documentation">Image response foil. image and rectangle are required.</div>
1768:
1769: Choice between:<ul>
1770: <li>
1771: <a name="image_0"></a><h3>Element <span class="nomtitre">image</span>
1772: </h3>type: <a href="#imageresponse--image_0">imageresponse--image</a><br><br>
1773: </li>
1774: <li>
1775: <a name="polygon_0"></a><h3>Element <span class="nomtitre">polygon</span>
1776: </h3>type: <a href="#imageresponse--polygon_0">imageresponse--polygon</a><br><br>
1777: </li>
1778: <li>
1779: <a name="rectangle_0"></a><h3>Element <span class="nomtitre">rectangle</span>
1780: </h3>type: <a href="#imageresponse--rectangle_0">imageresponse--rectangle</a><br><br>
1781: </li>
1782: <li>
1783: <a name="text_0"></a><h3>Element <span class="nomtitre">text</span>
1784: </h3>type: <a href="#imageresponse--text_0">imageresponse--text</a><br><br>
1785: </li>
1786: </ul>
1787: Attribute <span class="nomattribut">name</span>:
1788: <div class="indentation">required<br>type: <tt>xs:string</tt><br>
1789: </div>
1790: </div>
1791: <hr>
1792: <a name="imageresponse--image_0"></a><h3>Complex type <span class="nomtitre">imageresponse--image</span>
1793: </h3>Can contain text<br><div class="indentation">
1794:
1.2 ! damieng 1795: <div class="documentation"> Imageresponse Image (contains the image source file).
1.1 damieng 1796:
1797: The delimited text should correspond to a published image resource.
1798: Example: <image>/res/adm/includes/templates/man1.jpg</image>. The following image formats are recommended - gif, jpg or png. Other formats may work, but there may be printing or display issues. The image should only appear once per foil.
1799: </div>
1800:
1801: Choice between:<ul><li>
1802: <a href="#gnuplot_0">gnuplot</a><br>
1803: </li></ul>
1804: </div>
1805: <hr>
1806: <a name="imageresponse--rectangle_0"></a><h3>Simple type <span class="nomtitre">imageresponse--rectangle</span>
1807: </h3>
1808:
1.2 ! damieng 1809: <div class="documentation"> Rectangular area in image (contains coordinate pairs).
1.1 damieng 1810:
1811: The delimited text specifies a rectangular area that is correct, specified as (x1,y1)-(x2,y2), where x1, x2, y1, and y2 are number corresponding to the x and y coordinates of two corners that define a rectangle which specifies where the right answer for this foil is located on the image. For example, (0,0)-(100,200) will specify that a rectangle 100 pixels wide and 200 pixels tall, situated in the upper left of the image, is correct. At least one rectangle is required; multiple rectangles may be specified.
1812: </div>
1813:
1.2 ! damieng 1814: Union of types<ul>
! 1815: <li><a href="#perl_0">perl</a></li>
! 1816: <li>
1.1 damieng 1817: Value restriction based on xs:string<ul>
1818: <li><tt>\s*\(.+\)-\(.+\)\s*</tt></li>
1819: </ul>
1.2 ! damieng 1820: </li>
! 1821: </ul>
1.1 damieng 1822: <hr>
1823: <a name="imageresponse--polygon_0"></a><h3>Simple type <span class="nomtitre">imageresponse--polygon</span>
1824: </h3>
1825:
1826: <div class="documentation">Polygonal area in image (contains coordinate list)</div>
1827:
1.2 ! damieng 1828: Union of types<ul>
! 1829: <li><a href="#perl_0">perl</a></li>
! 1830: <li>
1.1 damieng 1831: Value restriction based on xs:string<ul>
1832: <li><tt>\s*\(.+\)(-\(.+\))+\s*</tt></li>
1833: </ul>
1.2 ! damieng 1834: </li>
! 1835: </ul>
1.1 damieng 1836: <hr>
1837: <a name="imageresponse--text_0"></a><h3>Complex type <span class="nomtitre">imageresponse--text</span>
1838: </h3>Can contain text<br><div class="indentation">
1839:
1.2 ! damieng 1840: <div class="documentation"> Text to describe option
1.1 damieng 1841:
1842: The delimited text is printed before the image is shown on the screen.
1843: This text is typically used to describe to the student what they are expected to click on.
1844: </div>
1845:
1846: Choice between:<ul>
1847: <li>
1848: <a href="#text-only_0">text-only</a><br>
1849: </li>
1850: <li>
1851: <a href="#parserlib_0">parserlib</a><br>
1852: </li>
1853: <li>
1854: <a href="#scriptlib_0">scriptlib</a><br>
1855: </li>
1856: </ul>
1857: </div>
1858: <hr>
1859:
1860:
1.2 ! damieng 1861: <div class="documentation"> Numerical response
1.1 damieng 1862: </div>
1.2 ! damieng 1863: <hr>
1.1 damieng 1864:
1865: <a name="numericalresponse_0"></a><h3>Element <span class="nomtitre">numericalresponse</span>
1866: </h3>
1867:
1.2 ! damieng 1868: <div class="documentation"> Query for one or several numbers, possibly with units.
1.1 damieng 1869:
1870: A tolerance parameter should be used to determine how closely the system will require the student’s answer to be in order to count it correct. The tolerance will default to zero if it is not defined. The tolerance parameter should always be defined for a numerical problem unless you are certain only integer answers are generated from your script and you want students to reply with exactly that integer.
1871:
1872: A significant figures parameter tells the system how many significant figures there are in the problem, as either a single number, e.g. 3, or a range of acceptable values, expressed as min,max. The system will check to make sure that the student’s answer contains this many significant digits, useful in many scientific calculations.
1873: </div>
1874:
1875: Can contain text<br><div class="indentation">
1876: Choice between:<ul>
1877: <li>
1878: <a href="#responseparam_0">responseparam</a><br>
1879: </li>
1880: <li>
1881: <a name="answergroup_0"></a><h3>Element <span class="nomtitre">answergroup</span>
1882: </h3>type: <a href="#caparesponse--answergroup_0">caparesponse--answergroup</a><br><br>
1883: </li>
1884: <li>
1885: <a href="#hiddenline_0">hiddenline</a><br>
1886: </li>
1887: <li>
1888: <a href="#hintgroup_0">hintgroup</a><br>
1889: </li>
1890: <li>
1891: <a href="#numericalhint_0">numericalhint</a><br>
1892: </li>
1893: <li>
1894: <a href="#hintpart_0">hintpart</a><br>
1895: </li>
1896: <li>
1897: <a href="#text-only_0">text-only</a><br>
1898: </li>
1899: </ul>
1900: <a href="#response-identification_0">response-identification</a><br><br>
1901: Attribute <span class="nomattribut">answer</span>:
1902: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
1903:
1.2 ! damieng 1904: <div class="documentation"> The answer the system is looking for. The answer can use variables calculated/defined in the problem’s script block, allowing the answer to be determined dynamically (including randomization).
1.1 damieng 1905: </div>
1906:
1907: </div>
1908: Attribute <span class="nomattribut">incorrect</span>:
1909: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
1910:
1.2 ! damieng 1911: <div class="documentation"> Incorrect Answers
1.1 damieng 1912: When switched into exam ("bubble sheet") mode, LON-CAPA usually create wrong answers automatically. To specify wrong answers yourself, you need to provide an array of incorrect values in this attribute. You need to provide at least as many incorrects as 1 less than the number of bubbles on the exam. You can provide more if you want to.
1913: </div>
1914:
1915: </div>
1916: Attribute <span class="nomattribut">unit</span>:
1917: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
1918:
1.2 ! damieng 1919: <div class="documentation"> Expected units for the answer. For instance, "m/s^2" or "km/(A*hr)".
1.1 damieng 1920: LON-CAPA will automatically perform some conversions between units of the same dimension when units are provided for a problem. You can provide an answer of "1.45 km" for a distance. If the computer expects the answer in cm, it will convert your answer before comparing against the numerical solution.
1921: </div>
1922:
1923: </div>
1924: Attribute <span class="nomattribut">format</span>:
1925: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
1926:
1.2 ! damieng 1927: <div class="documentation"> You can format the number displayed by the computer as the answer. For instance, if the answer is one-third, the computer will display that it computed ".333333333" as the answer. If you'd like to shorten that, you can use the Format field. Format strings like "2E" (without the quotes) will display three significant digits in scientific notation. Format strings like "2f" will display two digits after the decimal point. Format strings like "2s" will round a number to 2 significant digits.
1.1 damieng 1928: </div>
1929:
1930: </div>
1931: Attribute <span class="nomattribut">preprocess</span>:
1932: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
1933:
1.2 ! damieng 1934: <div class="documentation"> Pre-Processor Subroutine
1.1 damieng 1935: </div>
1936:
1937: </div>
1938: </div>
1.2 ! damieng 1939: <br>Parents: <a href="#inlineResponses_0">inlineResponses</a><br><hr>
1.1 damieng 1940: <a name="caparesponse--answergroup_0"></a><h3>Complex type <span class="nomtitre">caparesponse--answergroup</span>
1941: </h3>
1942: <div class="indentation">
1943:
1.2 ! damieng 1944: <div class="documentation"> Collection of Answers.
1.1 damieng 1945: This element can be used instead of the answer attribute on the response element when several answers are correct, or when the correct answer has several components.
1946: </div>
1947:
1948: Choice between:<ul><li>
1949: <a name="answer_2"></a><h3>Element <span class="nomtitre">answer</span>
1950: </h3>type: <a href="#caparesponse--answer_0">caparesponse--answer</a><br><br>
1951: </li></ul>
1952: Attribute <span class="nomattribut">type</span>:
1953: <div class="indentation">optional<br>
1954:
1.2 ! damieng 1955: Union of types<ul>
! 1956: <li><a href="#perl_0">perl</a></li>
! 1957: <li>
1.1 damieng 1958: Value restriction based on xs:string<ul>
1959: <li><tt>ordered</tt></li>
1960: <li><tt>unordered</tt></li>
1961: </ul>
1.2 ! damieng 1962: </li>
! 1963: </ul>
1.1 damieng 1964:
1965: </div>
1966: </div>
1967: <hr>
1968: <a name="caparesponse--answer_0"></a><h3>Complex type <span class="nomtitre">caparesponse--answer</span>
1969: </h3>
1970: <div class="indentation">
1971:
1.2 ! damieng 1972: <div class="documentation"> A correct list of values or vectors.
1.1 damieng 1973: </div>
1974:
1975: Choice between:<ul>
1976: <li>
1977: <a name="vector_0"></a><h3>Element <span class="nomtitre">vector</span>
1978: </h3>type: <a href="#caparesponse--vector_0">caparesponse--vector</a><br>
1979:
1.2 ! damieng 1980: <div class="documentation"> A vector, part of a correct answer.
1.1 damieng 1981: </div>
1982:
1983: <br>
1984: </li>
1985: <li>
1986: <a name="value_4"></a><h3>Element <span class="nomtitre">value</span>
1987: </h3>type: <a href="#caparesponse--value_0">caparesponse--value</a><br>
1988:
1.2 ! damieng 1989: <div class="documentation"> A value, part of a correct answer.
1.1 damieng 1990: </div>
1991:
1992: <br>
1993: </li>
1994: </ul>
1995: Attribute <span class="nomattribut">name</span>:
1996: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
1997: </div>
1998: Attribute <span class="nomattribut">type</span>:
1999: <div class="indentation">optional<br>
2000:
1.2 ! damieng 2001: Union of types<ul>
! 2002: <li><a href="#perl_0">perl</a></li>
! 2003: <li>
1.1 damieng 2004: Value restriction based on xs:string<ul>
2005: <li><tt>ordered</tt></li>
2006: <li><tt>unordered</tt></li>
2007: </ul>
1.2 ! damieng 2008: </li>
! 2009: </ul>
1.1 damieng 2010:
2011: </div>
2012: </div>
2013: <hr>
2014: <a name="caparesponse--value_0"></a><h3>Simple type <span class="nomtitre">caparesponse--value</span>
2015: </h3>
2016:
2017: <div class="documentation">Value</div>
2018:
2019: Value restriction based on xs:string
2020: <hr>
2021: <a name="caparesponse--vector_0"></a><h3>Simple type <span class="nomtitre">caparesponse--vector</span>
2022: </h3>
2023:
2024: <div class="documentation">Vector</div>
2025:
2026: Value restriction based on xs:string
2027: <hr>
2028:
1.2 ! damieng 2029: <div class="documentation"> Formula response (using caparesponse--answergroup like numericalresponse).
1.1 damieng 2030: </div>
1.2 ! damieng 2031: <hr>
1.1 damieng 2032:
2033: <a name="formularesponse_0"></a><h3>Element <span class="nomtitre">formularesponse</span>
2034: </h3>
2035:
1.2 ! damieng 2036: <div class="documentation"> Formula Response asks the student to type in a formula as an answer.
1.1 damieng 2037:
2038: If the answer is 2x² + 4, the student is allowed to type “2*x*x+4”, “x*x + x*x + 4”, “2*xˆ2 + 14 - 10”, or any other equivalent expression.
2039: Formula Response problems have many of the same characteristics of Numerical Response problems, including the ability to run scripts, dynamically generate answers, etc.
2040: </div>
2041:
2042: Can contain text<br><div class="indentation">
2043: Choice between:<ul>
2044: <li>
2045: <a href="#responseparam_0">responseparam</a><br>
2046: </li>
2047: <li>
2048: <a name="answergroup_1"></a><h3>Element <span class="nomtitre">answergroup</span>
2049: </h3>type: <a href="#caparesponse--answergroup_0">caparesponse--answergroup</a><br><br>
2050: </li>
2051: <li>
2052: <a href="#hiddenline_0">hiddenline</a><br>
2053: </li>
2054: <li>
2055: <a href="#hintgroup_0">hintgroup</a><br>
2056: </li>
2057: <li>
2058: <a href="#formulahint_0">formulahint</a><br>
2059: </li>
2060: <li>
2061: <a href="#hintpart_0">hintpart</a><br>
2062: </li>
2063: <li>
2064: <a href="#text-only_0">text-only</a><br>
2065: </li>
2066: </ul>
2067: <a href="#response-identification_0">response-identification</a><br><br>
2068: Attribute <span class="nomattribut">answer</span>:
2069: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
2070:
1.2 ! damieng 2071: <div class="documentation"> The correct answer. It can use variables calculated/defined in the problem’s Perl script block, allowing the answer to be determined dynamically.
1.1 damieng 2072: </div>
2073:
2074: </div>
2075: Attribute <span class="nomattribut">samples</span>:
2076: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
2077:
1.2 ! damieng 2078: <div class="documentation"> Sample Points.
1.1 damieng 2079:
2080: Format:
2081: 1. A comma-separated list of the variables you wish to interpret,
2082: 2. followed by “@” (not in quotes),
2083: 3. followed by any number of the following two things, separated by semi-colons:
2084: (a) a comma-separated list of as many numbers as there are variables, which specifies one sampling point, OR
2085: (b) a comma-separated list of as many numbers as there are variables, followed by a colon, followed by another list of as many numbers as there are variables, followed by a #, followed by an integer.
2086:
2087: a) specifies one point to sample. b) specifies a range for each variable, and the system will take as many random samples from that range as the number after the #.
2088: </div>
2089:
2090: </div>
2091: Attribute <span class="nomattribut">preprocess</span>:
2092: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
2093:
1.2 ! damieng 2094: <div class="documentation"> Pre-Processor Subroutine
1.1 damieng 2095: </div>
2096:
2097: </div>
2098: </div>
1.2 ! damieng 2099: <br>Parents: <a href="#inlineResponses_0">inlineResponses</a><br><hr>
1.1 damieng 2100:
2101:
1.2 ! damieng 2102: <div class="documentation"> Math response
1.1 damieng 2103: </div>
1.2 ! damieng 2104: <hr>
1.1 damieng 2105:
2106: <a name="mathresponse_0"></a><h3>Element <span class="nomtitre">mathresponse</span>
2107: </h3>
2108:
1.2 ! damieng 2109: <div class="documentation"> Query for text that is evaluated with a script written in a Computer Algebra System (CAS) language.
1.1 damieng 2110: The CAS script must be included in the response with an <answer> element.
2111:
2112: MathResponse is extremely powerful, as it tests answers for conditions rather than agreement with a particular correct answer. An unfortunate byproduct, however, is that it cannot be analyzed by several of the LON-CAPA statistics tools.
2113: </div>
2114:
2115: Can contain text<br><div class="indentation">
2116: Choice between:<ul>
2117: <li>
2118: <a href="#responseparam_0">responseparam</a><br>
2119: </li>
2120: <li>
2121: <a name="answer_4"></a><h3>Element <span class="nomtitre">answer</span>
2122: </h3>type: <a href="#mathresponse--answer_0">mathresponse--answer</a><br>
2123:
1.2 ! damieng 2124: <div class="documentation"> Maxima or R script using the arrays RESPONSE (the student response) and LONCAPALIST (from the args attribute).
1.1 damieng 2125: Returns a boolean in the last statement that will be true if the answer is correct.
2126: </div>
2127:
2128: <br>
2129: </li>
2130: <li>
2131: <a href="#textfield_0">textfield</a><br>
2132: </li>
2133: <li>
2134: <a href="#hiddensubmission_0">hiddensubmission</a><br>
2135: </li>
2136: <li>
2137: <a href="#hiddenline_0">hiddenline</a><br>
2138: </li>
2139: <li>
2140: <a href="#hintgroup_0">hintgroup</a><br>
2141: </li>
2142: <li>
2143: <a href="#mathhint_0">mathhint</a><br>
2144: </li>
2145: <li>
2146: <a href="#hintpart_0">hintpart</a><br>
2147: </li>
2148: <li>
2149: <a href="#text-only_0">text-only</a><br>
2150: </li>
2151: </ul>
2152: <a href="#response-identification_0">response-identification</a><br><br>
2153: Attribute <span class="nomattribut">answerdisplay</span>:
2154: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
2155:
1.2 ! damieng 2156: <div class="documentation"> This attribute contains what is displayed when the problem is in "Show Answer" mode.
1.1 damieng 2157: You will want to use it so that the students can see the correct answer after the "Show Answer Date" configured when the problem is assigned in the course space.
2158:
2159: This is usually the name of a Perl string variable (starting with '$') created in a Perl script before the response.
2160: </div>
2161:
2162: </div>
2163: Attribute <span class="nomattribut">cas</span>:
2164: <div class="indentation">required<br>
2165:
1.2 ! damieng 2166: <div class="documentation"> Algebra System. Maxima and R are supported.
1.1 damieng 2167: </div>
2168:
2169:
1.2 ! damieng 2170: Union of types<ul>
! 2171: <li><a href="#perl_0">perl</a></li>
! 2172: <li>
1.1 damieng 2173: Value restriction based on xs:string<ul>
2174: <li><tt>maxima</tt></li>
2175: <li><tt>R</tt></li>
2176: </ul>
1.2 ! damieng 2177: </li>
! 2178: </ul>
1.1 damieng 2179:
2180: </div>
2181: Attribute <span class="nomattribut">args</span>:
2182: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
2183:
1.2 ! damieng 2184: <div class="documentation"> Perl array that will be passed to the CAS script as the LONCAPALIST variable.
1.1 damieng 2185: This is usually the name of a Perl array variable (starting with '@') created in a Perl script before the response.
2186: </div>
2187:
2188: </div>
2189: Attribute <span class="nomattribut">libraries</span>:
2190: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
2191:
1.2 ! damieng 2192: <div class="documentation"> Comma-separated list of libraries.
1.1 damieng 2193:
2194: The following libraries can be used with Maxima:
2195: absimp, affine, atensor, atrig1, augmented_lagrangian,
2196: contrib_ode, ctensor, descriptive, diag, eigen, facexp, fft,
2197: fourie, functs, ggf, grobner, impdiff, ineq, interpol,
2198: itensor, lapack, lbfgs, lindstedt, linearalgebra, lsquares,
2199: makeOrders, mnewton, mchrpl, ntrig, orthopoly,
2200: quadpack, rducon, romberg, scifac, simplex, solve_rec,
2201: sqdnst, stats, sterling, sym, units, vect, zeilberger
2202:
2203: The following libraries can be used with R:
2204: alr3, boot, car, class, cluster, datasets, Hmisc,
2205: KernSmooth, leaps, lmtest, MASS, methods, mgcv,
2206: nlme, nnet, qAnalyst, quadprog, rpart, SuppDists,
2207: spatial, splines, stats, stats4, survival, tseries, zoo
2208: </div>
2209:
2210: </div>
2211: </div>
1.2 ! damieng 2212: <br>Parents: <a href="#inlineResponses_0">inlineResponses</a><br><hr>
1.1 damieng 2213: <a name="mathresponse--answer_0"></a><h3>Complex type <span class="nomtitre">mathresponse--answer</span>
2214: </h3>Can contain text<br><div class="indentation">
2215: Attribute <span class="nomattribut">type</span>:
2216: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
2217: </div>
2218: Attribute <span class="nomattribut"></span>:
2219: <div class="indentation">optional<br>
2220: </div>
2221: </div>
2222: <hr>
2223:
2224:
1.2 ! damieng 2225: <div class="documentation"> Function plot response
1.1 damieng 2226: </div>
1.2 ! damieng 2227: <hr>
1.1 damieng 2228:
2229: <a name="functionplotresponse_0"></a><h3>Element <span class="nomtitre">functionplotresponse</span>
2230: </h3>
2231:
1.2 ! damieng 2232: <div class="documentation"> Query for the drawing of a function.
1.1 damieng 2233:
2234: Requires that the student creates a plot that matches specified criteria.
2235: Examples can be functions that have certain slopes, curvature, maxima or minima at specified independent coordinate values. The students create their answer by dragging the curves and adjusting the slopes.
2236: </div>
2237:
2238: Can contain text<br><div class="indentation">
2239: Choice between:<ul>
2240: <li>
2241: <a href="#functionplotelements_0">functionplotelements</a><br>
2242: </li>
2243: <li>
2244: <a href="#functionplotruleset_0">functionplotruleset</a><br>
2245: </li>
2246: <li>
2247: <a href="#hintgroup_0">hintgroup</a><br>
2248: </li>
2249: <li>
2250: <a href="#text-only_0">text-only</a><br>
2251: </li>
2252: </ul>
2253: <a href="#response-identification_0">response-identification</a><br><br>
2254: Attribute <span class="nomattribut">width</span>:
2255: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
2256:
1.2 ! damieng 2257: <div class="documentation"> Width (pixels)
1.1 damieng 2258: </div>
2259:
2260: </div>
2261: Attribute <span class="nomattribut">height</span>:
2262: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
2263:
1.2 ! damieng 2264: <div class="documentation"> Height (pixels)
1.1 damieng 2265: </div>
2266:
2267: </div>
2268: Attribute <span class="nomattribut">xlabel</span>:
2269: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
2270:
1.2 ! damieng 2271: <div class="documentation"> Label x-axis
1.1 damieng 2272: </div>
2273:
2274: </div>
2275: Attribute <span class="nomattribut">xmin</span>:
2276: <div class="indentation">optional<br>type: <a href="#real-or-perl_0">real-or-perl</a><br>
2277:
1.2 ! damieng 2278: <div class="documentation"> Minimum x-value
1.1 damieng 2279: </div>
2280:
2281: </div>
2282: Attribute <span class="nomattribut">xmax</span>:
2283: <div class="indentation">optional<br>type: <a href="#real-or-perl_0">real-or-perl</a><br>
2284:
1.2 ! damieng 2285: <div class="documentation"> Maximum x-value
1.1 damieng 2286: </div>
2287:
2288: </div>
2289: Attribute <span class="nomattribut">xaxisvisible</span>:
2290: <div class="indentation">optional<br>type: <a href="#yesno-or-perl_0">yesno-or-perl</a><br>
2291:
1.2 ! damieng 2292: <div class="documentation"> x-axis visible
1.1 damieng 2293: </div>
2294:
2295: </div>
2296: Attribute <span class="nomattribut">ylabel</span>:
2297: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
2298:
1.2 ! damieng 2299: <div class="documentation"> Label y-axis
1.1 damieng 2300: </div>
2301:
2302: </div>
2303: Attribute <span class="nomattribut">ymin</span>:
2304: <div class="indentation">optional<br>type: <a href="#real-or-perl_0">real-or-perl</a><br>
2305:
1.2 ! damieng 2306: <div class="documentation"> Minimum y-value
1.1 damieng 2307: </div>
2308:
2309: </div>
2310: Attribute <span class="nomattribut">ymax</span>:
2311: <div class="indentation">optional<br>type: <a href="#real-or-perl_0">real-or-perl</a><br>
2312:
1.2 ! damieng 2313: <div class="documentation"> Maximum y-value
1.1 damieng 2314: </div>
2315:
2316: </div>
2317: Attribute <span class="nomattribut">yaxisvisible</span>:
2318: <div class="indentation">optional<br>type: <a href="#yesno-or-perl_0">yesno-or-perl</a><br>
2319:
1.2 ! damieng 2320: <div class="documentation"> y-axis visible
1.1 damieng 2321: </div>
2322:
2323: </div>
2324: Attribute <span class="nomattribut">gridvisible</span>:
2325: <div class="indentation">optional<br>type: <a href="#yesno-or-perl_0">yesno-or-perl</a><br>
2326:
1.2 ! damieng 2327: <div class="documentation"> This determines whether or not the grid is on the graph.
1.1 damieng 2328: </div>
2329:
2330: </div>
2331: Attribute <span class="nomattribut">answerdisplay</span>:
2332: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
2333:
1.2 ! damieng 2334: <div class="documentation"> Background plot(s) for answer (function(x):xmin:xmax,function(x):xmin:xmax,x1:y1:sx1:sy1:x2:y2:sx2:sy2,...)
1.1 damieng 2335:
2336: This is a green curve the computer will display once the correct answer has been submitted. It is static, and can be given as a piecewise function.
2337: Since some problems will have multiple correct answers, this necessarily will only be a possible answer. Only the left hand side of the equation is necessary. For example, entering x + 2 will display the line y = x + 2.
2338: The syntax must be syntax recognized by GeoGebra. To test syntax for Geogebra directly, visit http://www.geogebra.org/webstart/geogebra.html .
2339: </div>
2340:
2341: </div>
2342: </div>
1.2 ! damieng 2343: <br>Parents: <a href="#blockResponses_0">blockResponses</a><br><hr>
1.1 damieng 2344: <a name="functionplotelements_0"></a><h3>Element <span class="nomtitre">functionplotelements</span>
2345: </h3>
2346:
2347: <div class="documentation">Function Plot Elements</div>
2348:
2349: <div class="indentation">
2350: Choice between:<ul>
2351: <li>
2352: <a href="#spline_0">spline</a><br>
2353: </li>
2354: <li>
2355: <a href="#backgroundplot_0">backgroundplot</a><br>
2356: </li>
2357: <li>
2358: <a href="#plotobject_0">plotobject</a><br>
2359: </li>
2360: <li>
2361: <a href="#plotvector_0">plotvector</a><br>
2362: </li>
2363: <li>
2364: <a href="#drawvectorsum_0">drawvectorsum</a><br>
2365: </li>
2366: </ul>
2367: </div>
1.2 ! damieng 2368: <br>Parents: <a href="#functionplotresponse_0">functionplotresponse</a><br><hr>
1.1 damieng 2369: <a name="spline_0"></a><h3>Element <span class="nomtitre">spline</span>
2370: </h3>
2371:
1.2 ! damieng 2372: <div class="documentation"> At least one spline is necessary for a graph problem. These splines are what will be adjusted and analyzed to solve the problem.
1.1 damieng 2373: </div>
2374:
2375: <div class="indentation">
2376: Attribute <span class="nomattribut">index</span>:
2377: <div class="indentation">optional<br>
2378:
1.2 ! damieng 2379: <div class="documentation"> This is the label assigned to the spline. In general, it's simplest just to label them A, B, C etc.
1.1 damieng 2380: </div>
2381:
2382:
1.2 ! damieng 2383: Union of types<ul>
! 2384: <li><a href="#perl_0">perl</a></li>
! 2385: <li>
1.1 damieng 2386: Value restriction based on xs:string<ul>
2387: <li><tt>[a-zA-Z_]+</tt></li>
2388: </ul>
1.2 ! damieng 2389: </li>
! 2390: </ul>
1.1 damieng 2391:
2392: </div>
2393: Attribute <span class="nomattribut">order</span>:
2394: <div class="indentation">optional<br>
2395:
1.2 ! damieng 2396: <div class="documentation"> This determines the number of Control Points on the spline. For example, selecting '3' means there will be 3 points on the spline that can be moved, as well as 3 points off the spline that will control the slope.
1.1 damieng 2397: </div>
2398:
2399:
1.2 ! damieng 2400: Union of types<ul>
! 2401: <li><a href="#perl_0">perl</a></li>
! 2402: <li>
1.1 damieng 2403: Value restriction based on xs:int<ul>
2404: <li><tt>>= 2</tt></li>
2405: <li><tt><= 8</tt></li>
2406: </ul>
1.2 ! damieng 2407: </li>
! 2408: </ul>
1.1 damieng 2409:
2410: </div>
2411: Attribute <span class="nomattribut">initx</span>:
2412: <div class="indentation">optional<br>type: <a href="#real-or-perl_0">real-or-perl</a><br>
2413:
1.2 ! damieng 2414: <div class="documentation"> Initial x-value
1.1 damieng 2415: "Initial x-value" and "Initial y-value" determine where the left most Control Point will be.
2416: </div>
2417:
2418: </div>
2419: Attribute <span class="nomattribut">inity</span>:
2420: <div class="indentation">optional<br>type: <a href="#real-or-perl_0">real-or-perl</a><br>
2421:
1.2 ! damieng 2422: <div class="documentation"> Initial y-value
1.1 damieng 2423: "Initial x-value" and "Initial y-value" determine where the left most Control Point will be.
2424: </div>
2425:
2426: </div>
2427: Attribute <span class="nomattribut">scalex</span>:
2428: <div class="indentation">optional<br>type: <a href="#real-or-perl_0">real-or-perl</a><br>
2429:
1.2 ! damieng 2430: <div class="documentation"> This determines the right most location of the Control Points (on the spline). To figure out where this point will be, add 'Initial x-value' to 'Scale x'.
1.1 damieng 2431: </div>
2432:
2433: </div>
2434: Attribute <span class="nomattribut">scaley</span>:
2435: <div class="indentation">optional<br>type: <a href="#real-or-perl_0">real-or-perl</a><br>
2436:
1.2 ! damieng 2437: <div class="documentation"> This determines the distance (in the y-direction) between the Control Points on the spline, and the ones that control the slope.
1.1 damieng 2438: </div>
2439:
2440: </div>
2441: </div>
1.2 ! damieng 2442: <br>Parents: <a href="#functionplotelements_0">functionplotelements</a><br><hr>
1.1 damieng 2443: <a name="backgroundplot_0"></a><h3>Element <span class="nomtitre">backgroundplot</span>
2444: </h3>
2445:
1.2 ! damieng 2446: <div class="documentation"> Background Function Plot.
1.1 damieng 2447: This places a static curve on the graph of your choosing. It can be labeled, moveable or fixed, and any color desired. Only the right hand side of the function you want displayed is necessary. For example, entering x+2 will display the line y=x+2. The syntax must be syntax recognized by GeoGebra.
2448: </div>
2449:
2450: <div class="indentation">
2451: Attribute <span class="nomattribut">function</span>:
2452: <div class="indentation">required<br>type: <tt>xs:string</tt><br>
2453:
1.2 ! damieng 2454: <div class="documentation"> An equals sign is not necessary. Just give the right hand side of the function. LON-CAPA variables are usable as well to allow individualized problems for each student. The syntax must be syntax recognized by GeoGebra.
1.1 damieng 2455: </div>
2456:
2457: </div>
2458: Attribute <span class="nomattribut">xinitial</span>:
2459: <div class="indentation">optional<br>type: <a href="#real-or-perl_0">real-or-perl</a><br>
2460:
1.2 ! damieng 2461: <div class="documentation"> Initial x-value (optional)
1.1 damieng 2462: </div>
2463:
2464: </div>
2465: Attribute <span class="nomattribut">xfinal</span>:
2466: <div class="indentation">optional<br>type: <a href="#real-or-perl_0">real-or-perl</a><br>
2467:
1.2 ! damieng 2468: <div class="documentation"> Final x-value (optional)
1.1 damieng 2469: </div>
2470:
2471: </div>
2472: Attribute <span class="nomattribut">label</span>:
2473: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
2474:
1.2 ! damieng 2475: <div class="documentation"> Label on Plot
1.1 damieng 2476: </div>
2477:
2478: </div>
2479: Attribute <span class="nomattribut">color</span>:
2480: <div class="indentation">optional<br>
2481:
1.2 ! damieng 2482: <div class="documentation"> Color of the background function (hex code).
1.1 damieng 2483: The default is 000000 (black). It is recommended to choose a color other than green, since it is easily confused with being the answer.
2484: </div>
2485:
2486:
1.2 ! damieng 2487: Union of types<ul>
! 2488: <li><a href="#perl_0">perl</a></li>
! 2489: <li>
1.1 damieng 2490: Value restriction based on xs:string<ul>
2491: <li><tt>[\da-fA-F]{6}</tt></li>
2492: </ul>
1.2 ! damieng 2493: </li>
! 2494: </ul>
1.1 damieng 2495:
2496: </div>
2497: Attribute <span class="nomattribut">fixed</span>:
2498: <div class="indentation">optional<br>type: <a href="#yesno-or-perl_0">yesno-or-perl</a><br>
2499:
1.2 ! damieng 2500: <div class="documentation"> Fixed location
1.1 damieng 2501: </div>
2502:
2503: </div>
2504: </div>
1.2 ! damieng 2505: <br>Parents: <a href="#functionplotelements_0">functionplotelements</a><br><hr>
1.1 damieng 2506: <a name="plotobject_0"></a><h3>Element <span class="nomtitre">plotobject</span>
2507: </h3>
2508:
1.2 ! damieng 2509: <div class="documentation"> This places a point in the applet. Generally intended to be used with Vectors to create problems involving Free-Body Diagrams or any other points that vectors (or arrows) connect to and from.
1.1 damieng 2510: </div>
2511:
2512: <div class="indentation">
2513: Attribute <span class="nomattribut">label</span>:
2514: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
2515:
1.2 ! damieng 2516: <div class="documentation"> Label on Plot
1.1 damieng 2517: </div>
2518:
2519: </div>
2520: Attribute <span class="nomattribut">x</span>:
2521: <div class="indentation">optional<br>type: <a href="#real-or-perl_0">real-or-perl</a><br>
2522: </div>
2523: Attribute <span class="nomattribut">y</span>:
2524: <div class="indentation">optional<br>type: <a href="#real-or-perl_0">real-or-perl</a><br>
2525: </div>
2526: </div>
1.2 ! damieng 2527: <br>Parents: <a href="#functionplotelements_0">functionplotelements</a><br><hr>
1.1 damieng 2528: <a name="plotvector_0"></a><h3>Element <span class="nomtitre">plotvector</span>
2529: </h3>
2530:
1.2 ! damieng 2531: <div class="documentation"> This creates a vector (or arrow) in the applet. Generally intended to be used with Objects to create problems involving Free-Body Diagrams or to establish connections between Objects.
1.1 damieng 2532: </div>
2533:
2534: <div class="indentation">
2535: Attribute <span class="nomattribut">label</span>:
2536: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
2537:
1.2 ! damieng 2538: <div class="documentation"> Label on Plot.
1.1 damieng 2539: Determines the name of the vector, as well as the name that will be visible in the problem.
2540: This value MUST be capitalized and cannot include spaces or most symbols. To be safe, stick with letters and numbers.
2541: </div>
2542:
2543: </div>
2544: Attribute <span class="nomattribut">tailx</span>:
2545: <div class="indentation">optional<br>type: <a href="#real-or-perl_0">real-or-perl</a><br>
2546: </div>
2547: Attribute <span class="nomattribut">taily</span>:
2548: <div class="indentation">optional<br>type: <a href="#real-or-perl_0">real-or-perl</a><br>
2549: </div>
2550: Attribute <span class="nomattribut">tipx</span>:
2551: <div class="indentation">optional<br>type: <a href="#real-or-perl_0">real-or-perl</a><br>
2552: </div>
2553: Attribute <span class="nomattribut">tipy</span>:
2554: <div class="indentation">optional<br>type: <a href="#real-or-perl_0">real-or-perl</a><br>
2555: </div>
2556: </div>
1.2 ! damieng 2557: <br>Parents: <a href="#functionplotelements_0">functionplotelements</a><br><hr>
1.1 damieng 2558: <a name="drawvectorsum_0"></a><h3>Element <span class="nomtitre">drawvectorsum</span>
2559: </h3>
2560:
2561: <div class="documentation">Draw Vector Sum</div>
2562:
2563: <div class="indentation">
2564: Attribute <span class="nomattribut">label</span>:
2565: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
2566:
1.2 ! damieng 2567: <div class="documentation"> Label on Plot
1.1 damieng 2568: </div>
2569:
2570: </div>
2571: Attribute <span class="nomattribut">tailx</span>:
2572: <div class="indentation">optional<br>type: <a href="#real-or-perl_0">real-or-perl</a><br>
2573: </div>
2574: Attribute <span class="nomattribut">taily</span>:
2575: <div class="indentation">optional<br>type: <a href="#real-or-perl_0">real-or-perl</a><br>
2576: </div>
2577: Attribute <span class="nomattribut">showvalue</span>:
2578: <div class="indentation">optional<br>type: <a href="#yesno-or-perl_0">yesno-or-perl</a><br>
2579: </div>
2580: Attribute <span class="nomattribut">vectorlist</span>:
2581: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
2582: </div>
2583: </div>
1.2 ! damieng 2584: <br>Parents: <a href="#functionplotelements_0">functionplotelements</a><br><hr>
1.1 damieng 2585: <a name="functionplotruleset_0"></a><h3>Element <span class="nomtitre">functionplotruleset</span>
2586: </h3>
2587:
1.2 ! damieng 2588: <div class="documentation"> This is where the rules are defined. These rules will determine whether or not an entered answer is correct or not. If there are no rules, any answer will be deemed correct. If there is more than one rule, when an answer is submitted, the server will analyze them in order until one of them is broken (of course, if it's a correct answer, it will go through all of them and return a green box). In such an event, any subsequent rules will be ignored. If conditional hints related to these rules are added, only the first broken rule's hint will be shown, even if all rules are broken.
1.1 damieng 2589: </div>
2590:
2591: <div class="indentation">
2592: Choice between:<ul>
2593: <li>
2594: <a href="#functionplotrule_0">functionplotrule</a><br>
2595: </li>
2596: <li>
2597: <a href="#functionplotvectorrule_0">functionplotvectorrule</a><br>
2598: </li>
2599: <li>
2600: <a href="#functionplotvectorsumrule_0">functionplotvectorsumrule</a><br>
2601: </li>
2602: <li>
2603: <a href="#functionplotcustomrule_0">functionplotcustomrule</a><br>
2604: </li>
2605: </ul>
2606: </div>
1.2 ! damieng 2607: <br>Parents: <a href="#functionplotresponse_0">functionplotresponse</a><br><hr>
1.1 damieng 2608: <a name="functionplotrule_0"></a><h3>Element <span class="nomtitre">functionplotrule</span>
2609: </h3>
2610:
1.2 ! damieng 2611: <div class="documentation"> Function Plot Graph Rule.
1.1 damieng 2612:
2613: Used to create a rule that determines whether or not a submitted graph is correct. In general, it takes the form of testing the function, its integral, or its first or second derivative over a given set of x-values. The test can be to see if it equals, is greater than, or less than a specified value. Anywhere a number is needed, a variable can also be used.
2614: </div>
2615:
2616: <div class="indentation">
2617: Attribute <span class="nomattribut">index</span>:
2618: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
2619:
1.2 ! damieng 2620: <div class="documentation"> This is an internal label for the rule. Something must be entered here, and it must be different for each rule. This same value will be used to add a conditional hint.
1.1 damieng 2621: </div>
2622:
2623: </div>
2624: Attribute <span class="nomattribut">derivativeorder</span>:
2625: <div class="indentation">optional<br>
2626:
1.2 ! damieng 2627: <div class="documentation"> This determines what the server will be testing. For instance, choose 'First derivative' causes the server to evaluate the derivative of the entered answer over the given domain.
1.1 damieng 2628: </div>
2629:
2630:
1.2 ! damieng 2631: Union of types<ul>
! 2632: <li><a href="#perl_0">perl</a></li>
! 2633: <li>
1.1 damieng 2634: Value restriction based on xs:int<ul>
2635: <li><tt>0</tt></li>
2636: <li><tt>1</tt></li>
2637: <li><tt>2</tt></li>
2638: <li><tt>-1</tt></li>
2639: </ul>
1.2 ! damieng 2640: </li>
! 2641: </ul>
1.1 damieng 2642:
2643: </div>
2644: Attribute <span class="nomattribut">xinitial</span>:
2645: <div class="indentation">optional<br>type: <a href="#real-or-perl_0">real-or-perl</a><br>
2646:
1.2 ! damieng 2647: <div class="documentation"> Initial x-value.
1.1 damieng 2648: A value must be entered for one of "Initial x-value" and "Initial x-value label". Either choose a numerical value for x (the first option), or choose the beginning of the submitted answer, the end, or a previously chosen named point.
2649: </div>
2650:
2651: </div>
2652: Attribute <span class="nomattribut">xinitiallabel</span>:
2653: <div class="indentation">optional<br>
2654:
1.2 ! damieng 2655: <div class="documentation"> Initial x-value label.
1.1 damieng 2656: A value must be entered for one of "Initial x-value" and "Initial x-value label". Either choose a numerical value for x (the first option), or choose the beginning of the submitted answer, the end, or a previously chosen named point.
2657: </div>
2658:
2659:
1.2 ! damieng 2660: Union of types<ul>
! 2661: <li><a href="#perl_0">perl</a></li>
! 2662: <li>
1.1 damieng 2663: Value restriction based on xs:string<ul>
2664: <li><tt>[a-zA-Z_]+</tt></li>
2665: </ul>
1.2 ! damieng 2666: </li>
! 2667: </ul>
1.1 damieng 2668:
2669: </div>
2670: Attribute <span class="nomattribut">xfinal</span>:
2671: <div class="indentation">optional<br>type: <a href="#real-or-perl_0">real-or-perl</a><br>
2672:
1.2 ! damieng 2673: <div class="documentation"> Final x-value (optional).
1.1 damieng 2674: This determines the end of the domain over which the rule examines. To test only a single point (the initial value), leave "Final x-value" and "Final x-value label" blank. If a label is entered, such as 'positive', the point at which the rule fails will be given this special label. This label can then be used in subsequent rules as an 'Initial x-value label'.
2675: </div>
2676:
2677: </div>
2678: Attribute <span class="nomattribut">xfinallabel</span>:
2679: <div class="indentation">optional<br>
2680:
1.2 ! damieng 2681: <div class="documentation"> Final x-value label (optional).
1.1 damieng 2682: This determines the end of the domain over which the rule examines. To test only a single point (the initial value), leave "Final x-value" and "Final x-value label" blank. If a label is entered, such as 'positive', the point at which the rule fails will be given this special label. This label can then be used in subsequent rules as an 'Initial x-value label'.
2683: </div>
2684:
2685:
1.2 ! damieng 2686: Union of types<ul>
! 2687: <li><a href="#perl_0">perl</a></li>
! 2688: <li>
1.1 damieng 2689: Value restriction based on xs:string<ul>
2690: <li><tt>[a-zA-Z_]+</tt></li>
2691: </ul>
1.2 ! damieng 2692: </li>
! 2693: </ul>
1.1 damieng 2694:
2695: </div>
2696: Attribute <span class="nomattribut">minimumlength</span>:
2697: <div class="indentation">optional<br>type: <a href="#real-or-perl_0">real-or-perl</a><br>
2698:
1.2 ! damieng 2699: <div class="documentation"> Minimum length for range (optional).
1.1 damieng 2700: This tests that the difference between the initial and final x-values are at least a certain length apart. This is only useful if there is at least one label.
2701: </div>
2702:
2703: </div>
2704: Attribute <span class="nomattribut">maximumlength</span>:
2705: <div class="indentation">optional<br>type: <a href="#real-or-perl_0">real-or-perl</a><br>
2706:
1.2 ! damieng 2707: <div class="documentation"> Maximum length for range (optional).
1.1 damieng 2708: This tests that the difference between the initial and final x-values are at most a certain length apart. This is only useful if there is at least one label.
2709: </div>
2710:
2711: </div>
2712: Attribute <span class="nomattribut">relationship</span>:
2713: <div class="indentation">optional<br>
2714:
1.2 ! damieng 2715: <div class="documentation"> The heart of the rule. This choice determines whether the chosen 'function' is greater than, less than, equal to, etc. a certain 'value'.
1.1 damieng 2716: </div>
2717:
2718:
1.2 ! damieng 2719: Union of types<ul>
! 2720: <li><a href="#perl_0">perl</a></li>
! 2721: <li>
1.1 damieng 2722: Value restriction based on xs:string<ul>
2723: <li><tt>eq</tt></li>
2724: <li><tt>ne</tt></li>
2725: <li><tt>ge</tt></li>
2726: <li><tt>gt</tt></li>
2727: <li><tt>lt</tt></li>
2728: <li><tt>le</tt></li>
2729: </ul>
1.2 ! damieng 2730: </li>
! 2731: </ul>
1.1 damieng 2732:
2733: </div>
2734: Attribute <span class="nomattribut">value</span>:
2735: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
2736:
1.2 ! damieng 2737: <div class="documentation"> Enter the number you wish to compare to. It is also possible to choose 'not defined', in the event the answer should not have a value for the given domain. Within the value argument, the function itself can be evaluated using &fpr_f(), its derivative using &fpr_dfdx(), and its second derivative using &fpr_d2fdx2(). This allows for a comparison of two points on the graph. The value of a previously defined label can be retrieved using the function &fpr_val(), e.g., &fpr_val('positive'). Previous defined values from script blocks can also be retrieved as normal variables, e.g., $x.
1.1 damieng 2738: </div>
2739:
2740: </div>
2741: Attribute <span class="nomattribut">percenterror</span>:
2742: <div class="indentation">optional<br>type: <a href="#real-or-perl_0">real-or-perl</a><br>
2743:
1.2 ! damieng 2744: <div class="documentation"> This allows for a margin of error in the y-direction. For instance, if the rule requires that the derivative be equal to 5, the server will accept values close enough to 5 that are within the percent error defined here. Note: Choosing 10% would not mean that the answer is correct as long as it is within the range 4.5-5.5. Instead, the percent corresponds to the total size of the graph. For the function itself, the 'percent error' is multiplied by the ymax-ymin; for the first derivative, it's multiplied by (ymax-ymin)/(xmax-xmin); for the second derivative, it's multiplied by (ymax-ymin)/(xmax-xmin)2; and for the integral, it's multiplied by (ymax-ymin)*(xmax-xmin).
1.1 damieng 2745: </div>
2746:
2747: </div>
2748: </div>
1.2 ! damieng 2749: <br>Parents: <a href="#functionplotruleset_0">functionplotruleset</a><br><hr>
1.1 damieng 2750: <a name="functionplotvectorrule_0"></a><h3>Element <span class="nomtitre">functionplotvectorrule</span>
2751: </h3>
2752:
1.2 ! damieng 2753: <div class="documentation"> Function Plot Vector Rule
1.1 damieng 2754: Used to test whether vectors are in the right place, pointed in the right direction, and have the correct length.
2755: </div>
2756:
2757: <div class="indentation">
2758: Attribute <span class="nomattribut">index</span>:
2759: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
2760:
1.2 ! damieng 2761: <div class="documentation"> Index/Name
1.1 damieng 2762: This is an internal label for the rule. This attribute must be different for each rule. This same value will be used to add a conditional hint.
2763: </div>
2764:
2765: </div>
2766: Attribute <span class="nomattribut">vector</span>:
2767: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
2768:
1.2 ! damieng 2769: <div class="documentation"> The name of one of the vectors in the list of function plot elements. Specifically, the one you want to test.
1.1 damieng 2770: </div>
2771:
2772: </div>
2773: Attribute <span class="nomattribut">attachpoint</span>:
2774: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
2775:
1.2 ! damieng 2776: <div class="documentation"> Attached to object.
1.1 damieng 2777: Object(s) this vector should be attached to. For more than one object, separate them by commas. If the vector should not be attached to any object, leave this blank. In this case, an object is considered attached if its tail OR its tip is in the vicinity of the object.
2778: </div>
2779:
2780: </div>
2781: Attribute <span class="nomattribut">notattachpoint</span>:
2782: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
2783:
1.2 ! damieng 2784: <div class="documentation"> Not attached to object.
1.1 damieng 2785: Object(s) that this vector should be not be near.
2786: For more than one object, separate them by commas. Particularly useful for distractor vectors.
2787: </div>
2788:
2789: </div>
2790: Attribute <span class="nomattribut">tailpoint</span>:
2791: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
2792:
1.2 ! damieng 2793: <div class="documentation"> Tail attached to object.
1.1 damieng 2794: Tail(s) this vector should be attached to.
2795: </div>
2796:
2797: </div>
2798: Attribute <span class="nomattribut">tippoint</span>:
2799: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
2800:
1.2 ! damieng 2801: <div class="documentation"> Tip attached to object.
1.1 damieng 2802: Tip(s) this vector should be attached to.
2803: </div>
2804:
2805: </div>
2806: Attribute <span class="nomattribut">nottailpoint</span>:
2807: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
2808:
1.2 ! damieng 2809: <div class="documentation"> Tail not attached to object.
1.1 damieng 2810: Tail(s) this vector should not be attached to.
2811: </div>
2812:
2813: </div>
2814: Attribute <span class="nomattribut">nottippoint</span>:
2815: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
2816:
1.2 ! damieng 2817: <div class="documentation"> Tip not attached to object.
1.1 damieng 2818: Tip(s) this vector should not be attached to.
2819: </div>
2820:
2821: </div>
2822: Attribute <span class="nomattribut">length</span>:
2823: <div class="indentation">optional<br>type: <a href="#real-or-perl_0">real-or-perl</a><br>
2824:
1.2 ! damieng 2825: <div class="documentation"> How long the vector should be.
1.1 damieng 2826: </div>
2827:
2828: </div>
2829: Attribute <span class="nomattribut">lengtherror</span>:
2830: <div class="indentation">optional<br>type: <a href="#real-or-perl_0">real-or-perl</a><br>
2831:
1.2 ! damieng 2832: <div class="documentation"> Absolute error length.
1.1 damieng 2833: How accurate the length must be to get the answer correct.
2834: </div>
2835:
2836: </div>
2837: Attribute <span class="nomattribut">angle</span>:
2838: <div class="indentation">optional<br>type: <a href="#real-or-perl_0">real-or-perl</a><br>
2839:
1.2 ! damieng 2840: <div class="documentation"> What direction should the vector point. All values are measured in degrees, counterclockwise starting at the positive x-axis. Values must be 0 ≤ θ < 360.
1.1 damieng 2841: </div>
2842:
2843: </div>
2844: Attribute <span class="nomattribut">angleerror</span>:
2845: <div class="indentation">optional<br>type: <a href="#real-or-perl_0">real-or-perl</a><br>
2846:
1.2 ! damieng 2847: <div class="documentation"> Absolute error angle.
1.1 damieng 2848: How accurate the angle must be to get the answer correct.
2849: </div>
2850:
2851: </div>
2852: </div>
1.2 ! damieng 2853: <br>Parents: <a href="#functionplotruleset_0">functionplotruleset</a><br><hr>
1.1 damieng 2854: <a name="functionplotvectorsumrule_0"></a><h3>Element <span class="nomtitre">functionplotvectorsumrule</span>
2855: </h3>
2856:
1.2 ! damieng 2857: <div class="documentation"> Function Plot Vector Sum Rule
1.1 damieng 2858: Used to test the sum of a set of vectors.
2859: </div>
2860:
2861: <div class="indentation">
2862: Attribute <span class="nomattribut">index</span>:
2863: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
2864:
1.2 ! damieng 2865: <div class="documentation"> Index/Name.
1.1 damieng 2866: This is an internal label for the rule. It must be different for each rule. This same value will be used to add a conditional hint.
2867: </div>
2868:
2869: </div>
2870: Attribute <span class="nomattribut">vectors</span>:
2871: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
2872:
1.2 ! damieng 2873: <div class="documentation"> Comma-separated list of vectors.
1.1 damieng 2874: List all of the vectors that should be added up to be tested.
2875: </div>
2876:
2877: </div>
2878: Attribute <span class="nomattribut">length</span>:
2879: <div class="indentation">optional<br>type: <a href="#real-or-perl_0">real-or-perl</a><br>
2880:
1.2 ! damieng 2881: <div class="documentation"> Sum vector length.
1.1 damieng 2882: How long the sum of these vectors should be.
2883: </div>
2884:
2885: </div>
2886: Attribute <span class="nomattribut">lengtherror</span>:
2887: <div class="indentation">optional<br>type: <a href="#real-or-perl_0">real-or-perl</a><br>
2888:
1.2 ! damieng 2889: <div class="documentation"> Absolute error length.
1.1 damieng 2890: How accurate the length must be to get the answer correct.
2891: </div>
2892:
2893: </div>
2894: Attribute <span class="nomattribut">angle</span>:
2895: <div class="indentation">optional<br>type: <a href="#real-or-perl_0">real-or-perl</a><br>
2896:
1.2 ! damieng 2897: <div class="documentation"> Sum vector angle.
1.1 damieng 2898: What direction should the sum of these vectors point. All values are measured in degrees, counterclockwise starting at the positive x-axis. Values must be 0 ≤ θ < 360.
2899: </div>
2900:
2901: </div>
2902: Attribute <span class="nomattribut">angleerror</span>:
2903: <div class="indentation">optional<br>type: <a href="#real-or-perl_0">real-or-perl</a><br>
2904:
1.2 ! damieng 2905: <div class="documentation"> Absolute error angle.
1.1 damieng 2906: How accurate the angle must be to get the answer correct.
2907: </div>
2908:
2909: </div>
2910: </div>
1.2 ! damieng 2911: <br>Parents: <a href="#functionplotruleset_0">functionplotruleset</a><br><hr>
1.1 damieng 2912: <a name="functionplotcustomrule_0"></a><h3>Element <span class="nomtitre">functionplotcustomrule</span>
2913: </h3>
2914:
1.2 ! damieng 2915: <div class="documentation"> Used to create rules that aren't options using the other rules. The coding is done inside an answer element, in Perl. Any variable used inside this rule will be recognized normally and any evaluation function can be used as well.
! 2916: The following Perl functions can be used: fpr_val(label), fpr_f(x), fpr_dfdx(x), fpr_d2fdx2(x), fpr_vectorcoords(name), fpr_objectcoords(name), fpr_vectorlength(name), fpr_vectorangle(name).
! 2917: The Perl code should return 1 for a correct answer, 0 for an incorrect one.
1.1 damieng 2918: </div>
2919:
2920: <div class="indentation">
2921: Choice between:<ul><li>
2922: <a name="answer_5"></a><h3>Element <span class="nomtitre">answer</span>
2923: </h3>
2924:
1.2 ! damieng 2925: <div class="documentation"> Answer algorithm, in Perl
1.1 damieng 2926: </div>
2927:
2928: Can contain text<br><div class="indentation">
2929: Attribute <span class="nomattribut">type</span>:
2930: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
2931: </div>
2932: Attribute <span class="nomattribut"></span>:
2933: <div class="indentation">optional<br>
2934: </div>
2935: </div>
2936: <br>
2937: </li></ul>
2938: Attribute <span class="nomattribut">index</span>:
2939: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
2940:
1.2 ! damieng 2941: <div class="documentation"> Index/Name
1.1 damieng 2942: </div>
2943:
2944: </div>
2945: </div>
1.2 ! damieng 2946: <br>Parents: <a href="#functionplotruleset_0">functionplotruleset</a><br><hr>
1.1 damieng 2947:
2948:
1.2 ! damieng 2949: <div class="documentation"> Organic response
1.1 damieng 2950: </div>
1.2 ! damieng 2951: <hr>
1.1 damieng 2952:
2953: <a name="organicresponse_0"></a><h3>Element <span class="nomtitre">organicresponse</span>
2954: </h3>
2955:
1.2 ! damieng 2956: <div class="documentation"> Query for an organic chemical structure with a molecular editor.
1.1 damieng 2957: </div>
2958:
2959: Can contain text<br><div class="indentation">
2960: Choice between:<ul>
2961: <li>
2962: <a href="#responseparam_0">responseparam</a><br>
2963: </li>
2964: <li>
2965: <a href="#hiddenline_0">hiddenline</a><br>
2966: </li>
2967: <li>
2968: <a href="#hintgroup_0">hintgroup</a><br>
2969: </li>
2970: <li>
2971: <a href="#organichint_0">organichint</a><br>
2972: </li>
2973: <li>
2974: <a href="#hintpart_0">hintpart</a><br>
2975: </li>
2976: <li>
2977: <a href="#text-only_0">text-only</a><br>
2978: </li>
2979: </ul>
2980: <a href="#response-identification_0">response-identification</a><br><br>
2981: Attribute <span class="nomattribut">options</span>:
2982: <div class="indentation">optional<br>
2983:
1.2 ! damieng 2984: <div class="documentation"> Comma-separated list of options:
1.1 damieng 2985:
2986: - autoez: Auto E,Z stereochemistry
2987: - multipart: Multipart Structures
2988: - nostereo: No stereochemistry
2989: - reaction: Is a reaction
2990: - number: Able to number atoms
2991: </div>
2992:
2993:
1.2 ! damieng 2994: Union of types<ul>
! 2995: <li><a href="#perl_0">perl</a></li>
! 2996: <li>
1.1 damieng 2997: Value restriction based on xs:string<ul>
2998: <li><tt>(autoez|multipart|nostereo|reaction|number)(\s*,\s*(autoez|multipart|nostereo|reaction|number))*</tt></li>
2999: </ul>
1.2 ! damieng 3000: </li>
! 3001: </ul>
1.1 damieng 3002:
3003: </div>
3004: Attribute <span class="nomattribut">molecule</span>:
3005: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3006:
1.2 ! damieng 3007: <div class="documentation"> Starting Molecule.
1.1 damieng 3008: Syntax: JME.
3009: </div>
3010:
3011: </div>
3012: Attribute <span class="nomattribut">answer</span>:
3013: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3014:
1.2 ! damieng 3015: <div class="documentation"> Correct Answer.
1.1 damieng 3016: Syntax: SMILES (Simplified Molecular Input Line Entry System).
3017: </div>
3018:
3019: </div>
3020: Attribute <span class="nomattribut">jmeanswer</span>:
3021: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3022:
1.2 ! damieng 3023: <div class="documentation"> JME string of the answer
1.1 damieng 3024: </div>
3025:
3026: </div>
3027: Attribute <span class="nomattribut">width</span>:
3028: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
3029:
1.2 ! damieng 3030: <div class="documentation"> Width of correct answer image
1.1 damieng 3031: </div>
3032:
3033: </div>
3034: </div>
1.2 ! damieng 3035: <br>Parents: <a href="#inlineResponses_0">inlineResponses</a><br><hr>
1.1 damieng 3036:
3037:
1.2 ! damieng 3038: <div class="documentation"> Reaction response
1.1 damieng 3039: </div>
1.2 ! damieng 3040: <hr>
1.1 damieng 3041:
3042: <a name="reactionresponse_0"></a><h3>Element <span class="nomtitre">reactionresponse</span>
3043: </h3>
3044:
1.2 ! damieng 3045: <div class="documentation"> Query for a chemical reaction.
1.1 damieng 3046: An internal textline element is necessary for the student's response to go in.
3047: </div>
3048:
3049: Can contain text<br><div class="indentation">
3050: Choice between:<ul>
3051: <li>
3052: <a href="#responseparam_0">responseparam</a><br>
3053: </li>
3054: <li>
3055: <a href="#hiddenline_0">hiddenline</a><br>
3056: </li>
3057: <li>
3058: <a href="#hintgroup_0">hintgroup</a><br>
3059: </li>
3060: <li>
3061: <a href="#reactionhint_0">reactionhint</a><br>
3062: </li>
3063: <li>
3064: <a href="#hintpart_0">hintpart</a><br>
3065: </li>
3066: <li>
3067: <a href="#text-only_0">text-only</a><br>
3068: </li>
3069: </ul>
3070: <a href="#response-identification_0">response-identification</a><br><br>
3071: Attribute <span class="nomattribut">answer</span>:
3072: <div class="indentation">required<br>type: <tt>xs:string</tt><br>
3073:
1.2 ! damieng 3074: <div class="documentation"> The correct answer.
1.1 damieng 3075: Chemical reactions use the following syntax:
3076: - Reactants are separated from products by '->'.
3077: - Individual reactants and products are separated by ' +' (leading space is obligatory).
3078: - Numbers preceding the first symbol of a chemical specie are considered to be stoichiometric coefficients.
3079: - Numbers appearing after the first symbol of a chemical specie are considered to be subscripts.
3080: - Superscripts are initialized by '^' and terminated by a space.
3081: - Ionic charges are superscripts composed of a number followed by a sign (i.e. '^2+').
3082: </div>
3083:
3084: </div>
3085: Attribute <span class="nomattribut">initial</span>:
3086: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3087:
1.2 ! damieng 3088: <div class="documentation"> Initial reaction displayed to students. See the answer attribute for the syntax.
1.1 damieng 3089: </div>
3090:
3091: </div>
3092: </div>
1.2 ! damieng 3093: <br>Parents: <a href="#inlineResponses_0">inlineResponses</a><br><hr>
1.1 damieng 3094:
3095:
1.2 ! damieng 3096: <div class="documentation"> Custom response
1.1 damieng 3097: </div>
1.2 ! damieng 3098: <hr>
1.1 damieng 3099:
3100: <a name="customresponse_0"></a><h3>Element <span class="nomtitre">customresponse</span>
3101: </h3>
3102:
1.2 ! damieng 3103: <div class="documentation"> Query for text without any constraint (any character is allowed). A script analyzes the answer to grade it automatically.
1.1 damieng 3104: The use of this response type is generally discouraged, since the responses will not be analyzable by the LON-CAPA statistics tools.
3105: </div>
3106:
3107: Can contain text<br><div class="indentation">
3108: Choice between:<ul>
3109: <li>
3110: <a href="#responseparam_0">responseparam</a><br>
3111: </li>
3112: <li>
3113: <a name="answer_8"></a><h3>Element <span class="nomtitre">answer</span>
3114: </h3>type: <a href="#customresponse--answer_0">customresponse--answer</a><br><br>
3115: </li>
3116: <li>
3117: <a href="#textfield_0">textfield</a><br>
3118: </li>
3119: <li>
3120: <a href="#hiddensubmission_0">hiddensubmission</a><br>
3121: </li>
3122: <li>
3123: <a href="#hiddenline_0">hiddenline</a><br>
3124: </li>
3125: <li>
3126: <a href="#hintgroup_0">hintgroup</a><br>
3127: </li>
3128: <li>
3129: <a href="#customhint_0">customhint</a><br>
3130: </li>
3131: <li>
3132: <a href="#hintpart_0">hintpart</a><br>
3133: </li>
3134: <li>
3135: <a href="#text-only_0">text-only</a><br>
3136: </li>
3137: </ul>
3138: <a href="#response-identification_0">response-identification</a><br><br>
3139: Attribute <span class="nomattribut">answerdisplay</span>:
3140: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3141:
1.2 ! damieng 3142: <div class="documentation"> String to display for answer
1.1 damieng 3143: </div>
3144:
3145: </div>
3146: </div>
1.2 ! damieng 3147: <br>Parents: <a href="#inlineResponses_0">inlineResponses</a><br><hr>
1.1 damieng 3148: <a name="customresponse--answer_0"></a><h3>Complex type <span class="nomtitre">customresponse--answer</span>
3149: </h3>Can contain text<br><div class="indentation">
3150:
1.2 ! damieng 3151: <div class="documentation"> Perl script evaluating the student answer.
1.1 damieng 3152:
3153: For a single textfield, the student’s answer will be in a variable $submission. If the Custom Response has multiple textfields, the answers will be in an array reference, and can be accessed as $$submission[0], $$submission[1], etc.
3154:
3155: The script must return a standard LON-CAPA response. The most common LON-CAPA responses are:
3156: - EXACT ANS: return if solved exactly correctly
3157: - APPROX ANS: return if solved approximately
3158: - INCORRECT: return if not correct, uses up a try
3159: - ASSIGNED SCORE: partial credit (also return the credit factor, e.g. return(ASSIGNED SCORE,0.3);)
3160: - SIG FAIL, NO UNIT, EXTRA ANSWER, MISSING ANSWER, BAD FORMULA, WANTED NUMERIC, WRONG FORMAT: return if not correct for different reasons, does not use up a try
3161: </div>
3162:
3163: Attribute <span class="nomattribut">type</span>:
3164: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3165: </div>
3166: Attribute <span class="nomattribut"></span>:
3167: <div class="indentation">optional<br>
3168: </div>
3169: </div>
3170: <hr>
3171:
3172:
1.2 ! damieng 3173: <div class="documentation"> External response
1.1 damieng 3174: </div>
1.2 ! damieng 3175: <hr>
1.1 damieng 3176:
3177: <a name="externalresponse_0"></a><h3>Element <span class="nomtitre">externalresponse</span>
3178: </h3>
3179:
1.2 ! damieng 3180: <div class="documentation"> Query for a long text or a line, sent to an external program for grading.
1.1 damieng 3181:
3182: The form sent will consist of:
3183: - LONCAPA student response full text of what the student entered in the entry field
3184: - LONCAPA correct answer contents of the answer attribute
3185: - LONCAPA language specified language encoding of the requesting resource
3186: - all items in the form attribute if any of these clash with the above, the above values will overwite the value in the form attribute
3187:
3188: The response of the remote server needs to be in XML as follows:
3189: - loncapagrade: takes no attributes, but must surround the response.
3190: - awarddetail: required. The delimited text inside must be one of the detailed results that appears in the data storage documentation. CVS:loncapa/doc/homework/datastorage, look for resource.partid.responseid.awarddetail.
3191: - message: optional message to have shown to the student.
3192: </div>
3193:
3194: Can contain text<br><div class="indentation">
3195: Choice between:<ul>
3196: <li>
3197: <a href="#responseparam_0">responseparam</a><br>
3198: </li>
3199: <li>
3200: <a href="#textfield_0">textfield</a><br>
3201: </li>
3202: <li>
3203: <a href="#hiddensubmission_0">hiddensubmission</a><br>
3204: </li>
3205: <li>
3206: <a href="#hiddenline_0">hiddenline</a><br>
3207: </li>
3208: <li>
3209: <a href="#hintgroup_0">hintgroup</a><br>
3210: </li>
3211: <li>
3212: <a href="#text-only_0">text-only</a><br>
3213: </li>
3214: </ul>
3215: <a href="#response-identification_0">response-identification</a><br><br>
3216: Attribute <span class="nomattribut">url</span>:
3217: <div class="indentation">optional<br>type: <tt>xs:anyURI</tt><br>
3218:
1.2 ! damieng 3219: <div class="documentation"> url to submit the answer form to. It does not need to be a LON-CAPA machine.
1.1 damieng 3220: </div>
3221:
3222: </div>
3223: Attribute <span class="nomattribut">answer</span>:
3224: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3225:
1.2 ! damieng 3226: <div class="documentation"> data to post in the form element LONCAPA_correct_answer to the remote site.
1.1 damieng 3227: </div>
3228:
3229: </div>
3230: Attribute <span class="nomattribut">form</span>:
3231: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3232:
1.2 ! damieng 3233: <div class="documentation"> hash variable name that will be submitted to the remote site as a HTTP form.
1.1 damieng 3234: </div>
3235:
3236: </div>
3237: Attribute <span class="nomattribut">answerdisplay</span>:
3238: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3239: </div>
3240: </div>
1.2 ! damieng 3241: <br>Parents: <a href="#inlineResponses_0">inlineResponses</a><br><hr>
1.1 damieng 3242:
3243:
1.2 ! damieng 3244: <div class="documentation"> Data response
1.1 damieng 3245: </div>
1.2 ! damieng 3246: <hr>
1.1 damieng 3247:
3248: <a name="dataresponse_0"></a><h3>Element <span class="nomtitre">dataresponse</span>
3249: </h3>
3250:
1.2 ! damieng 3251: <div class="documentation"> Query for text or numbers.
1.1 damieng 3252: Advanced type of response that implements a simple data storage and needs an input element, such as textline, to work correctly.
3253: </div>
3254:
3255: Can contain text<br><div class="indentation">
3256: Choice between:<ul>
3257: <li>
3258: <a href="#textfield_0">textfield</a><br>
3259: </li>
3260: <li>
3261: <a href="#hiddensubmission_0">hiddensubmission</a><br>
3262: </li>
3263: <li>
3264: <a href="#hiddenline_0">hiddenline</a><br>
3265: </li>
3266: <li>
3267: <a href="#text-only_0">text-only</a><br>
3268: </li>
3269: </ul>
3270: <a href="#response-identification_0">response-identification</a><br><br>
3271: Attribute <span class="nomattribut">type</span>:
3272: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3273:
1.2 ! damieng 3274: <div class="documentation"> type of data stored in this response field. It should be one of the types supported by parameter.html
1.1 damieng 3275: </div>
3276:
3277: </div>
3278: Attribute <span class="nomattribut">display</span>:
3279: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3280:
1.2 ! damieng 3281: <div class="documentation"> string that will be used to describe the field when interfacing with humans.
1.1 damieng 3282: </div>
3283:
3284: </div>
3285: </div>
1.2 ! damieng 3286: <br>Parents: <a href="#blockResponses_0">blockResponses</a><br><hr>
1.1 damieng 3287:
3288:
1.2 ! damieng 3289: <div class="documentation"> Shared response elements
1.1 damieng 3290: </div>
1.2 ! damieng 3291: <hr>
1.1 damieng 3292:
3293: <a name="responseparam_0"></a><h3>Element <span class="nomtitre">responseparam</span>
3294: </h3>
3295:
1.2 ! damieng 3296: <div class="documentation"> Parameters for a response
1.1 damieng 3297:
3298: Defines an externally adjustable parameter for the question, which the question can then use to allow other users to customize the problem for their courses without changing the source code of the problem.
3299: </div>
3300:
3301: <div class="indentation">
3302: Attribute <span class="nomattribut">name</span>:
3303: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3304: </div>
3305: Attribute <span class="nomattribut">type</span>:
3306: <div class="indentation">required<br>type: <tt>xs:string</tt><br>
3307: </div>
3308: Attribute <span class="nomattribut">default</span>:
3309: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3310:
1.2 ! damieng 3311: <div class="documentation"> default value
1.1 damieng 3312: </div>
3313:
3314: </div>
3315: Attribute <span class="nomattribut">description</span>:
3316: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3317: </div>
3318: </div>
1.2 ! damieng 3319: <br>Parents: <a href="#stringresponse_0">stringresponse</a>, <a href="#essayresponse_0">essayresponse</a>, <a href="#radiobuttonresponse_0">radiobuttonresponse</a>, <a href="#optionresponse_0">optionresponse</a>, <a href="#matchresponse_0">matchresponse</a>, <a href="#rankresponse_0">rankresponse</a>, <a href="#imageresponse_0">imageresponse</a>, <a href="#numericalresponse_0">numericalresponse</a>, <a href="#formularesponse_0">formularesponse</a>, <a href="#mathresponse_0">mathresponse</a>, <a href="#organicresponse_0">organicresponse</a>, <a href="#reactionresponse_0">reactionresponse</a>, <a href="#customresponse_0">customresponse</a>, <a href="#externalresponse_0">externalresponse</a>, <a href="#stringhint_0">stringhint</a>, <a href="#radiobuttonhint_0">radiobuttonhint</a>, <a href="#optionhint_0">optionhint</a>, <a href="#numericalhint_0">numericalhint</a>, <a href="#formulahint_0">formulahint</a>, <a href="#mathhint_0">mathhint</a>, <a href="#organichint_0">organichint</a>, <a href="#reactionhint_0">reactionhint</a>, <a href="#customhint_0">customhint</a><br><hr>
1.1 damieng 3320: <a name="textfield_0"></a><h3>Element <span class="nomtitre">textfield</span>
3321: </h3>
3322:
1.2 ! damieng 3323: <div class="documentation"> Large Text Entry Area, contains the text that appears by default
1.1 damieng 3324:
3325: Creates a large text input box. If data appears between the start and end tags, the data will appear in the textfield if the student has not yet made a submission.
3326: Additionally, it takes two attributes: rows and cols, which control the height and width of the text area respectively.
3327: </div>
3328:
3329: Can contain text<br><div class="indentation">
3330: Choice between:<ul>
3331: <li>
3332: <a href="#tex_0">tex</a><br>
3333: </li>
3334: <li>
3335: <a href="#web_0">web</a><br>
3336: </li>
3337: </ul>
3338: Attribute <span class="nomattribut">rows</span>:
3339: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
3340: </div>
3341: Attribute <span class="nomattribut">cols</span>:
3342: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
3343:
1.2 ! damieng 3344: <div class="documentation"> Columns
1.1 damieng 3345: </div>
3346:
3347: </div>
3348: Attribute <span class="nomattribut">addchars</span>:
3349: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3350:
1.2 ! damieng 3351: <div class="documentation"> Click-On Texts (comma sep)
1.1 damieng 3352: </div>
3353:
3354: </div>
3355: Attribute <span class="nomattribut">spellcheck</span>:
3356: <div class="indentation">optional<br>
3357:
1.2 ! damieng 3358: <div class="documentation"> If this attribute is present, the text the user types is spellchecked when focus leaves the input field.
1.1 damieng 3359: The value specifies the language in which the spellcheck is performed.
3360: </div>
3361:
3362:
1.2 ! damieng 3363: Union of types<ul>
! 3364: <li><a href="#perl_0">perl</a></li>
! 3365: <li>
1.1 damieng 3366: Value restriction based on xs:string<ul>
3367: <li><tt>none</tt></li>
3368: <li><tt>en</tt></li>
3369: <li><tt>de</tt></li>
3370: <li><tt>he</tt></li>
3371: <li><tt>es</tt></li>
3372: <li><tt>fr</tt></li>
3373: <li><tt>pt</tt></li>
3374: <li><tt>tr</tt></li>
3375: </ul>
1.2 ! damieng 3376: </li>
! 3377: </ul>
1.1 damieng 3378:
3379: </div>
3380: </div>
1.2 ! damieng 3381: <br>Parents: <a href="#essayresponse_0">essayresponse</a>, <a href="#mathresponse_0">mathresponse</a>, <a href="#customresponse_0">customresponse</a>, <a href="#externalresponse_0">externalresponse</a>, <a href="#dataresponse_0">dataresponse</a><br><hr>
1.1 damieng 3382: <a name="textline_0"></a><h3>Element <span class="nomtitre">textline</span>
3383: </h3>
3384:
1.2 ! damieng 3385: <div class="documentation"> Single Line Text Entry Area. Displays a field to enter text for a response.
1.1 damieng 3386: Should only be used inside stringresponse, numericalresponse, formularesponse, mathresponse, organicresponse, reactionresponse and customresponse.
3387: </div>
3388:
3389: <div class="indentation">
3390: Attribute <span class="nomattribut">id</span>:
3391: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3392:
1.2 ! damieng 3393: <div class="documentation"> Id that will be part of the HTML input element id.
1.1 damieng 3394: This can be used to get a reference to the input element in Javascript.
3395: </div>
3396:
3397: </div>
3398: Attribute <span class="nomattribut">size</span>:
3399: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
3400:
1.2 ! damieng 3401: <div class="documentation"> controls the width of the textline
1.1 damieng 3402: </div>
3403:
3404: </div>
3405: Attribute <span class="nomattribut">addchars</span>:
3406: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3407:
1.2 ! damieng 3408: <div class="documentation"> Comma-separated list of characters or words that can be inserted with a click.
1.1 damieng 3409: </div>
3410:
3411: </div>
3412: Attribute <span class="nomattribut">readonly</span>:
3413: <div class="indentation">optional<br>type: <a href="#yesno-or-perl_0">yesno-or-perl</a><br>
3414: </div>
3415: Attribute <span class="nomattribut">spellcheck</span>:
3416: <div class="indentation">optional<br>
3417:
1.2 ! damieng 3418: <div class="documentation"> If this attribute is present, the text the user types is spellchecked when focus leaves the input field.
1.1 damieng 3419: The value specifies the language in which the spellcheck is performed.
3420: </div>
3421:
3422:
1.2 ! damieng 3423: Union of types<ul>
! 3424: <li><a href="#perl_0">perl</a></li>
! 3425: <li>
1.1 damieng 3426: Value restriction based on xs:string<ul>
3427: <li><tt>none</tt></li>
3428: <li><tt>en</tt></li>
3429: <li><tt>de</tt></li>
3430: <li><tt>he</tt></li>
3431: <li><tt>es</tt></li>
3432: <li><tt>fr</tt></li>
3433: <li><tt>pt</tt></li>
3434: <li><tt>tr</tt></li>
3435: </ul>
1.2 ! damieng 3436: </li>
! 3437: </ul>
1.1 damieng 3438:
3439: </div>
3440: </div>
1.2 ! damieng 3441: <br>Parents: <a href="#inlines_0">inlines</a><br><hr>
1.1 damieng 3442: <a name="hiddensubmission_0"></a><h3>Element <span class="nomtitre">hiddensubmission</span>
3443: </h3>
3444:
1.2 ! damieng 3445: <div class="documentation"> This creates a hidden form field with the given value.
1.1 damieng 3446: </div>
3447:
3448: <div class="indentation">
3449: Attribute <span class="nomattribut">value</span>:
3450: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3451: </div>
3452: </div>
1.2 ! damieng 3453: <br>Parents: <a href="#essayresponse_0">essayresponse</a>, <a href="#mathresponse_0">mathresponse</a>, <a href="#customresponse_0">customresponse</a>, <a href="#externalresponse_0">externalresponse</a>, <a href="#dataresponse_0">dataresponse</a><br><hr>
1.1 damieng 3454: <a name="hiddenline_0"></a><h3>Element <span class="nomtitre">hiddenline</span>
3455: </h3>
3456:
1.2 ! damieng 3457: <div class="documentation"> This creates a hidden form field with the old response value.
1.1 damieng 3458: </div>
3459:
3460: <div class="indentation">
3461: </div>
1.2 ! damieng 3462: <br>Parents: <a href="#stringresponse_0">stringresponse</a>, <a href="#essayresponse_0">essayresponse</a>, <a href="#numericalresponse_0">numericalresponse</a>, <a href="#formularesponse_0">formularesponse</a>, <a href="#mathresponse_0">mathresponse</a>, <a href="#organicresponse_0">organicresponse</a>, <a href="#reactionresponse_0">reactionresponse</a>, <a href="#customresponse_0">customresponse</a>, <a href="#externalresponse_0">externalresponse</a>, <a href="#dataresponse_0">dataresponse</a><br><hr>
1.1 damieng 3463:
3464:
1.2 ! damieng 3465: <div class="documentation"> Hints
1.1 damieng 3466: </div>
1.2 ! damieng 3467: <hr>
1.1 damieng 3468:
3469: <a name="hintgroup_0"></a><h3>Element <span class="nomtitre">hintgroup</span>
3470: </h3>
3471:
1.2 ! damieng 3472: <div class="documentation"> This element can either contain a simple hint displayed when the submitted answer for the part is not correct, or a more complex structure to display different hints for different submitted answers.
1.1 damieng 3473:
3474: To display different hints based on the submitted answer, the hint group has to contain hint conditions (<*hint> elements) and conditional hints (<hintpart> elements).
3475: A hint condition defines the foil(s) and foil answer(s) required to trigger a hint, and has a name attribute to identify it.
3476: A conditional hint (<hintpart>) defines what will be displayed if a particular hint condition is met. It includes a reference to the hint condition in the "on" attribute.
3477: A default conditional hint can be defined by using on="default" in a <hintpart>. The contents of this hint will be displayed if none of the other conditional hints is triggered.
3478: </div>
3479:
3480: Can contain text<br><div class="indentation">
3481: Choice between:<ul>
3482: <li>
3483: <a href="#text-only_0">text-only</a><br>
3484: </li>
3485: <li>
3486: <a href="#hintpart_0">hintpart</a><br>
3487: </li>
3488: <li>
3489: <a href="#stringhint_0">stringhint</a><br>
3490: </li>
3491: <li>
3492: <a href="#radiobuttonhint_0">radiobuttonhint</a><br>
3493: </li>
3494: <li>
3495: <a href="#optionhint_0">optionhint</a><br>
3496: </li>
3497: <li>
3498: <a href="#numericalhint_0">numericalhint</a><br>
3499: </li>
3500: <li>
3501: <a href="#formulahint_0">formulahint</a><br>
3502: </li>
3503: <li>
3504: <a href="#mathhint_0">mathhint</a><br>
3505: </li>
3506: <li>
3507: <a href="#organichint_0">organichint</a><br>
3508: </li>
3509: <li>
3510: <a href="#reactionhint_0">reactionhint</a><br>
3511: </li>
3512: <li>
3513: <a href="#customhint_0">customhint</a><br>
3514: </li>
3515: </ul>
3516: Attribute <span class="nomattribut">showoncorrect</span>:
3517: <div class="indentation">optional<br>type: <a href="#yesno-or-perl_0">yesno-or-perl</a><br>
3518:
1.2 ! damieng 3519: <div class="documentation"> Show hint even if problem Correct
1.1 damieng 3520: </div>
3521:
3522: </div>
3523: </div>
1.2 ! damieng 3524: <br>Parents: <a href="#stringresponse_0">stringresponse</a>, <a href="#essayresponse_0">essayresponse</a>, <a href="#radiobuttonresponse_0">radiobuttonresponse</a>, <a href="#optionresponse_0">optionresponse</a>, <a href="#matchresponse_0">matchresponse</a>, <a href="#rankresponse_0">rankresponse</a>, <a href="#imageresponse_0">imageresponse</a>, <a href="#numericalresponse_0">numericalresponse</a>, <a href="#formularesponse_0">formularesponse</a>, <a href="#mathresponse_0">mathresponse</a>, <a href="#functionplotresponse_0">functionplotresponse</a>, <a href="#organicresponse_0">organicresponse</a>, <a href="#reactionresponse_0">reactionresponse</a>, <a href="#customresponse_0">customresponse</a>, <a href="#externalresponse_0">externalresponse</a><br><hr>
1.1 damieng 3525: <a name="hintpart_0"></a><h3>Element <span class="nomtitre">hintpart</span>
3526: </h3>
3527:
1.2 ! damieng 3528: <div class="documentation"> Conditional Hint
1.1 damieng 3529:
3530: When a hint condition named the same as the on attribute evaluates to be correct, the contents of this element will be displayed.
3531: If no other hintpart is to show then all hintparts with an on value set to “default” will show.
3532: </div>
3533:
3534: Can contain text<br><div class="indentation">
3535: Choice between:<ul>
3536: <li>
3537: <a href="#text-only_0">text-only</a><br>
3538: </li>
3539: <li>
3540: <a href="#parserlib_0">parserlib</a><br>
3541: </li>
3542: <li>
3543: <a href="#scriptlib_0">scriptlib</a><br>
3544: </li>
3545: </ul>
3546: Attribute <span class="nomattribut">on</span>:
3547: <div class="indentation">required<br>type: <tt>xs:string</tt><br>
3548: </div>
3549: </div>
1.2 ! damieng 3550: <br>Parents: <a href="#stringresponse_0">stringresponse</a>, <a href="#essayresponse_0">essayresponse</a>, <a href="#radiobuttonresponse_0">radiobuttonresponse</a>, <a href="#optionresponse_0">optionresponse</a>, <a href="#numericalresponse_0">numericalresponse</a>, <a href="#formularesponse_0">formularesponse</a>, <a href="#mathresponse_0">mathresponse</a>, <a href="#organicresponse_0">organicresponse</a>, <a href="#reactionresponse_0">reactionresponse</a>, <a href="#customresponse_0">customresponse</a>, <a href="#hintgroup_0">hintgroup</a><br><hr>
1.1 damieng 3551: <a name="stringhint_0"></a><h3>Element <span class="nomtitre">stringhint</span>
3552: </h3>
3553:
1.2 ! damieng 3554: <div class="documentation"> String Hint Condition
1.1 damieng 3555: </div>
3556:
3557: <div class="indentation">
3558: Choice between:<ul><li>
3559: <a href="#responseparam_0">responseparam</a><br>
3560: </li></ul>
3561: Attribute <span class="nomattribut">id</span>:
3562: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3563: </div>
3564: Attribute <span class="nomattribut">name</span>:
3565: <div class="indentation">required<br>type: <tt>xs:string</tt><br>
3566:
1.2 ! damieng 3567: <div class="documentation"> Name of the hint condition.
1.1 damieng 3568: Should be set to the value of which hintpart will be shown.
3569: </div>
3570:
3571: </div>
3572: Attribute <span class="nomattribut">answer</span>:
3573: <div class="indentation">required<br>type: <tt>xs:string</tt><br>
3574:
1.2 ! damieng 3575: <div class="documentation"> Text string.
1.1 damieng 3576: Should be set to the value of which hintpart will be shown.
3577: </div>
3578:
3579: </div>
3580: Attribute <span class="nomattribut">type</span>:
3581: <div class="indentation">optional<br>
3582:
1.2 ! damieng 3583: Union of types<ul>
! 3584: <li><a href="#perl_0">perl</a></li>
! 3585: <li>
1.1 damieng 3586: Value restriction based on xs:string<ul>
3587: <li><tt>cs</tt></li>
3588: <li><tt>ci</tt></li>
3589: <li><tt>mc</tt></li>
3590: <li><tt>re</tt></li>
3591: </ul>
1.2 ! damieng 3592: </li>
! 3593: </ul>
1.1 damieng 3594:
3595: </div>
3596: Attribute <span class="nomattribut">preprocess</span>:
3597: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3598:
1.2 ! damieng 3599: <div class="documentation"> Pre-Processor Subroutine
1.1 damieng 3600: </div>
3601:
3602: </div>
3603: </div>
1.2 ! damieng 3604: <br>Parents: <a href="#stringresponse_0">stringresponse</a>, <a href="#essayresponse_0">essayresponse</a>, <a href="#hintgroup_0">hintgroup</a><br><hr>
1.1 damieng 3605: <a name="radiobuttonhint_0"></a><h3>Element <span class="nomtitre">radiobuttonhint</span>
3606: </h3>
3607:
1.2 ! damieng 3608: <div class="documentation"> Radiobutton Hint Condition
1.1 damieng 3609:
3610: The radiobutton hint element takes two attributes: answer and name. The name is the name of the hint condition, and the answer is an array. The first element of the array will be 'foil'; the remaining elements are the names of the foils that you require to have been checked by the student for the hint to be displayed. For example, if you create a radiobutton response problem with six foils named: granite, gabbro, gneiss, shale, sandstone and schist, and you want your hint named: igneous to be displayed when either granite or basalt had been checked your radiobutton hint would be as follows:
3611:
3612: <radiobuttonhint answer="('foil','granite','gabbro')" name="igneous"></radiobuttonhint>
3613:
3614: In order to trigger display of this hint you also need to create a hint condition (<hintpart>) that will include the text of the actual hint.
3615: </div>
3616:
3617: <div class="indentation">
3618: Choice between:<ul><li>
3619: <a href="#responseparam_0">responseparam</a><br>
3620: </li></ul>
3621: Attribute <span class="nomattribut">id</span>:
3622: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3623: </div>
3624: Attribute <span class="nomattribut">name</span>:
3625: <div class="indentation">required<br>type: <tt>xs:string</tt><br>
3626:
1.2 ! damieng 3627: <div class="documentation"> should be set to the value of which hintpart will be shown
1.1 damieng 3628: </div>
3629:
3630: </div>
3631: Attribute <span class="nomattribut">answer</span>:
3632: <div class="indentation">optional<br>
3633:
1.2 ! damieng 3634: <div class="documentation"> should be at least a two element list: first the type (foil or concept) and then either the foil name(s) or the concept string(s), e.g., “(’foil’,’greaterthan’,’equal’)” if the condition should be triggered by the foils named “greaterthan” or “equal”
1.1 damieng 3635: </div>
3636:
3637:
3638: Value restriction based on xs:string<ul>
3639: <li><tt>\(\s*'.*'\s*\)</tt></li>
3640: </ul>
3641:
3642: </div>
3643: </div>
1.2 ! damieng 3644: <br>Parents: <a href="#radiobuttonresponse_0">radiobuttonresponse</a>, <a href="#hintgroup_0">hintgroup</a><br><hr>
1.1 damieng 3645: <a name="optionhint_0"></a><h3>Element <span class="nomtitre">optionhint</span>
3646: </h3>
3647:
1.2 ! damieng 3648: <div class="documentation"> Option Response Hint Condition
1.1 damieng 3649:
3650: There are two types of option response hint conditions: one for standalone foils and one for concept groups. In both cases the option hint element includes two parameters: answer and name for standalone foils, and concept and name for foils grouped together in a concept group.
3651: For the answer parameter, the names and submitted values for each of the foils that are being included in the hint condition are provided in a hash, i.e., in the format: ('Foil1'=> 'True','Foil2'=> 'False').
3652: In the case of a conditional hint for a concept group, the format of the concept parameter is also a hash that links the name of each concept group included in the hint condition to either 'correct' or 'incorrect' - e.g., <optionhint concept="('buoyancy'=> 'correct','density'=> 'correct')" name="fluids" />.
3653: If 'correct' is specified for a named concept then when the conditional hint is evaluated answers for each of the foils selected by a student must be correct for the hint action to be triggered. If anything other than 'correct' is provided in the concept hash in the optionhint element then then students answers will be compared with the set answers for the foils in the concept group and as long as at least one answer is incorrect (i.e., the concept group was not correctly answered) then the corresponding hint action will be triggered.
3654: </div>
3655:
3656: <div class="indentation">
3657: Choice between:<ul><li>
3658: <a href="#responseparam_0">responseparam</a><br>
3659: </li></ul>
3660: Attribute <span class="nomattribut">id</span>:
3661: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3662: </div>
3663: Attribute <span class="nomattribut">name</span>:
3664: <div class="indentation">required<br>type: <tt>xs:string</tt><br>
3665:
1.2 ! damieng 3666: <div class="documentation"> should be set to the value of which hintpart will be shown
1.1 damieng 3667: </div>
3668:
3669: </div>
3670: Attribute <span class="nomattribut">answer</span>:
3671: <div class="indentation">optional<br>
3672:
1.2 ! damieng 3673: <div class="documentation"> Perl hash with foil names as keys and submitted values as values.
1.1 damieng 3674: Example: ('foil1'=> 'true', 'foil2'=> 'false')
3675: </div>
3676:
3677:
3678: Value restriction based on xs:string<ul>
3679: <li><tt>\(\s*'.*'\s*\)</tt></li>
3680: </ul>
3681:
3682: </div>
3683: Attribute <span class="nomattribut">concept</span>:
3684: <div class="indentation">optional<br>
3685:
1.2 ! damieng 3686: <div class="documentation"> Perl hash with concept names as keys and either 'correct' or 'incorrect' as values.
1.1 damieng 3687: Example: ('buoyancy'=>'correct', 'density'=> 'correct')
3688: </div>
3689:
3690:
3691: Value restriction based on xs:string<ul>
3692: <li><tt>\(\s*'.*'\s*\)</tt></li>
3693: </ul>
3694:
3695: </div>
3696: </div>
1.2 ! damieng 3697: <br>Parents: <a href="#optionresponse_0">optionresponse</a>, <a href="#hintgroup_0">hintgroup</a><br><hr>
1.1 damieng 3698: <a name="numericalhint_0"></a><h3>Element <span class="nomtitre">numericalhint</span>
3699: </h3>
3700:
1.2 ! damieng 3701: <div class="documentation"> Numerical Hint Condition
1.1 damieng 3702: </div>
3703:
3704: <div class="indentation">
3705: Choice between:<ul><li>
3706: <a href="#responseparam_0">responseparam</a><br>
3707: </li></ul>
3708: Attribute <span class="nomattribut">id</span>:
3709: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3710: </div>
3711: Attribute <span class="nomattribut">name</span>:
3712: <div class="indentation">required<br>type: <tt>xs:string</tt><br>
3713:
1.2 ! damieng 3714: <div class="documentation"> Unique name given to the hint condition.
1.1 damieng 3715: Should be set to the value of which hintpart will be shown.
3716: </div>
3717:
3718: </div>
3719: Attribute <span class="nomattribut">answer</span>:
3720: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3721:
1.2 ! damieng 3722: <div class="documentation"> Numerical answer for which the conditional is provided.
1.1 damieng 3723: Student submission of that answer in combination with the "unit" attribute in the hint condition will trigger the hint action specified in the <hintpart> element.
3724: </div>
3725:
3726: </div>
3727: Attribute <span class="nomattribut">unit</span>:
3728: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3729: </div>
3730: Attribute <span class="nomattribut">format</span>:
3731: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3732: </div>
3733: Attribute <span class="nomattribut">preprocess</span>:
3734: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3735:
1.2 ! damieng 3736: <div class="documentation"> Pre-Processor Subroutine
1.1 damieng 3737: </div>
3738:
3739: </div>
3740: </div>
1.2 ! damieng 3741: <br>Parents: <a href="#numericalresponse_0">numericalresponse</a>, <a href="#hintgroup_0">hintgroup</a><br><hr>
1.1 damieng 3742: <a name="formulahint_0"></a><h3>Element <span class="nomtitre">formulahint</span>
3743: </h3>
3744:
1.2 ! damieng 3745: <div class="documentation"> Formula Hint Condition
1.1 damieng 3746:
3747: The formula submitted by the student is evaluated at the sample points for the hint and the calculated values are compared with the corresponding values determined by evaluating the "hint" answer at the same sampling points. A close correspondence between the two sets of values will trigger the hint action specified in the <hintpart> element.
3748: </div>
3749:
3750: <div class="indentation">
3751: Choice between:<ul><li>
3752: <a href="#responseparam_0">responseparam</a><br>
3753: </li></ul>
3754: Attribute <span class="nomattribut">id</span>:
3755: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3756: </div>
3757: Attribute <span class="nomattribut">name</span>:
3758: <div class="indentation">required<br>type: <tt>xs:string</tt><br>
3759:
1.2 ! damieng 3760: <div class="documentation"> Unique name given to the hint condition.
1.1 damieng 3761: Should be set to the value of which hintpart will be shown.
3762: </div>
3763:
3764: </div>
3765: Attribute <span class="nomattribut">answer</span>:
3766: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3767:
1.2 ! damieng 3768: <div class="documentation"> Formula answer for which the conditional is provided.
1.1 damieng 3769: </div>
3770:
3771: </div>
3772: Attribute <span class="nomattribut">samples</span>:
3773: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3774:
1.2 ! damieng 3775: <div class="documentation"> Sample points (or range of points) over which sampling of the student’s submitted answer and the formula included in the formula hint answer parameter are to be compared. The syntax is the same as used to specify sampling points in the samples
1.1 damieng 3776: parameter of the formula reponse element itself.
3777: </div>
3778:
3779: </div>
3780: Attribute <span class="nomattribut">preprocess</span>:
3781: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3782:
1.2 ! damieng 3783: <div class="documentation"> Pre-Processor Subroutine
1.1 damieng 3784: </div>
3785:
3786: </div>
3787: </div>
1.2 ! damieng 3788: <br>Parents: <a href="#formularesponse_0">formularesponse</a>, <a href="#hintgroup_0">hintgroup</a><br><hr>
1.1 damieng 3789: <a name="mathhint_0"></a><h3>Element <span class="nomtitre">mathhint</span>
3790: </h3>
3791:
3792: <div class="documentation">Math Hint Condition</div>
3793:
3794: <div class="indentation">
3795: Choice between:<ul>
3796: <li>
3797: <a href="#responseparam_0">responseparam</a><br>
3798: </li>
3799: <li>
3800: <a name="answer_15"></a><h3>Element <span class="nomtitre">answer</span>
3801: </h3>type: <a href="#mathhint--answer_0">mathhint--answer</a><br><br>
3802: </li>
3803: </ul>
3804: Attribute <span class="nomattribut">id</span>:
3805: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3806: </div>
3807: Attribute <span class="nomattribut">name</span>:
3808: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3809: </div>
3810: Attribute <span class="nomattribut">cas</span>:
3811: <div class="indentation">optional<br>
3812:
1.2 ! damieng 3813: <div class="documentation"> Algebra System
1.1 damieng 3814: </div>
3815:
3816:
1.2 ! damieng 3817: Union of types<ul>
! 3818: <li><a href="#perl_0">perl</a></li>
! 3819: <li>
1.1 damieng 3820: Value restriction based on xs:string<ul>
3821: <li><tt>maxima</tt></li>
3822: <li><tt>R</tt></li>
3823: </ul>
1.2 ! damieng 3824: </li>
! 3825: </ul>
1.1 damieng 3826:
3827: </div>
3828: Attribute <span class="nomattribut">args</span>:
3829: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3830:
1.2 ! damieng 3831: <div class="documentation"> Argument Array
1.1 damieng 3832: </div>
3833:
3834: </div>
3835: </div>
1.2 ! damieng 3836: <br>Parents: <a href="#mathresponse_0">mathresponse</a>, <a href="#hintgroup_0">hintgroup</a><br><hr>
1.1 damieng 3837: <a name="organichint_0"></a><h3>Element <span class="nomtitre">organichint</span>
3838: </h3>
3839:
3840: <div class="documentation">Organic Hint Condition</div>
3841:
3842: <div class="indentation">
3843: Choice between:<ul><li>
3844: <a href="#responseparam_0">responseparam</a><br>
3845: </li></ul>
3846: Attribute <span class="nomattribut">id</span>:
3847: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3848: </div>
3849: Attribute <span class="nomattribut">name</span>:
3850: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3851: </div>
3852: Attribute <span class="nomattribut">answer</span>:
3853: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3854: </div>
3855: </div>
1.2 ! damieng 3856: <br>Parents: <a href="#organicresponse_0">organicresponse</a>, <a href="#hintgroup_0">hintgroup</a><br><hr>
1.1 damieng 3857: <a name="reactionhint_0"></a><h3>Element <span class="nomtitre">reactionhint</span>
3858: </h3>
3859:
3860: <div class="documentation">Reaction Hint Condition</div>
3861:
3862: <div class="indentation">
3863: Choice between:<ul><li>
3864: <a href="#responseparam_0">responseparam</a><br>
3865: </li></ul>
3866: Attribute <span class="nomattribut">id</span>:
3867: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3868: </div>
3869: Attribute <span class="nomattribut">name</span>:
3870: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3871: </div>
3872: Attribute <span class="nomattribut">answer</span>:
3873: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3874: </div>
3875: </div>
1.2 ! damieng 3876: <br>Parents: <a href="#reactionresponse_0">reactionresponse</a>, <a href="#hintgroup_0">hintgroup</a><br><hr>
1.1 damieng 3877: <a name="customhint_0"></a><h3>Element <span class="nomtitre">customhint</span>
3878: </h3>
3879:
1.2 ! damieng 3880: <div class="documentation"> Custom Hint Condition
1.1 damieng 3881:
3882: Define the hint condition within an answer element inside the customhint element. The condition is defined in the same way an answer is defined in customresponse, where you need to return EXACT_ANS to indicate when the customhint criteria are met.
3883: </div>
3884:
3885: <div class="indentation">
3886: Choice between:<ul>
3887: <li>
3888: <a href="#responseparam_0">responseparam</a><br>
3889: </li>
3890: <li>
3891: <a name="answer_18"></a><h3>Element <span class="nomtitre">answer</span>
3892: </h3>type: <a href="#customhint--answer_0">customhint--answer</a><br><br>
3893: </li>
3894: </ul>
3895: Attribute <span class="nomattribut">id</span>:
3896: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3897: </div>
3898: Attribute <span class="nomattribut">name</span>:
3899: <div class="indentation">required<br>type: <tt>xs:string</tt><br>
3900:
1.2 ! damieng 3901: <div class="documentation"> should be set to the value of which hintpart will be shown
1.1 damieng 3902: </div>
3903:
3904: </div>
3905: </div>
1.2 ! damieng 3906: <br>Parents: <a href="#customresponse_0">customresponse</a>, <a href="#hintgroup_0">hintgroup</a><br><hr>
1.1 damieng 3907: <a name="customhint--answer_0"></a><h3>Complex type <span class="nomtitre">customhint--answer</span>
3908: </h3>Can contain text<br><div class="indentation">
3909:
3910: <div class="documentation">Hint algorithm</div>
3911:
3912: Attribute <span class="nomattribut">type</span>:
3913: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3914: </div>
3915: Attribute <span class="nomattribut"></span>:
3916: <div class="indentation">optional<br>
3917: </div>
3918: </div>
3919: <hr>
3920: <a name="mathhint--answer_0"></a><h3>Complex type <span class="nomtitre">mathhint--answer</span>
3921: </h3>Can contain text<br><div class="indentation">
3922:
3923: <div class="documentation">Hint algorithm</div>
3924:
3925: Attribute <span class="nomattribut">type</span>:
3926: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3927: </div>
3928: Attribute <span class="nomattribut"></span>:
3929: <div class="indentation">optional<br>
3930: </div>
3931: </div>
3932: <hr>
3933:
3934:
1.2 ! damieng 3935: <div class="documentation"> Random label
1.1 damieng 3936: </div>
1.2 ! damieng 3937: <hr>
1.1 damieng 3938:
3939: <a name="randomlabel_0"></a><h3>Element <span class="nomtitre">randomlabel</span>
3940: </h3>
3941:
1.2 ! damieng 3942: <div class="documentation"> Randomly labeled image
1.1 damieng 3943:
3944: This shows a specified image with images or text labels randomly assigned to a set of specific locations. Those locations may also have values assigned to them. A hash is generated that contains the mapping of labels to locations, labels to values, and locations to values.
3945: </div>
3946:
3947: <div class="indentation">
3948: Choice between:<ul>
3949: <li>
3950: <a name="labelgroup_0"></a><h3>Element <span class="nomtitre">labelgroup</span>
3951: </h3>type: <a href="#randomlabel--labelgroup_0">randomlabel--labelgroup</a><br>
3952:
1.2 ! damieng 3953: <div class="documentation"> One is required, but multiple are allowed. This declares a group of locations and labels associated with them.
1.1 damieng 3954: </div>
3955:
3956: <br>
3957: </li>
3958: <li>
3959: <a name="bgimg_0"></a><h3>Element <span class="nomtitre">bgimg</span>
3960: </h3>
3961:
1.2 ! damieng 3962: <div class="documentation"> Element alternative to the bgimg attribute, which makes it possible to use a plot as a background image.
1.1 damieng 3963: </div>
3964:
3965: Can contain text<br><div class="indentation">
3966: Choice between:<ul><li>
3967: <a href="#gnuplot_0">gnuplot</a><br>
3968: </li></ul>
3969: </div>
3970: <br>
3971: </li>
3972: </ul>
3973: Attribute <span class="nomattribut">bgimg</span>:
3974: <div class="indentation">optional<br>type: <tt>xs:anyURI</tt><br>
3975:
1.2 ! damieng 3976: <div class="documentation"> Either a fully qualified URL for an external image or a LON-CAPA resource. It supports relative references (../images/apicture.gif). The image must either be a GIF or JPEG.
1.1 damieng 3977: </div>
3978:
3979: </div>
3980: Attribute <span class="nomattribut">width</span>:
3981: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
3982:
1.2 ! damieng 3983: <div class="documentation"> The width of the image in pixels.
1.1 damieng 3984: </div>
3985:
3986: </div>
3987: Attribute <span class="nomattribut">height</span>:
3988: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
3989:
1.2 ! damieng 3990: <div class="documentation"> The height of the image in pixels.
1.1 damieng 3991: </div>
3992:
3993: </div>
3994: Attribute <span class="nomattribut">texwidth</span>:
3995: <div class="indentation">optional<br>type: <a href="#decimal-or-perl_0">decimal-or-perl</a><br>
3996:
1.2 ! damieng 3997: <div class="documentation"> The width of the image in millimeters.
1.1 damieng 3998: </div>
3999:
4000: </div>
4001: </div>
1.2 ! damieng 4002: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a><br><hr>
1.1 damieng 4003: <a name="randomlabel--labelgroup_0"></a><h3>Complex type <span class="nomtitre">randomlabel--labelgroup</span>
4004: </h3>
4005: <div class="indentation">
4006:
4007: <div class="documentation">Group of Labels</div>
4008:
4009: Choice between:<ul>
4010: <li>
4011: <a name="label_4"></a><h3>Element <span class="nomtitre">label</span>
4012: </h3>type: <a href="#randomlabel--label_0">randomlabel--label</a><br><br>
4013: </li>
4014: <li>
4015: <a name="location_7"></a><h3>Element <span class="nomtitre">location</span>
4016: </h3>type: <a href="#randomlabel--location_0">randomlabel--location</a><br>
4017:
1.2 ! damieng 4018: <div class="documentation"> declares a location on the image that a label should appear at
1.1 damieng 4019: </div>
4020:
4021: <br>
4022: </li>
4023: </ul>
4024: Attribute <span class="nomattribut">name</span>:
4025: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
4026:
1.2 ! damieng 4027: <div class="documentation"> This is the name of the group.
1.1 damieng 4028: </div>
4029:
4030: </div>
4031: Attribute <span class="nomattribut">type</span>:
4032: <div class="indentation">optional<br>
4033:
1.2 ! damieng 4034: <div class="documentation"> the type of labels in this group
1.1 damieng 4035: </div>
4036:
4037:
1.2 ! damieng 4038: Union of types<ul>
! 4039: <li><a href="#perl_0">perl</a></li>
! 4040: <li>
1.1 damieng 4041: Value restriction based on xs:string<ul>
4042: <li><tt>text</tt></li>
4043: <li><tt>image</tt></li>
4044: </ul>
1.2 ! damieng 4045: </li>
! 4046: </ul>
1.1 damieng 4047:
4048: </div>
4049: Attribute <span class="nomattribut">TeXsize</span>:
4050: <div class="indentation">optional<br>
4051:
1.2 ! damieng 4052: <div class="documentation"> TeX font size
1.1 damieng 4053: Warning: as opposed to the TeXsize attribute in <h1>..<h6> <font> and <basefont>, this one requires a \ at the beginning of the values.
4054: </div>
4055:
4056:
1.2 ! damieng 4057: Union of types<ul>
! 4058: <li><a href="#perl_0">perl</a></li>
! 4059: <li>
1.1 damieng 4060: Value restriction based on xs:string<ul>
4061: <li><tt>\tiny</tt></li>
4062: <li><tt>\scriptsize</tt></li>
4063: <li><tt>\footnotesize</tt></li>
4064: <li><tt>\small</tt></li>
4065: <li><tt>\normalsize</tt></li>
4066: <li><tt>\large</tt></li>
4067: <li><tt>\Large</tt></li>
4068: <li><tt>\LARGE</tt></li>
4069: <li><tt>\huge</tt></li>
4070: <li><tt>\Huge</tt></li>
4071: </ul>
1.2 ! damieng 4072: </li>
! 4073: </ul>
1.1 damieng 4074:
4075: </div>
4076: </div>
4077: <hr>
4078: <a name="randomlabel--label_0"></a><h3>Complex type <span class="nomtitre">randomlabel--label</span>
4079: </h3>Can contain text<br><div class="indentation">
4080:
4081: <div class="documentation">Label Text or Path to image</div>
4082:
4083: Choice between:<ul>
4084: <li>
4085: <a href="#text-only_0">text-only</a><br>
4086: </li>
4087: <li>
4088: <a href="#preduedate_0">preduedate</a><br>
4089: </li>
4090: <li>
4091: <a href="#postanswerdate_0">postanswerdate</a><br>
4092: </li>
4093: <li>
4094: <a href="#parserlib_0">parserlib</a><br>
4095: </li>
4096: <li>
4097: <a href="#scriptlib_0">scriptlib</a><br>
4098: </li>
4099: </ul>
4100: Attribute <span class="nomattribut">description</span>:
4101: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
4102: </div>
4103: </div>
4104: <hr>
4105: <a name="randomlabel--location_0"></a><h3>Complex type <span class="nomtitre">randomlabel--location</span>
4106: </h3>
4107: <div class="indentation">
4108:
4109: <div class="documentation">Label Location</div>
4110:
4111: Attribute <span class="nomattribut">x</span>:
4112: <div class="indentation">required<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
4113: </div>
4114: Attribute <span class="nomattribut">y</span>:
4115: <div class="indentation">required<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
4116: </div>
4117: Attribute <span class="nomattribut">value</span>:
4118: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
4119: </div>
4120: </div>
4121: <hr>
4122:
4123:
1.2 ! damieng 4124: <div class="documentation"> Gnuplot
1.1 damieng 4125: </div>
1.2 ! damieng 4126: <hr>
1.1 damieng 4127:
4128: <a name="gnuplot_0"></a><h3>Element <span class="nomtitre">gnuplot</span>
4129: </h3>
4130:
1.2 ! damieng 4131: <div class="documentation"> The gnuplot LON-CAPA element allows an author to design a plot which will be created programatically at the time when it is requested for display by a student. This is intended for use in homework problems where a distinct plot should be rendered for each student. It can be used in conjunction with a script to generate curve data for random plots.
1.1 damieng 4132: </div>
4133:
4134: <div class="indentation">
4135: Choice between:<ul><li>
4136: <a href="#gnuplot-children_0">gnuplot-children</a><br>
4137: </li></ul>
4138: Attribute <span class="nomattribut">alttag</span>:
4139: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
4140:
1.2 ! damieng 4141: <div class="documentation"> Brief description of the plot.
1.1 damieng 4142: This text is used as the alt value of the img element used to display the plot on a web page.
4143: </div>
4144:
4145: </div>
4146: Attribute <span class="nomattribut">height</span>:
4147: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
4148:
1.2 ! damieng 4149: <div class="documentation"> Height of image (pixels)
1.1 damieng 4150: </div>
4151:
4152: </div>
4153: Attribute <span class="nomattribut">width</span>:
4154: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
4155:
1.2 ! damieng 4156: <div class="documentation"> Width of image (pixels)
1.1 damieng 4157: </div>
4158:
4159: </div>
4160: Attribute <span class="nomattribut">bgcolor</span>:
4161: <div class="indentation">optional<br>type: <a href="#color-or-perl_0">color-or-perl</a><br>
4162:
1.2 ! damieng 4163: <div class="documentation"> Background color of image
1.1 damieng 4164: </div>
4165:
4166: </div>
4167: Attribute <span class="nomattribut">fgcolor</span>:
4168: <div class="indentation">optional<br>type: <a href="#color-or-perl_0">color-or-perl</a><br>
4169:
1.2 ! damieng 4170: <div class="documentation"> Foreground color of image
1.1 damieng 4171: </div>
4172:
4173: </div>
4174: Attribute <span class="nomattribut">transparent</span>:
4175: <div class="indentation">optional<br>type: <a href="#onoff-or-perl_0">onoff-or-perl</a><br>
4176:
1.2 ! damieng 4177: <div class="documentation"> Transparent image. If the image is transparent the background color will be ignored.
1.1 damieng 4178: </div>
4179:
4180: </div>
4181: Attribute <span class="nomattribut">grid</span>:
4182: <div class="indentation">optional<br>type: <a href="#onoff-or-perl_0">onoff-or-perl</a><br>
4183:
1.2 ! damieng 4184: <div class="documentation"> Display grid
1.1 damieng 4185: </div>
4186:
4187: </div>
4188: Attribute <span class="nomattribut">gridlayer</span>:
4189: <div class="indentation">optional<br>type: <a href="#onoff-or-perl_0">onoff-or-perl</a><br>
4190:
1.2 ! damieng 4191: <div class="documentation"> Display grid front layer over filled boxes or filled curves
1.1 damieng 4192: </div>
4193:
4194: </div>
4195: Attribute <span class="nomattribut">border</span>:
4196: <div class="indentation">optional<br>type: <a href="#onoff-or-perl_0">onoff-or-perl</a><br>
4197:
1.2 ! damieng 4198: <div class="documentation"> Draw border around plot
1.1 damieng 4199: </div>
4200:
4201: </div>
4202: Attribute <span class="nomattribut">font</span>:
4203: <div class="indentation">optional<br>
4204:
1.2 ! damieng 4205: <div class="documentation"> Font size to use in web output (in pts, or "small", "medium" or "large").
1.1 damieng 4206: </div>
4207:
4208:
1.2 ! damieng 4209: Union of types<ul>
! 4210: <li><a href="#perl_0">perl</a></li>
! 4211: <li>
1.1 damieng 4212: Value restriction based on xs:int<ul>
4213: <li><tt>>= 5</tt></li>
4214: <li><tt><= 15</tt></li>
4215: </ul>
1.2 ! damieng 4216: </li>
! 4217: <li>
1.1 damieng 4218: Value restriction based on xs:string<ul>
4219: <li><tt>small</tt></li>
4220: <li><tt>medium</tt></li>
4221: <li><tt>large</tt></li>
4222: </ul>
1.2 ! damieng 4223: </li>
! 4224: </ul>
1.1 damieng 4225:
4226: </div>
4227: Attribute <span class="nomattribut">fontface</span>:
4228: <div class="indentation">optional<br>
4229:
1.2 ! damieng 4230: <div class="documentation"> Type of font to use
1.1 damieng 4231: </div>
4232:
4233:
1.2 ! damieng 4234: Union of types<ul>
! 4235: <li><a href="#perl_0">perl</a></li>
! 4236: <li>
1.1 damieng 4237: Value restriction based on xs:string<ul>
4238: <li><tt>sans-serif</tt></li>
4239: <li><tt>serif</tt></li>
4240: <li><tt>classic</tt></li>
4241: </ul>
1.2 ! damieng 4242: </li>
! 4243: </ul>
1.1 damieng 4244:
4245: </div>
4246: Attribute <span class="nomattribut">samples</span>:
4247: <div class="indentation">optional<br>
4248:
1.2 ! damieng 4249: <div class="documentation"> Number of samples for non-data plots.
1.1 damieng 4250: If a function element is used to specify the curve, this indicates the number of sample points to use.
4251: </div>
4252:
4253:
1.2 ! damieng 4254: Union of types<ul>
! 4255: <li><a href="#perl_0">perl</a></li>
! 4256: <li>
1.1 damieng 4257: Value restriction based on xs:int<ul>
4258: <li><tt>>= 100</tt></li>
4259: <li><tt><= 5000</tt></li>
4260: </ul>
1.2 ! damieng 4261: </li>
! 4262: </ul>
1.1 damieng 4263:
4264: </div>
4265: Attribute <span class="nomattribut">align</span>:
4266: <div class="indentation">optional<br>
4267:
1.2 ! damieng 4268: <div class="documentation"> Alignment for image in HTML
1.1 damieng 4269: </div>
4270:
4271:
1.2 ! damieng 4272: Union of types<ul>
! 4273: <li><a href="#perl_0">perl</a></li>
! 4274: <li>
1.1 damieng 4275: Value restriction based on xs:string<ul>
4276: <li><tt>left</tt></li>
4277: <li><tt>right</tt></li>
4278: <li><tt>middle</tt></li>
4279: <li><tt>center</tt></li>
4280: </ul>
1.2 ! damieng 4281: </li>
! 4282: </ul>
1.1 damieng 4283:
4284: </div>
4285: Attribute <span class="nomattribut">texwidth</span>:
4286: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
4287:
1.2 ! damieng 4288: <div class="documentation"> Width of plot when printed (mm)
1.1 damieng 4289: </div>
4290:
4291: </div>
4292: Attribute <span class="nomattribut">texfont</span>:
4293: <div class="indentation">optional<br>
4294:
1.2 ! damieng 4295: <div class="documentation"> Font size to use in TeX output (pts)
1.1 damieng 4296: </div>
4297:
4298:
1.2 ! damieng 4299: Union of types<ul>
! 4300: <li><a href="#perl_0">perl</a></li>
! 4301: <li>
1.1 damieng 4302: Value restriction based on xs:int<ul>
4303: <li><tt>>= 8</tt></li>
4304: <li><tt><= 36</tt></li>
4305: </ul>
1.2 ! damieng 4306: </li>
! 4307: </ul>
1.1 damieng 4308:
4309: </div>
4310: Attribute <span class="nomattribut">plotcolor</span>:
4311: <div class="indentation">optional<br>
4312:
1.2 ! damieng 4313: <div class="documentation"> Color setting for printing
1.1 damieng 4314: </div>
4315:
4316:
1.2 ! damieng 4317: Union of types<ul>
! 4318: <li><a href="#perl_0">perl</a></li>
! 4319: <li>
1.1 damieng 4320: Value restriction based on xs:string<ul>
4321: <li><tt>monochrome</tt></li>
4322: <li><tt>color</tt></li>
4323: <li><tt>colour</tt></li>
4324: </ul>
1.2 ! damieng 4325: </li>
! 4326: </ul>
1.1 damieng 4327:
4328: </div>
4329: Attribute <span class="nomattribut">plottype</span>:
4330: <div class="indentation">optional<br>
4331:
1.2 ! damieng 4332: <div class="documentation"> Plot type
1.1 damieng 4333: </div>
4334:
4335:
1.2 ! damieng 4336: Union of types<ul>
! 4337: <li><a href="#perl_0">perl</a></li>
! 4338: <li>
1.1 damieng 4339: Value restriction based on xs:string<ul>
4340: <li><tt>Cartesian</tt></li>
4341: <li><tt>Polar</tt></li>
4342: </ul>
1.2 ! damieng 4343: </li>
! 4344: </ul>
1.1 damieng 4345:
4346: </div>
4347: Attribute <span class="nomattribut">gridtype</span>:
4348: <div class="indentation">optional<br>
4349:
1.2 ! damieng 4350: <div class="documentation"> Grid type
1.1 damieng 4351: </div>
4352:
4353:
1.2 ! damieng 4354: Union of types<ul>
! 4355: <li><a href="#perl_0">perl</a></li>
! 4356: <li>
1.1 damieng 4357: Value restriction based on xs:string<ul>
4358: <li><tt>Cartesian</tt></li>
4359: <li><tt>Polar</tt></li>
4360: <li><tt>Linear-Log</tt></li>
4361: <li><tt>Log-Linear</tt></li>
4362: <li><tt>Log-Log</tt></li>
4363: </ul>
1.2 ! damieng 4364: </li>
! 4365: </ul>
1.1 damieng 4366:
4367: </div>
4368: Attribute <span class="nomattribut">lmargin</span>:
4369: <div class="indentation">optional<br>
4370:
1.2 ! damieng 4371: <div class="documentation"> Left margin width (pts)
1.1 damieng 4372: </div>
4373:
4374:
1.2 ! damieng 4375: Union of types<ul>
! 4376: <li><a href="#perl_0">perl</a></li>
! 4377: <li><tt>xs:int</tt></li>
! 4378: <li>
1.1 damieng 4379: Value restriction based on xs:string<ul>
4380: <li><tt>default</tt></li>
4381: </ul>
1.2 ! damieng 4382: </li>
! 4383: </ul>
1.1 damieng 4384:
4385: </div>
4386: Attribute <span class="nomattribut">rmargin</span>:
4387: <div class="indentation">optional<br>
4388:
1.2 ! damieng 4389: <div class="documentation"> Right margin width (pts)
1.1 damieng 4390: </div>
4391:
4392:
1.2 ! damieng 4393: Union of types<ul>
! 4394: <li><a href="#perl_0">perl</a></li>
! 4395: <li><tt>xs:int</tt></li>
! 4396: <li>
1.1 damieng 4397: Value restriction based on xs:string<ul>
4398: <li><tt>default</tt></li>
4399: </ul>
1.2 ! damieng 4400: </li>
! 4401: </ul>
1.1 damieng 4402:
4403: </div>
4404: Attribute <span class="nomattribut">tmargin</span>:
4405: <div class="indentation">optional<br>
4406:
1.2 ! damieng 4407: <div class="documentation"> Top margin width (pts)
1.1 damieng 4408: </div>
4409:
4410:
1.2 ! damieng 4411: Union of types<ul>
! 4412: <li><a href="#perl_0">perl</a></li>
! 4413: <li><tt>xs:int</tt></li>
! 4414: <li>
1.1 damieng 4415: Value restriction based on xs:string<ul>
4416: <li><tt>default</tt></li>
4417: </ul>
1.2 ! damieng 4418: </li>
! 4419: </ul>
1.1 damieng 4420:
4421: </div>
4422: Attribute <span class="nomattribut">bmargin</span>:
4423: <div class="indentation">optional<br>
4424:
1.2 ! damieng 4425: <div class="documentation"> Bottom margin width (pts)
1.1 damieng 4426: </div>
4427:
4428:
1.2 ! damieng 4429: Union of types<ul>
! 4430: <li><a href="#perl_0">perl</a></li>
! 4431: <li><tt>xs:int</tt></li>
! 4432: <li>
1.1 damieng 4433: Value restriction based on xs:string<ul>
4434: <li><tt>default</tt></li>
4435: </ul>
1.2 ! damieng 4436: </li>
! 4437: </ul>
1.1 damieng 4438:
4439: </div>
4440: Attribute <span class="nomattribut">major_ticscale</span>:
4441: <div class="indentation">optional<br>type: <a href="#real-or-perl_0">real-or-perl</a><br>
4442:
1.2 ! damieng 4443: <div class="documentation"> Size of major tic marks (plot coordinates)
1.1 damieng 4444: </div>
4445:
4446: </div>
4447: Attribute <span class="nomattribut">minor_ticscale</span>:
4448: <div class="indentation">optional<br>type: <a href="#real-or-perl_0">real-or-perl</a><br>
4449:
1.2 ! damieng 4450: <div class="documentation"> Size of minor tic mark (plot coordinates)
1.1 damieng 4451: </div>
4452:
4453: </div>
4454: Attribute <span class="nomattribut">box_border</span>:
4455: <div class="indentation">optional<br>
4456:
1.2 ! damieng 4457: <div class="documentation"> Draw border for boxes
1.1 damieng 4458: </div>
4459:
4460:
1.2 ! damieng 4461: Union of types<ul>
! 4462: <li><a href="#perl_0">perl</a></li>
! 4463: <li>
1.1 damieng 4464: Value restriction based on xs:string<ul>
4465: <li><tt>border</tt></li>
4466: <li><tt>noborder</tt></li>
4467: </ul>
1.2 ! damieng 4468: </li>
! 4469: </ul>
1.1 damieng 4470:
4471: </div>
4472: Attribute <span class="nomattribut">boxwidth</span>:
4473: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
4474:
1.2 ! damieng 4475: <div class="documentation"> Width of boxes, default is auto
1.1 damieng 4476: </div>
4477:
4478: </div>
4479: Attribute <span class="nomattribut">fillstyle</span>:
4480: <div class="indentation">optional<br>
4481:
1.2 ! damieng 4482: <div class="documentation"> Fill style for boxes
1.1 damieng 4483: </div>
4484:
4485:
1.2 ! damieng 4486: Union of types<ul>
! 4487: <li><a href="#perl_0">perl</a></li>
! 4488: <li>
1.1 damieng 4489: Value restriction based on xs:string<ul>
4490: <li><tt>empty</tt></li>
4491: <li><tt>solid</tt></li>
4492: <li><tt>pattern</tt></li>
4493: </ul>
1.2 ! damieng 4494: </li>
! 4495: </ul>
1.1 damieng 4496:
4497: </div>
4498: Attribute <span class="nomattribut">solid</span>:
4499: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
4500:
1.2 ! damieng 4501: <div class="documentation"> Density of fill style for boxes
1.1 damieng 4502: </div>
4503:
4504: </div>
4505: Attribute <span class="nomattribut">pattern</span>:
4506: <div class="indentation">optional<br>
4507:
1.2 ! damieng 4508: <div class="documentation"> Pattern value for boxes
1.1 damieng 4509: </div>
4510:
4511:
1.2 ! damieng 4512: Union of types<ul>
! 4513: <li><a href="#perl_0">perl</a></li>
! 4514: <li>
1.1 damieng 4515: Value restriction based on xs:int<ul>
4516: <li><tt>>= 0</tt></li>
4517: <li><tt><= 6</tt></li>
4518: </ul>
1.2 ! damieng 4519: </li>
! 4520: </ul>
1.1 damieng 4521:
4522: </div>
4523: </div>
1.2 ! damieng 4524: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a>, <a href="#randomlabel_0">randomlabel</a>, <a href="#bgimg_0">bgimg</a><br><hr>
1.1 damieng 4525: <a name="gnuplot-children_0"></a><h3>Group <span class="nomtitre">gnuplot-children</span>
4526: </h3>
4527:
1.2 ! damieng 4528: <div class="documentation"> List of children, used in gnuplot and lonplot--block
1.1 damieng 4529: </div>
4530:
4531: Choice between:<ul>
4532: <li>
4533: <a name="title_0"></a><h3>Element <span class="nomtitre">title</span>
4534: </h3>type: <a href="#lonplot--title_0">lonplot--title</a><br><br>
4535: </li>
4536: <li>
4537: <a name="axis_0"></a><h3>Element <span class="nomtitre">axis</span>
4538: </h3>type: <a href="#lonplot--axis_0">lonplot--axis</a><br>
4539:
1.2 ! damieng 4540: <div class="documentation"> The Plot Axes element allows you to specify the domain and range of the data to display. It is closely tied with the Plot Ticks elements, which specify where the gridlines are drawn on the plot.
1.1 damieng 4541: </div>
4542:
4543: <br>
4544: </li>
4545: <li>
4546: <a name="curve_0"></a><h3>Element <span class="nomtitre">curve</span>
4547: </h3>type: <a href="#lonplot--curve_0">lonplot--curve</a><br>
4548:
1.2 ! damieng 4549: <div class="documentation"> The curve element is where you set the data to be plotted by gnuplot.
1.1 damieng 4550: </div>
4551:
4552: <br>
4553: </li>
4554: <li>
4555: <a name="key_0"></a><h3>Element <span class="nomtitre">key</span>
4556: </h3>type: <a href="#lonplot--key_0">lonplot--key</a><br>
4557:
1.2 ! damieng 4558: <div class="documentation"> The key element causes a key to be drawn on the plot when it is generated. The key will contain an entry for each curve which has a name.
1.1 damieng 4559: The key is the color of the foreground of the plot, specified in the gnuplot element.
4560: </div>
4561:
4562: <br>
4563: </li>
4564: <li>
4565: <a name="label_5"></a><h3>Element <span class="nomtitre">label</span>
4566: </h3>type: <a href="#lonplot--label_0">lonplot--label</a><br>
4567:
1.2 ! damieng 4568: <div class="documentation"> The label element allows the author to place text at any position on the plot. There may be many label elements on one plot and all the labels which fall within the plot will show. The color used will be to foreground color of the plot and the font will be the size specified for the plot, both of which are set in the gnuplot element.
1.1 damieng 4569: </div>
4570:
4571: <br>
4572: </li>
4573: <li>
4574: <a name="xtics_0"></a><h3>Element <span class="nomtitre">xtics</span>
4575: </h3>type: <a href="#lonplot--xtics_0">lonplot--xtics</a><br><br>
4576: </li>
4577: <li>
4578: <a name="ytics_0"></a><h3>Element <span class="nomtitre">ytics</span>
4579: </h3>type: <a href="#lonplot--ytics_0">lonplot--ytics</a><br><br>
4580: </li>
4581: <li>
4582: <a name="xlabel_1"></a><h3>Element <span class="nomtitre">xlabel</span>
4583: </h3>type: <a href="#lonplot--xlabel_0">lonplot--xlabel</a><br><br>
4584: </li>
4585: <li>
4586: <a name="ylabel_1"></a><h3>Element <span class="nomtitre">ylabel</span>
4587: </h3>type: <a href="#lonplot--ylabel_0">lonplot--ylabel</a><br><br>
4588: </li>
4589: <li>
4590: <a name="block_3"></a><h3>Element <span class="nomtitre">block</span>
4591: </h3>type: <a href="#lonplot--block_0">lonplot--block</a><br><br>
4592: </li>
4593: </ul>
1.2 ! damieng 4594: <br>Parents: <a href="#gnuplot_0">gnuplot</a><br><hr>
1.1 damieng 4595: <a name="lonplot--title_0"></a><h3>Simple type <span class="nomtitre">lonplot--title</span>
4596: </h3>
4597:
4598: <div class="documentation">Plot Title</div>
4599:
4600: Value restriction based on xs:string
4601: <hr>
4602: <a name="lonplot--axis_0"></a><h3>Complex type <span class="nomtitre">lonplot--axis</span>
4603: </h3>
4604: <div class="indentation">
4605:
4606: <div class="documentation">Plot axes</div>
4607:
4608: Attribute <span class="nomattribut">color</span>:
4609: <div class="indentation">optional<br>type: <a href="#color-or-perl_0">color-or-perl</a><br>
4610:
1.2 ! damieng 4611: <div class="documentation"> Color of grid lines
1.1 damieng 4612: </div>
4613:
4614: </div>
4615: Attribute <span class="nomattribut">xmin</span>:
4616: <div class="indentation">optional<br>type: <a href="#real-or-perl_0">real-or-perl</a><br>
4617:
1.2 ! damieng 4618: <div class="documentation"> Minimum x-value shown in plot
1.1 damieng 4619: </div>
4620:
4621: </div>
4622: Attribute <span class="nomattribut">xmax</span>:
4623: <div class="indentation">optional<br>type: <a href="#real-or-perl_0">real-or-perl</a><br>
4624:
1.2 ! damieng 4625: <div class="documentation"> Maximum x-value shown in plot
1.1 damieng 4626: </div>
4627:
4628: </div>
4629: Attribute <span class="nomattribut">ymin</span>:
4630: <div class="indentation">optional<br>type: <a href="#real-or-perl_0">real-or-perl</a><br>
4631:
1.2 ! damieng 4632: <div class="documentation"> Minimum y-value shown in plot
1.1 damieng 4633: </div>
4634:
4635: </div>
4636: Attribute <span class="nomattribut">ymax</span>:
4637: <div class="indentation">optional<br>type: <a href="#real-or-perl_0">real-or-perl</a><br>
4638:
1.2 ! damieng 4639: <div class="documentation"> Maximum y-value shown in plot
1.1 damieng 4640: </div>
4641:
4642: </div>
4643: Attribute <span class="nomattribut">xformat</span>:
4644: <div class="indentation">optional<br>
4645:
1.2 ! damieng 4646: <div class="documentation"> X-axis number formatting
1.1 damieng 4647: </div>
4648:
4649:
1.2 ! damieng 4650: Union of types<ul>
! 4651: <li><a href="#perl_0">perl</a></li>
! 4652: <li>
1.1 damieng 4653: Value restriction based on xs:string<ul>
4654: <li><tt>on</tt></li>
4655: <li><tt>off</tt></li>
4656: <li><tt>2e</tt></li>
4657: <li><tt>2f</tt></li>
4658: </ul>
1.2 ! damieng 4659: </li>
! 4660: </ul>
1.1 damieng 4661:
4662: </div>
4663: Attribute <span class="nomattribut">yformat</span>:
4664: <div class="indentation">optional<br>
4665:
1.2 ! damieng 4666: <div class="documentation"> Y-axis number formatting
1.1 damieng 4667: </div>
4668:
4669:
1.2 ! damieng 4670: Union of types<ul>
! 4671: <li><a href="#perl_0">perl</a></li>
! 4672: <li>
1.1 damieng 4673: Value restriction based on xs:string<ul>
4674: <li><tt>on</tt></li>
4675: <li><tt>off</tt></li>
4676: <li><tt>2e</tt></li>
4677: <li><tt>2f</tt></li>
4678: </ul>
1.2 ! damieng 4679: </li>
! 4680: </ul>
1.1 damieng 4681:
4682: </div>
4683: Attribute <span class="nomattribut">xzero</span>:
4684: <div class="indentation">optional<br>
4685:
1.2 ! damieng 4686: <div class="documentation"> Show x-zero (y=0) axis
1.1 damieng 4687: </div>
4688:
4689:
1.2 ! damieng 4690: Union of types<ul>
! 4691: <li><a href="#perl_0">perl</a></li>
! 4692: <li>
1.1 damieng 4693: Value restriction based on xs:string<ul>
4694: <li><tt>off</tt></li>
4695: <li><tt>line</tt></li>
4696: <li><tt>thick-line</tt></li>
4697: <li><tt>dotted</tt></li>
4698: </ul>
1.2 ! damieng 4699: </li>
! 4700: </ul>
1.1 damieng 4701:
4702: </div>
4703: Attribute <span class="nomattribut">yzero</span>:
4704: <div class="indentation">optional<br>
4705:
1.2 ! damieng 4706: <div class="documentation"> Show y-zero (x=0) axis
1.1 damieng 4707: </div>
4708:
4709:
1.2 ! damieng 4710: Union of types<ul>
! 4711: <li><a href="#perl_0">perl</a></li>
! 4712: <li>
1.1 damieng 4713: Value restriction based on xs:string<ul>
4714: <li><tt>off</tt></li>
4715: <li><tt>line</tt></li>
4716: <li><tt>thick-line</tt></li>
4717: <li><tt>dotted</tt></li>
4718: </ul>
1.2 ! damieng 4719: </li>
! 4720: </ul>
1.1 damieng 4721:
4722: </div>
4723: </div>
4724: <hr>
4725: <a name="lonplot--curve_0"></a><h3>Complex type <span class="nomtitre">lonplot--curve</span>
4726: </h3>
4727: <div class="indentation">
4728:
4729: <div class="documentation">Plot Curve</div>
4730:
4731: Choice between:<ul>
4732: <li>
4733: <a name="data_0"></a><h3>Element <span class="nomtitre">data</span>
4734: </h3>type: <a href="#lonplot--data_0">lonplot--data</a><br><br>
4735: </li>
4736: <li>
4737: <a name="function_1"></a><h3>Element <span class="nomtitre">function</span>
4738: </h3>type: <a href="#lonplot--function_0">lonplot--function</a><br><br>
4739: </li>
4740: </ul>
4741: Attribute <span class="nomattribut">color</span>:
4742: <div class="indentation">optional<br>type: <a href="#color-or-perl_0">color-or-perl</a><br>
4743:
1.2 ! damieng 4744: <div class="documentation"> Color of curve
1.1 damieng 4745: </div>
4746:
4747: </div>
4748: Attribute <span class="nomattribut">name</span>:
4749: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
4750:
1.2 ! damieng 4751: <div class="documentation"> Name of curve to appear in key
1.1 damieng 4752: </div>
4753:
4754: </div>
4755: Attribute <span class="nomattribut">linestyle</span>:
4756: <div class="indentation">optional<br>
4757:
1.2 ! damieng 4758: <div class="documentation"> Unless otherwise noted the linestyles require only 2 data sets, X and Y.
1.1 damieng 4759:
4760: - lines: Connect adjacent points with straight line segments.
4761: - points: Display a small marker at each point.
4762: - linespoints: Draw both lines and points.
4763: Draws a small symbol at each point and then connects adjacent points with straight line segments.
4764: - dots: Place a tiny dots on the given points.
4765: - steps: Connect points with horizontal lines.
4766: This style connects consecutive points with two line segments: the first from (x1,y1) to (x2,y1) and the second from (x2,y1) to (x2,y2).
4767: - fsteps: Connect data with horizontal lines.
4768: This style connects consecutive points with two line segments: the first from (x1,y1) to (x1,y2) and the second from (x1,y2) to (x2,y2).
4769: - histeps: Plot as histogram.
4770: Y-values are assumed to be centered at the x-values; the point at x1 is represented as a horizontal line from ((x0+x1)/2,y1) to ((x1+x2)/2,y1). The lines representing the end points are extended so that the step is centered on at x. Adjacent points are connected by a vertical line at their average x, that is, from ((x1+x2)/2,y1) to ((x1+x2)/2,y2).
4771: - errorbars: Same as yerrorbars.
4772: - xerrorbars: Draw horizontal error bars around the points.
4773: Requires 3 or 4 data sets. Either X, Y, Xdelta or X, Y, Xlower, Xupper. Xdelta is a change relative to the given X value. The Xlower and Xupper values are absolute grid coordinates of the upper and lower values to indicated with error bars.
4774: - yerrorbars: Draw vertical error bars around the points.
4775: Requires 3 or 4 data sets. Either X, Y, Ydelta or X, Y, Ylower, Yupper. Ydelta is a change relative to the given Y value. The Ylower and Yupper values are the grid coordinates of the upper and lower values to indicate with error bars.
4776: - xyerrorbars: Draw both vertical and horizontal error bars around the points.
4777: Requires 4 or 6 data sets. Either X, Y, Xdelta, Ydelta or X, Y, Xlower, Xupper, Ylower, Yupper. Xdelta and Ydelta are relative to the given coordinates. Xlower, Xupper, Ylower, and Yupper are the grid coordinates of the upper and lower values to indicate with the error bars.
4778: - boxes: Draw a box from the X-axis to the Y-value given.
4779: Requires either 2 or 3 data sets. Either X, Y or X, Y, Xwidth. In the first case the boxes will be drawn next to eachother. In the latter case Xwidth indicates the horizontal width of the box for the given coordinate.
4780: - vector: Draws a vector field based on the given data.
4781: Requires 4 data sets, X, Y, Xdelta, and Ydelta. The ‘vector‘ style draws a vector from (X,Y) to (X+Xdelta,Y+Ydelta). It also draws a small arrowhead at the end of the vector. May not be fully supported by gnuplot.
4782: </div>
4783:
4784:
1.2 ! damieng 4785: Union of types<ul>
! 4786: <li><a href="#perl_0">perl</a></li>
! 4787: <li>
1.1 damieng 4788: Value restriction based on xs:string<ul>
4789: <li><tt>lines</tt></li>
4790: <li><tt>linespoints</tt></li>
4791: <li><tt>dots</tt></li>
4792: <li><tt>points</tt></li>
4793: <li><tt>steps</tt></li>
4794: <li><tt>fsteps</tt></li>
4795: <li><tt>histeps</tt></li>
4796: <li><tt>errorbars</tt></li>
4797: <li><tt>xerrorbars</tt></li>
4798: <li><tt>yerrorbars</tt></li>
4799: <li><tt>xyerrorbars</tt></li>
4800: <li><tt>boxes</tt></li>
4801: <li><tt>filledcurves</tt></li>
4802: <li><tt>vector</tt></li>
4803: </ul>
1.2 ! damieng 4804: </li>
! 4805: </ul>
1.1 damieng 4806:
4807: </div>
4808: Attribute <span class="nomattribut">linewidth</span>:
4809: <div class="indentation">optional<br>
4810:
1.2 ! damieng 4811: <div class="documentation"> Line width (may not apply to all plot styles)
1.1 damieng 4812: </div>
4813:
4814:
1.2 ! damieng 4815: Union of types<ul>
! 4816: <li><a href="#perl_0">perl</a></li>
! 4817: <li>
1.1 damieng 4818: Value restriction based on xs:int<ul>
4819: <li><tt>>= 1</tt></li>
4820: <li><tt><= 10</tt></li>
4821: </ul>
1.2 ! damieng 4822: </li>
! 4823: </ul>
1.1 damieng 4824:
4825: </div>
4826: Attribute <span class="nomattribut">linetype</span>:
4827: <div class="indentation">optional<br>
4828:
1.2 ! damieng 4829: <div class="documentation"> Line type (may not apply to all plot styles)
1.1 damieng 4830: </div>
4831:
4832:
1.2 ! damieng 4833: Union of types<ul>
! 4834: <li><a href="#perl_0">perl</a></li>
! 4835: <li>
1.1 damieng 4836: Value restriction based on xs:string<ul>
4837: <li><tt>solid</tt></li>
4838: <li><tt>dashed</tt></li>
4839: </ul>
1.2 ! damieng 4840: </li>
! 4841: </ul>
1.1 damieng 4842:
4843: </div>
4844: Attribute <span class="nomattribut">pointsize</span>:
4845: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
4846:
1.2 ! damieng 4847: <div class="documentation"> Point size (may not apply to all plot styles)
1.1 damieng 4848: </div>
4849:
4850: </div>
4851: Attribute <span class="nomattribut">pointtype</span>:
4852: <div class="indentation">optional<br>
4853:
1.2 ! damieng 4854: <div class="documentation"> Point type (may not apply to all plot styles)
1.1 damieng 4855: </div>
4856:
4857:
1.2 ! damieng 4858: Union of types<ul>
! 4859: <li><a href="#perl_0">perl</a></li>
! 4860: <li>
1.1 damieng 4861: Value restriction based on xs:int<ul>
4862: <li><tt>>= 0</tt></li>
4863: <li><tt><= 6</tt></li>
4864: </ul>
1.2 ! damieng 4865: </li>
! 4866: </ul>
1.1 damieng 4867:
4868: </div>
4869: Attribute <span class="nomattribut">limit</span>:
4870: <div class="indentation">optional<br>
4871:
1.2 ! damieng 4872: <div class="documentation"> Point to fill for filled curves
1.1 damieng 4873: </div>
4874:
4875:
1.2 ! damieng 4876: Union of types<ul>
! 4877: <li><a href="#perl_0">perl</a></li>
! 4878: <li>
1.1 damieng 4879: Value restriction based on xs:string<ul>
4880: <li><tt>above</tt></li>
4881: <li><tt>below</tt></li>
4882: <li><tt>closed</tt></li>
4883: <li><tt>x1</tt></li>
4884: <li><tt>x2</tt></li>
4885: <li><tt>y1</tt></li>
4886: <li><tt>y2</tt></li>
4887: </ul>
1.2 ! damieng 4888: </li>
! 4889: </ul>
1.1 damieng 4890:
4891: </div>
4892: Attribute <span class="nomattribut">arrowhead</span>:
4893: <div class="indentation">optional<br>
4894:
1.2 ! damieng 4895: <div class="documentation"> For vector plots, controls where in the vector the arrow head(s) appear.
1.1 damieng 4896: </div>
4897:
4898:
1.2 ! damieng 4899: Union of types<ul>
! 4900: <li><a href="#perl_0">perl</a></li>
! 4901: <li>
1.1 damieng 4902: Value restriction based on xs:string<ul>
4903: <li><tt>nohead</tt></li>
4904: <li><tt>head</tt></li>
4905: <li><tt>heads</tt></li>
4906: </ul>
1.2 ! damieng 4907: </li>
! 4908: </ul>
1.1 damieng 4909:
4910: </div>
4911: Attribute <span class="nomattribut">arrowstyle</span>:
4912: <div class="indentation">optional<br>
4913:
1.2 ! damieng 4914: <div class="documentation"> For vector plots, controls the fill style of the arrow.
1.1 damieng 4915: </div>
4916:
4917:
1.2 ! damieng 4918: Union of types<ul>
! 4919: <li><a href="#perl_0">perl</a></li>
! 4920: <li>
1.1 damieng 4921: Value restriction based on xs:string<ul>
4922: <li><tt>filled</tt></li>
4923: <li><tt>empty</tt></li>
4924: <li><tt>nofilled</tt></li>
4925: </ul>
1.2 ! damieng 4926: </li>
! 4927: </ul>
1.1 damieng 4928:
4929: </div>
4930: Attribute <span class="nomattribut">arrowlength</span>:
4931: <div class="indentation">optional<br>type: <a href="#real-or-perl_0">real-or-perl</a><br>
4932:
1.2 ! damieng 4933: <div class="documentation"> For vector plots, determines the distance between the vector line end and the tip of the arrow.
1.1 damieng 4934: </div>
4935:
4936: </div>
4937: Attribute <span class="nomattribut">arrowangle</span>:
4938: <div class="indentation">optional<br>type: <a href="#real-or-perl_0">real-or-perl</a><br>
4939:
1.2 ! damieng 4940: <div class="documentation"> For vector plots, determines the angle the arrow branches make with the vector line.
1.1 damieng 4941: </div>
4942:
4943: </div>
4944: Attribute <span class="nomattribut">arrowbackangle</span>:
4945: <div class="indentation">optional<br>type: <a href="#real-or-perl_0">real-or-perl</a><br>
4946:
1.2 ! damieng 4947: <div class="documentation"> For vector plots, determines the angle the arrow lines that return to the main line from the branches make with the arrow branches.
1.1 damieng 4948: </div>
4949:
4950: </div>
4951: </div>
4952: <hr>
4953: <a name="lonplot--data_0"></a><h3>Complex type <span class="nomtitre">lonplot--data</span>
4954: </h3>Can contain text<br><div class="indentation">
4955:
1.2 ! damieng 4956: <div class="documentation"> Curve data
1.1 damieng 4957:
4958: The data must be either a perl array, @X, or a comma separated list, such as “0.5,0.9,1.5,2.4” (without quotes). ’NaN’ is a valid value. Note the the ”Y” values are entered in a separate array.
4959: </div>
4960:
4961: </div>
4962: <hr>
4963: <a name="lonplot--function_0"></a><h3>Complex type <span class="nomtitre">lonplot--function</span>
4964: </h3>Can contain text<br><div class="indentation">
4965:
1.2 ! damieng 4966: <div class="documentation"> Used to specify the curve to be plotted as a formula, instead of numerical data.
1.1 damieng 4967: The function must be a mathematical expression. Use the independent variable “x” for cartesian plots and “t” for polar plots. Implicit multiplication is not accepted by Gnuplot.
4968: </div>
4969:
4970: </div>
4971: <hr>
4972: <a name="lonplot--key_0"></a><h3>Complex type <span class="nomtitre">lonplot--key</span>
4973: </h3>
4974: <div class="indentation">
4975:
1.2 ! damieng 4976: <div class="documentation"> Causes a key to be drawn on the plot when it is generated. The key will contain an entry for each curve which has a name.
1.1 damieng 4977: The key is the color of the foreground of the plot, specified in the gnuplot element.
4978: </div>
4979:
4980: Attribute <span class="nomattribut">title</span>:
4981: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
4982:
1.2 ! damieng 4983: <div class="documentation"> Title of key
1.1 damieng 4984: </div>
4985:
4986: </div>
4987: Attribute <span class="nomattribut">box</span>:
4988: <div class="indentation">optional<br>type: <a href="#onoff-or-perl_0">onoff-or-perl</a><br>
4989:
1.2 ! damieng 4990: <div class="documentation"> Draw a box around the key?
1.1 damieng 4991: </div>
4992:
4993: </div>
4994: Attribute <span class="nomattribut">pos</span>:
4995: <div class="indentation">optional<br>
4996:
1.2 ! damieng 4997: <div class="documentation"> Position of the key on the plot
1.1 damieng 4998: </div>
4999:
5000:
1.2 ! damieng 5001: Union of types<ul>
! 5002: <li><a href="#perl_0">perl</a></li>
! 5003: <li>
1.1 damieng 5004: Value restriction based on xs:string<ul>
5005: <li><tt>top left</tt></li>
5006: <li><tt>top right</tt></li>
5007: <li><tt>bottom left</tt></li>
5008: <li><tt>bottom right</tt></li>
5009: <li><tt>outside</tt></li>
5010: <li><tt>below</tt></li>
5011: </ul>
1.2 ! damieng 5012: </li>
! 5013: </ul>
1.1 damieng 5014:
5015: </div>
5016: </div>
5017: <hr>
5018: <a name="lonplot--label_0"></a><h3>Complex type <span class="nomtitre">lonplot--label</span>
5019: </h3>Can contain text<br><div class="indentation">
5020:
5021: <div class="documentation">Plot Label</div>
5022:
5023: Attribute <span class="nomattribut">xpos</span>:
5024: <div class="indentation">optional<br>type: <a href="#real-or-perl_0">real-or-perl</a><br>
5025:
1.2 ! damieng 5026: <div class="documentation"> X position of label (graph coordinates)
1.1 damieng 5027: </div>
5028:
5029: </div>
5030: Attribute <span class="nomattribut">ypos</span>:
5031: <div class="indentation">optional<br>type: <a href="#real-or-perl_0">real-or-perl</a><br>
5032:
1.2 ! damieng 5033: <div class="documentation"> Y position of label (graph coordinates)
1.1 damieng 5034: </div>
5035:
5036: </div>
5037: Attribute <span class="nomattribut">justify</span>:
5038: <div class="indentation">optional<br>
5039:
1.2 ! damieng 5040: <div class="documentation"> justification of the label text on the plot
1.1 damieng 5041: </div>
5042:
5043:
1.2 ! damieng 5044: Union of types<ul>
! 5045: <li><a href="#perl_0">perl</a></li>
! 5046: <li>
1.1 damieng 5047: Value restriction based on xs:string<ul>
5048: <li><tt>left</tt></li>
5049: <li><tt>right</tt></li>
5050: <li><tt>center</tt></li>
5051: </ul>
1.2 ! damieng 5052: </li>
! 5053: </ul>
1.1 damieng 5054:
5055: </div>
5056: Attribute <span class="nomattribut">rotate</span>:
5057: <div class="indentation">optional<br>type: <a href="#real-or-perl_0">real-or-perl</a><br>
5058:
1.2 ! damieng 5059: <div class="documentation"> Rotation of label (degrees)
1.1 damieng 5060: </div>
5061:
5062: </div>
5063: </div>
5064: <hr>
5065: <a name="lonplot--tics_0"></a><h3>Complex type <span class="nomtitre">lonplot--tics</span>
5066: </h3>
5067: <div class="indentation">
5068:
5069: <div class="documentation">Plot tics</div>
5070:
5071: Choice between:<ul><li>
5072: <a name="tic_0"></a><h3>Element <span class="nomtitre">tic</span>
5073: </h3>
5074:
1.2 ! damieng 5075: <div class="documentation"> The <tic> element allows users to specify exact Tic positions and labels for each axis.
1.1 damieng 5076: In this version we only support level 0 tics (major tic).
5077: Each tic has associated with it a position and a label $current_tics is a reference to the current tick description hash.
5078: We add elements to an array in that has: ticspecs whose elements are 'pos' - the tick position and 'label' - the tic label.
5079: </div>
5080:
5081: Can contain text<br><div class="indentation">
5082: Attribute <span class="nomattribut">location</span>:
5083: <div class="indentation">required<br>type: <a href="#real-or-perl_0">real-or-perl</a><br>
5084: </div>
5085: </div>
5086: <br>
5087: </li></ul>
5088: Attribute <span class="nomattribut">location</span>:
5089: <div class="indentation">optional<br>
5090:
1.2 ! damieng 5091: <div class="documentation"> Location of major tic marks
1.1 damieng 5092: </div>
5093:
5094:
1.2 ! damieng 5095: Union of types<ul>
! 5096: <li><a href="#perl_0">perl</a></li>
! 5097: <li>
1.1 damieng 5098: Value restriction based on xs:string<ul>
5099: <li><tt>border</tt></li>
5100: <li><tt>axis</tt></li>
5101: </ul>
1.2 ! damieng 5102: </li>
! 5103: </ul>
1.1 damieng 5104:
5105: </div>
5106: Attribute <span class="nomattribut">mirror</span>:
5107: <div class="indentation">optional<br>type: <a href="#onoff-or-perl_0">onoff-or-perl</a><br>
5108:
1.2 ! damieng 5109: <div class="documentation"> Mirror tics on opposite axis?
1.1 damieng 5110: If the location of tic marks is set to “border” this parameter determines if they are shown on both the top and bottom or right and left sides of the graph. The “mirror” tic marks are unlabelled.
5111: </div>
5112:
5113: </div>
5114: Attribute <span class="nomattribut">start</span>:
5115: <div class="indentation">optional<br>type: <a href="#real-or-perl_0">real-or-perl</a><br>
5116:
1.2 ! damieng 5117: <div class="documentation"> The point in graph coordinates which to start making major tics. This may be less than or greater than the lower limit for the axis.
1.1 damieng 5118: </div>
5119:
5120: </div>
5121: Attribute <span class="nomattribut">increment</span>:
5122: <div class="indentation">optional<br>type: <a href="#real-or-perl_0">real-or-perl</a><br>
5123:
1.2 ! damieng 5124: <div class="documentation"> The span, in graph coordinates, between each major tic mark.
1.1 damieng 5125: </div>
5126:
5127: </div>
5128: Attribute <span class="nomattribut">end</span>:
5129: <div class="indentation">optional<br>type: <a href="#real-or-perl_0">real-or-perl</a><br>
5130:
1.2 ! damieng 5131: <div class="documentation"> Stop major tics at.
1.1 damieng 5132: This may be less than or greater than the upper limit for the axis.
5133: </div>
5134:
5135: </div>
5136: Attribute <span class="nomattribut">minorfreq</span>:
5137: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
5138:
1.2 ! damieng 5139: <div class="documentation"> The number of subdivisions to make of the span between major tic marks. Using a value of “10” leads to 9 minor tic marks.
1.1 damieng 5140: </div>
5141:
5142: </div>
5143: Attribute <span class="nomattribut">rotate</span>:
5144: <div class="indentation">optional<br>type: <a href="#onoff-or-perl_0">onoff-or-perl</a><br>
5145:
1.2 ! damieng 5146: <div class="documentation"> For output devices that support it, this rotates the tic label by 90 degrees. This is most useful with large lables defined by the tic element described below.
1.1 damieng 5147: </div>
5148:
5149: </div>
5150: </div>
5151: <hr>
5152: <a name="lonplot--xtics_0"></a><h3>Complex type <span class="nomtitre">lonplot--xtics</span>
5153: </h3>
5154: <div class="indentation">
5155:
5156: <div class="documentation">Plot xtics</div>
5157:
5158:
5159:
5160:
5161: </div>
5162: <hr>
5163: <a name="lonplot--ytics_0"></a><h3>Complex type <span class="nomtitre">lonplot--ytics</span>
5164: </h3>
5165: <div class="indentation">
5166:
5167: <div class="documentation">Plot ytics</div>
5168:
5169:
5170:
5171:
5172: </div>
5173: <hr>
5174: <a name="lonplot--xlabel_0"></a><h3>Simple type <span class="nomtitre">lonplot--xlabel</span>
5175: </h3>
5176:
5177: <div class="documentation">Plot x-label</div>
5178:
5179: Value restriction based on xs:string
5180: <hr>
5181: <a name="lonplot--ylabel_0"></a><h3>Simple type <span class="nomtitre">lonplot--ylabel</span>
5182: </h3>
5183:
5184: <div class="documentation">Plot y-label</div>
5185:
5186: Value restriction based on xs:string
5187: <hr>
5188: <a name="lonplot--block_0"></a><h3>Complex type <span class="nomtitre">lonplot--block</span>
5189: </h3>
5190: <div class="indentation">
5191:
1.2 ! damieng 5192: <div class="documentation"> Conditional Block
1.1 damieng 5193:
5194: This has a required argument condition that is evaluated. If the condition is true, everything inside the element is evaluated; otherwise, everything inside the block element is skipped.
5195:
5196: When found inside the gnuplot element, a block can only have gnuplot children inside, with no text.
5197: </div>
5198:
5199: Choice between:<ul><li>
5200: <a href="#gnuplot-children_0">gnuplot-children</a><br>
5201: </li></ul>
5202: Attribute <span class="nomattribut">condition</span>:
5203: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
5204:
1.2 ! damieng 5205: <div class="documentation"> Test Condition
1.1 damieng 5206: </div>
5207:
5208: </div>
5209: </div>
5210: <hr>
5211:
5212:
1.2 ! damieng 5213: <div class="documentation"> Task
1.1 damieng 5214: </div>
1.2 ! damieng 5215: <hr>
1.1 damieng 5216:
5217: <a name="Task_0"></a><h3>Element <span class="nomtitre">Task</span>
5218: </h3>
5219:
5220: <div class="documentation">Root for .task (bridge task) documents</div>
5221:
5222: Can contain text<br><div class="indentation">
5223: Choice between:<ul>
5224: <li>
5225: <a href="#IntroParagraph_0">IntroParagraph</a><br>
5226: </li>
5227: <li>
5228: <a href="#Setup_0">Setup</a><br>
5229: </li>
5230: <li>
5231: <a href="#Question_0">Question</a><br>
5232: </li>
5233: <li>
5234: <a href="#Criteria_0">Criteria</a><br>
5235: </li>
5236: <li>
5237: <a href="#ClosingParagraph_0">ClosingParagraph</a><br>
5238: </li>
5239: </ul>
5240: Attribute <span class="nomattribut">OptionalRequired</span>:
5241: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
5242:
1.2 ! damieng 5243: <div class="documentation"> Required number of passed optional elements to pass the Task
1.1 damieng 5244: </div>
5245:
5246: </div>
5247: </div>
5248: <br><br><hr>
5249: <a name="IntroParagraph_0"></a><h3>Element <span class="nomtitre">IntroParagraph</span>
5250: </h3>
5251:
5252: <div class="documentation">Introductory Information</div>
5253:
5254: Can contain text<br><div class="indentation">
5255: Choice between:<ul>
5256: <li>
5257: <a href="#text-only_0">text-only</a><br>
5258: </li>
5259: <li>
5260: <a href="#parserlib_0">parserlib</a><br>
5261: </li>
5262: <li>
5263: <a href="#scriptlib_0">scriptlib</a><br>
5264: </li>
5265: </ul>
5266: </div>
1.2 ! damieng 5267: <br>Parents: <a href="#Task_0">Task</a><br><hr>
1.1 damieng 5268: <a name="ClosingParagraph_0"></a><h3>Element <span class="nomtitre">ClosingParagraph</span>
5269: </h3>
5270:
5271: <div class="documentation">Closing Information</div>
5272:
5273: Can contain text<br><div class="indentation">
5274: Choice between:<ul>
5275: <li>
5276: <a href="#text-only_0">text-only</a><br>
5277: </li>
5278: <li>
5279: <a href="#parserlib_0">parserlib</a><br>
5280: </li>
5281: <li>
5282: <a href="#scriptlib_0">scriptlib</a><br>
5283: </li>
5284: </ul>
5285: </div>
1.2 ! damieng 5286: <br>Parents: <a href="#Task_0">Task</a><br><hr>
1.1 damieng 5287: <a name="Question_0"></a><h3>Element <span class="nomtitre">Question</span>
5288: </h3>
5289:
5290: <div class="documentation">Question</div>
5291:
5292: <div class="indentation">
5293: Choice between:<ul>
5294: <li>
5295: <a href="#Instance_0">Instance</a><br>
5296: </li>
5297: <li>
5298: <a href="#QuestionText_0">QuestionText</a><br>
5299: </li>
5300: <li>
5301: <a href="#Question_0">Question</a><br>
5302: </li>
5303: <li>
5304: <a href="#Criteria_0">Criteria</a><br>
5305: </li>
5306: </ul>
5307: Attribute <span class="nomattribut">id</span>:
5308: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
5309: </div>
5310: Attribute <span class="nomattribut">Mandatory</span>:
5311: <div class="indentation">optional<br>
5312:
1.2 ! damieng 5313: <div class="documentation"> Passing is Mandatory
1.1 damieng 5314: </div>
5315:
5316:
1.2 ! damieng 5317: Union of types<ul>
! 5318: <li><a href="#perl_0">perl</a></li>
! 5319: <li>
1.1 damieng 5320: Value restriction based on xs:string<ul>
5321: <li><tt>Y</tt></li>
5322: <li><tt>N</tt></li>
5323: </ul>
1.2 ! damieng 5324: </li>
! 5325: </ul>
1.1 damieng 5326:
5327: </div>
5328: Attribute <span class="nomattribut">OptionalRequired</span>:
5329: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
5330:
1.2 ! damieng 5331: <div class="documentation"> Required number of passed optional elements to pass
1.1 damieng 5332: </div>
5333:
5334: </div>
5335: </div>
1.2 ! damieng 5336: <br>Parents: <a href="#Task_0">Task</a>, <a href="#Question_0">Question</a><br><hr>
1.1 damieng 5337: <a name="QuestionText_0"></a><h3>Element <span class="nomtitre">QuestionText</span>
5338: </h3>
5339:
5340: <div class="documentation">Question Information</div>
5341:
5342: Can contain text<br><div class="indentation">
5343: Choice between:<ul>
5344: <li>
5345: <a href="#text-only_0">text-only</a><br>
5346: </li>
5347: <li>
5348: <a href="#parserlib_0">parserlib</a><br>
5349: </li>
5350: <li>
5351: <a href="#scriptlib_0">scriptlib</a><br>
5352: </li>
5353: </ul>
5354: </div>
1.2 ! damieng 5355: <br>Parents: <a href="#Question_0">Question</a><br><hr>
1.1 damieng 5356: <a name="Setup_0"></a><h3>Element <span class="nomtitre">Setup</span>
5357: </h3>
5358:
5359: <div class="documentation">Setup....</div>
5360:
5361: <div class="indentation">
5362: Choice between:<ul><li>
5363: <a href="#Instance_0">Instance</a><br>
5364: </li></ul>
5365: Attribute <span class="nomattribut">id</span>:
5366: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
5367: </div>
5368: </div>
1.2 ! damieng 5369: <br>Parents: <a href="#Task_0">Task</a><br><hr>
1.1 damieng 5370: <a name="Instance_0"></a><h3>Element <span class="nomtitre">Instance</span>
5371: </h3>
5372:
5373: <div class="documentation">Specific Question Instance</div>
5374:
5375: <div class="indentation">
5376: Choice between:<ul>
5377: <li>
5378: <a href="#InstanceText_0">InstanceText</a><br>
5379: </li>
5380: <li>
5381: <a href="#Criteria_0">Criteria</a><br>
5382: </li>
5383: </ul>
5384: Attribute <span class="nomattribut">id</span>:
5385: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
5386: </div>
5387: Attribute <span class="nomattribut">Disabled</span>:
5388: <div class="indentation">optional<br>type: <a href="#yesno-or-perl_0">yesno-or-perl</a><br>
5389:
1.2 ! damieng 5390: <div class="documentation"> Instance is Disabled
1.1 damieng 5391: </div>
5392:
5393: </div>
5394: Attribute <span class="nomattribut">OptionalRequired</span>:
5395: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
5396:
1.2 ! damieng 5397: <div class="documentation"> Required number of passed optional elements to pass the Instance
1.1 damieng 5398: </div>
5399:
5400: </div>
5401: </div>
1.2 ! damieng 5402: <br>Parents: <a href="#Question_0">Question</a>, <a href="#Setup_0">Setup</a><br><hr>
1.1 damieng 5403: <a name="InstanceText_0"></a><h3>Element <span class="nomtitre">InstanceText</span>
5404: </h3>
5405:
5406: <div class="documentation">Information for the Instance</div>
5407:
5408: Can contain text<br><div class="indentation">
5409: Choice between:<ul>
5410: <li>
5411: <a href="#text-only_0">text-only</a><br>
5412: </li>
5413: <li>
5414: <a href="#parserlib_0">parserlib</a><br>
5415: </li>
5416: <li>
5417: <a href="#scriptlib_0">scriptlib</a><br>
5418: </li>
5419: </ul>
5420: </div>
1.2 ! damieng 5421: <br>Parents: <a href="#Instance_0">Instance</a><br><hr>
1.1 damieng 5422: <a name="Criteria_0"></a><h3>Element <span class="nomtitre">Criteria</span>
5423: </h3>
5424:
5425: <div class="documentation">Question Criteria</div>
5426:
5427: Can contain text<br><div class="indentation">
5428: Choice between:<ul>
5429: <li>
5430: <a href="#GraderNote_0">GraderNote</a><br>
5431: </li>
5432: <li>
5433: <a href="#CriteriaText_0">CriteriaText</a><br>
5434: </li>
5435: </ul>
5436: Attribute <span class="nomattribut">id</span>:
5437: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
5438: </div>
5439: Attribute <span class="nomattribut">Mandatory</span>:
5440: <div class="indentation">optional<br>
5441:
1.2 ! damieng 5442: <div class="documentation"> Passing is Mandatory
1.1 damieng 5443: </div>
5444:
5445:
1.2 ! damieng 5446: Union of types<ul>
! 5447: <li><a href="#perl_0">perl</a></li>
! 5448: <li>
1.1 damieng 5449: Value restriction based on xs:string<ul>
5450: <li><tt>Y</tt></li>
5451: <li><tt>N</tt></li>
5452: </ul>
1.2 ! damieng 5453: </li>
! 5454: </ul>
1.1 damieng 5455:
5456: </div>
5457: </div>
1.2 ! damieng 5458: <br>Parents: <a href="#Task_0">Task</a>, <a href="#Question_0">Question</a>, <a href="#Instance_0">Instance</a><br><hr>
1.1 damieng 5459: <a name="CriteriaText_0"></a><h3>Element <span class="nomtitre">CriteriaText</span>
5460: </h3>
5461:
5462: <div class="documentation">Criteria Information</div>
5463:
5464: Can contain text<br><div class="indentation">
5465: Choice between:<ul>
5466: <li>
5467: <a href="#text-only_0">text-only</a><br>
5468: </li>
5469: <li>
5470: <a href="#parserlib_0">parserlib</a><br>
5471: </li>
5472: <li>
5473: <a href="#scriptlib_0">scriptlib</a><br>
5474: </li>
5475: </ul>
5476: </div>
1.2 ! damieng 5477: <br>Parents: <a href="#Criteria_0">Criteria</a><br><hr>
1.1 damieng 5478: <a name="GraderNote_0"></a><h3>Element <span class="nomtitre">GraderNote</span>
5479: </h3>
5480:
5481: <div class="documentation">Text to display to Grader</div>
5482:
5483: Can contain text<br><div class="indentation">
5484: Choice between:<ul>
5485: <li>
5486: <a href="#text-only_0">text-only</a><br>
5487: </li>
5488: <li>
5489: <a href="#parserlib_0">parserlib</a><br>
5490: </li>
5491: <li>
5492: <a href="#scriptlib_0">scriptlib</a><br>
5493: </li>
5494: </ul>
5495: </div>
1.2 ! damieng 5496: <br>Parents: <a href="#Criteria_0">Criteria</a><br><hr>
1.1 damieng 5497:
5498:
1.2 ! damieng 5499: <div class="documentation"> Problem block elements that cannot be used anywhere text is used.
1.1 damieng 5500: </div>
1.2 ! damieng 5501: <hr>
1.1 damieng 5502:
5503: <a name="part_0"></a><h3>Element <span class="nomtitre">part</span>
5504: </h3>
5505:
1.2 ! damieng 5506: <div class="documentation"> Problem Part
1.1 damieng 5507:
5508: This must be below problem if it is going to be used. It does many of the same tasks as problem, but allows multiple separate problems to exist in a single file.
5509: </div>
5510:
5511: Can contain text<br><div class="indentation">
5512: Choice between:<ul>
5513: <li>
5514: <a href="#text-with-responses_0">text-with-responses</a><br>
5515: </li>
5516: <li>
5517: <a href="#inserts_0">inserts</a><br>
5518: </li>
5519: <li>
5520: <a href="#parameter_0">parameter</a><br>
5521: </li>
5522: <li>
5523: <a href="#parserlib_0">parserlib</a><br>
5524: </li>
5525: <li>
5526: <a href="#scriptlib_0">scriptlib</a><br>
5527: </li>
5528: </ul>
5529: Attribute <span class="nomattribut">id</span>:
5530: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
5531:
1.2 ! damieng 5532: <div class="documentation"> Part ID
1.1 damieng 5533: </div>
5534:
5535: </div>
5536: Attribute <span class="nomattribut">display</span>:
5537: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
5538:
1.2 ! damieng 5539: <div class="documentation"> Displayed Part Description
1.1 damieng 5540: </div>
5541:
5542: </div>
5543: </div>
1.2 ! damieng 5544: <br>Parents: <a href="#library_0">library</a>, <a href="#text-with-parts_0">text-with-parts</a>, <a href="#comment_0">comment</a><br><hr>
1.1 damieng 5545: <a name="allow_0"></a><h3>Element <span class="nomtitre">allow</span>
5546: </h3>
5547:
5548: <div class="documentation">File Dependencies</div>
5549:
5550: <div class="indentation">
5551: Attribute <span class="nomattribut">src</span>:
5552: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
5553:
1.2 ! damieng 5554: <div class="documentation"> Path to the file
1.1 damieng 5555: </div>
5556:
5557: </div>
5558: </div>
1.2 ! damieng 5559: <br>Parents: <a href="#problem_0">problem</a>, <a href="#html_0">html</a><br><hr>
1.1 damieng 5560: <a name="parserlib_0"></a><h3>Element <span class="nomtitre">parserlib</span>
5561: </h3>type: <tt>xs:anyURI</tt><br>
5562:
1.2 ! damieng 5563: <div class="documentation"> Import Tag Definitions
1.1 damieng 5564:
5565: The enclosed filename contains definitions for new tags.
5566: </div>
5567:
1.2 ! damieng 5568: <br>Parents: <a href="#problem_0">problem</a>, <a href="#library_0">library</a>, <a href="#hintpart_0">hintpart</a>, <a href="#IntroParagraph_0">IntroParagraph</a>, <a href="#ClosingParagraph_0">ClosingParagraph</a>, <a href="#QuestionText_0">QuestionText</a>, <a href="#InstanceText_0">InstanceText</a>, <a href="#CriteriaText_0">CriteriaText</a>, <a href="#GraderNote_0">GraderNote</a>, <a href="#part_0">part</a>, <a href="#preduedate_0">preduedate</a>, <a href="#postanswerdate_0">postanswerdate</a>, <a href="#solved_0">solved</a>, <a href="#notsolved_0">notsolved</a>, <a href="#while_0">while</a><br><hr>
1.1 damieng 5569: <a name="scriptlib_0"></a><h3>Element <span class="nomtitre">scriptlib</span>
5570: </h3>type: <tt>xs:anyURI</tt><br>
5571:
1.2 ! damieng 5572: <div class="documentation"> Import Script Library
1.1 damieng 5573:
5574: The enclosed filename contains Perl code to run in the safe space.
5575: </div>
5576:
1.2 ! damieng 5577: <br>Parents: <a href="#problem_0">problem</a>, <a href="#library_0">library</a>, <a href="#hintpart_0">hintpart</a>, <a href="#IntroParagraph_0">IntroParagraph</a>, <a href="#ClosingParagraph_0">ClosingParagraph</a>, <a href="#QuestionText_0">QuestionText</a>, <a href="#InstanceText_0">InstanceText</a>, <a href="#CriteriaText_0">CriteriaText</a>, <a href="#GraderNote_0">GraderNote</a>, <a href="#part_0">part</a>, <a href="#preduedate_0">preduedate</a>, <a href="#postanswerdate_0">postanswerdate</a>, <a href="#solved_0">solved</a>, <a href="#notsolved_0">notsolved</a>, <a href="#while_0">while</a><br><hr>
1.1 damieng 5578: <a name="meta_0"></a><h3>Element <span class="nomtitre">meta</span>
5579: </h3>
5580:
1.2 ! damieng 5581: <div class="documentation"> Custom Metadata for LON-CAPA (as opposed to the HTML meta which should be inside <head>).
1.1 damieng 5582:
5583: Recognized names:
5584: abstract, author, authorspace, avetries, avetries_list, clear, comefrom, comefrom_list, copyright, correct, count, course, course_list, courserestricted, creationdate, dependencies, depth, difficulty, difficulty_list, disc, disc_list, domain, end, field, firstname, generation, goto, goto_list, groupname, helpful, highestgradelevel, hostname, id, keynum, keywords, language, lastname, lastrevisiondate, lowestgradelevel, middlename, mime, modifyinguser, notes, owner, permanentemail, scope, sequsage, sequsage_list, standards, start, stdno, stdno_list, subject, technical, title, url, username, value, version.
5585: </div>
5586:
5587: <div class="indentation">
5588: Attribute <span class="nomattribut">name</span>:
5589: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
5590: </div>
5591: Attribute <span class="nomattribut">content</span>:
5592: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
5593: </div>
5594: </div>
1.2 ! damieng 5595: <br>Parents: <a href="#problem_0">problem</a><br><hr>
1.1 damieng 5596: <a name="parameter_0"></a><h3>Element <span class="nomtitre">parameter</span>
5597: </h3>
5598:
1.2 ! damieng 5599: <div class="documentation"> Parameter for a part
1.1 damieng 5600:
5601: parameter is exactly the same as responseparam, but should appear outside of a response element.
5602: </div>
5603:
5604: <div class="indentation">
5605: Attribute <span class="nomattribut">id</span>:
5606: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
5607: </div>
5608: Attribute <span class="nomattribut">name</span>:
5609: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
5610: </div>
5611: Attribute <span class="nomattribut">type</span>:
5612: <div class="indentation">required<br>type: <tt>xs:string</tt><br>
5613: </div>
5614: Attribute <span class="nomattribut">description</span>:
5615: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
5616: </div>
5617: Attribute <span class="nomattribut">default</span>:
5618: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
5619: </div>
5620: Attribute <span class="nomattribut">display</span>:
5621: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
5622:
1.2 ! damieng 5623: <div class="documentation"> Title displayed on the parameter setting screen.
1.1 damieng 5624: </div>
5625:
5626: </div>
5627: </div>
1.2 ! damieng 5628: <br>Parents: <a href="#problem_0">problem</a>, <a href="#part_0">part</a><br><hr>
1.1 damieng 5629: <a name="displaytitle_0"></a><h3>Element <span class="nomtitre">displaytitle</span>
5630: </h3>
5631:
1.2 ! damieng 5632: <div class="documentation"> This will insert the title of the problem from the metadata of the problem. Only the first displaytitle in a problem will show the title; this allows clean usage of displaytitle in LON-CAPA style files.
1.1 damieng 5633: </div>
5634:
5635: <div class="indentation">
5636: Attribute <span class="nomattribut">style</span>:
5637: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
5638: </div>
5639: </div>
1.2 ! damieng 5640: <br>Parents: <a href="#inserts_0">inserts</a>, <a href="#preduedate_0">preduedate</a>, <a href="#postanswerdate_0">postanswerdate</a><br><hr>
1.1 damieng 5641: <a name="displayduedate_0"></a><h3>Element <span class="nomtitre">displayduedate</span>
5642: </h3>
5643:
1.2 ! damieng 5644: <div class="documentation"> This will insert the current due date if one is set in the document.
1.1 damieng 5645: It is generated to be inside a table of 1x1 elements.
5646: </div>
5647:
5648: <div class="indentation">
5649: Attribute <span class="nomattribut">style</span>:
5650: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
5651:
1.2 ! damieng 5652: <div class="documentation"> style=“plain” Makes the due date appear without any boxing. If the parameter value is other than “plain”, or if the style parameter is omitted, the due date will be displayed within a box.
1.1 damieng 5653: </div>
5654:
5655: </div>
5656: Attribute <span class="nomattribut">format</span>:
5657: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
5658:
1.2 ! damieng 5659: <div class="documentation"> Allows you to control the format of the due date. This is an arbitrary string that can contain any of the following formatting items:
1.1 damieng 5660:
5661: %a Replaced by the abbreviated weekday name according to the current locale.
5662: %A Replaced by the full weekday name according to the current locale.
5663: %b The abbreviated month name according to the current locale.
5664: %B The full month name according to the current locale.
5665: %c The preferred date and time representation for the current locale (the default format string is just this).
5666: %C The century number as a two digit integer
5667: %d The day of the month as a decimal number. Leading zeroes are shown for single digit day numbers.
5668: %D Equivalent to %m/%d/%y
5669: %e Like %d but a leadnig zero is replaced by a space.
5670: %F Equivalent to %Y-%m-%d
5671: %G The four digit year number.
5672: %g The two digit year numbger.
5673: %H The hour as a two digit number in the range 00 thorugh 23.
5674: %I The hour as a two digit number in the range 00 through 12.
5675: %j The day your the year in the range 001 through 366.
5676: %k The hour (24 hour clock), single digits are preceded by a blank.
5677: %l Like %k but using a 12 hour clock.
5678: %m The month as a two digit decimal number in the range 01 through 12.
5679: %M The minute as a two digit decimal number in the range 00 through 59.
5680: %n A newline character.
5681: %p AM or PM depending on the time value.
5682: %P am or pm.
5683: %r The time in am or pm notation.
5684: %R Time in 24 hour notatinon (%H:%M). See also %T below.
5685: %s Number of seconds since midnight of January 1, 1970.
5686: %S The second as a decimal number int the range 00 through 59.
5687: %t A horizontal tab character.
5688: %T The time in 24 hour notation (%H:%M:%S).
5689: %u Day of the week as a decimal number with Monday as 1.
5690: %U The week number of the current year in the range 00 through 53. Week 1 is the week containing the first Sunday of the year.
5691: %V Same as %U but week 1 is the first week with at least 4 days, with Monday being the first day of a week.
5692: %w Day of the week as a decimal integer in the range 0 through 7, Sunday is 0.
5693: %W Week number of the current year in the range 00 through 53, where the first Monday of the year is the first day of week 01.
5694: %x The preferred date notation in the current locale without the time.
5695: %X The preferred time notation in the current locale without the date.
5696: %y The year as a decimal number without the century (range 00 through 99).
5697: %Y The year as a decimal number including the century.
5698: %% A % character.
5699: %+ Date and time in the form returned by the Unix date command.
5700: </div>
5701:
5702: </div>
5703: </div>
1.2 ! damieng 5704: <br>Parents: <a href="#inserts_0">inserts</a>, <a href="#preduedate_0">preduedate</a>, <a href="#postanswerdate_0">postanswerdate</a><br><hr>
1.1 damieng 5705: <a name="preduedate_0"></a><h3>Element <span class="nomtitre">preduedate</span>
5706: </h3>
5707:
1.2 ! damieng 5708: <div class="documentation"> Before Due Date Block
1.1 damieng 5709:
5710: Everything inside is skipped if the problem is after the due date.
5711: </div>
5712:
5713: Can contain text<br><div class="indentation">
5714: Choice between:<ul>
5715: <li>
5716: <a href="#text-with-responses_0">text-with-responses</a><br>
5717: </li>
5718: <li>
5719: <a href="#displayduedate_0">displayduedate</a><br>
5720: </li>
5721: <li>
5722: <a href="#displaytitle_0">displaytitle</a><br>
5723: </li>
5724: <li>
5725: <a href="#parserlib_0">parserlib</a><br>
5726: </li>
5727: <li>
5728: <a href="#scriptlib_0">scriptlib</a><br>
5729: </li>
5730: </ul>
5731: </div>
1.2 ! damieng 5732: <br>Parents: <a href="#inserts_0">inserts</a><br><hr>
1.1 damieng 5733: <a name="postanswerdate_0"></a><h3>Element <span class="nomtitre">postanswerdate</span>
5734: </h3>
5735:
1.2 ! damieng 5736: <div class="documentation"> After Answer Date Block
1.1 damieng 5737:
5738: Everything inside is skipped if the problem is before the answer date.
5739: </div>
5740:
5741: Can contain text<br><div class="indentation">
5742: Choice between:<ul>
5743: <li>
5744: <a href="#text-only_0">text-only</a><br>
5745: </li>
5746: <li>
5747: <a href="#displayduedate_0">displayduedate</a><br>
5748: </li>
5749: <li>
5750: <a href="#displaytitle_0">displaytitle</a><br>
5751: </li>
5752: <li>
5753: <a href="#parserlib_0">parserlib</a><br>
5754: </li>
5755: <li>
5756: <a href="#scriptlib_0">scriptlib</a><br>
5757: </li>
5758: </ul>
5759: </div>
1.2 ! damieng 5760: <br>Parents: <a href="#inserts_0">inserts</a><br><hr>
1.1 damieng 5761: <a name="solved_0"></a><h3>Element <span class="nomtitre">solved</span>
5762: </h3>
5763:
1.2 ! damieng 5764: <div class="documentation"> Block For After Solved
1.1 damieng 5765:
5766: Everything inside is skipped if the problem part is “not solved”.
5767:
5768: Should not be used outside of parts in a problem using parts.
5769: </div>
5770:
5771: Can contain text<br><div class="indentation">
5772: Choice between:<ul>
5773: <li>
5774: <a href="#text-only_0">text-only</a><br>
5775: </li>
5776: <li>
5777: <a href="#inserts_0">inserts</a><br>
5778: </li>
5779: <li>
5780: <a href="#parserlib_0">parserlib</a><br>
5781: </li>
5782: <li>
5783: <a href="#scriptlib_0">scriptlib</a><br>
5784: </li>
5785: </ul>
5786: </div>
1.2 ! damieng 5787: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a><br><hr>
1.1 damieng 5788: <a name="notsolved_0"></a><h3>Element <span class="nomtitre">notsolved</span>
5789: </h3>
5790:
1.2 ! damieng 5791: <div class="documentation"> Block For When Not Solved
1.1 damieng 5792:
5793: Everything inside is skipped if the problem part is “solved”.
5794: </div>
5795:
5796: Can contain text<br><div class="indentation">
5797: Choice between:<ul>
5798: <li>
5799: <a href="#text-with-responses_0">text-with-responses</a><br>
5800: </li>
5801: <li>
5802: <a href="#inserts_0">inserts</a><br>
5803: </li>
5804: <li>
5805: <a href="#parserlib_0">parserlib</a><br>
5806: </li>
5807: <li>
5808: <a href="#scriptlib_0">scriptlib</a><br>
5809: </li>
5810: </ul>
5811: </div>
1.2 ! damieng 5812: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a><br><hr>
1.1 damieng 5813:
5814:
1.2 ! damieng 5815: <div class="documentation"> Non-HTML block elements mixed with text
1.1 damieng 5816: </div>
1.2 ! damieng 5817: <hr>
1.1 damieng 5818:
5819: <a name="import_0"></a><h3>Element <span class="nomtitre">import</span>
5820: </h3>
5821:
1.2 ! damieng 5822: <div class="documentation"> Import a File
1.1 damieng 5823:
5824: This causes the parse to read in the file named in the body of the element and parse it as if the entire text of the file had existed at the location of the element.
5825: </div>
5826:
5827: <div class="indentation">
5828:
5829:
5830: Attribute <span class="nomattribut">id</span>:
5831: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
5832: </div>
5833: Attribute <span class="nomattribut">importmode</span>:
5834: <div class="indentation">optional<br>
5835:
1.2 ! damieng 5836: <div class="documentation"> Import as
1.1 damieng 5837: </div>
5838:
5839:
1.2 ! damieng 5840: Union of types<ul>
! 5841: <li><a href="#perl_0">perl</a></li>
! 5842: <li>
1.1 damieng 5843: Value restriction based on xs:string<ul>
5844: <li><tt>problem</tt></li>
5845: <li><tt>part</tt></li>
5846: </ul>
1.2 ! damieng 5847: </li>
! 5848: </ul>
1.1 damieng 5849:
5850: </div>
5851:
5852:
5853: </div>
1.2 ! damieng 5854: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a>, <a href="#head.misc_0">head.misc</a><br><hr>
1.1 damieng 5855: <a name="block-base_0"></a><h3>Complex type <span class="nomtitre">block-base</span>
5856: </h3>Can contain text<br><div class="indentation">
5857:
1.2 ! damieng 5858: <div class="documentation"> Conditional Block
1.1 damieng 5859:
5860: This has a required argument condition that is evaluated. If the condition is true, everything inside the element is evaluated; otherwise, everything inside the block element is skipped.
5861: </div>
5862:
5863: Attribute <span class="nomattribut">condition</span>:
5864: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
5865:
1.2 ! damieng 5866: <div class="documentation"> Test Condition
1.1 damieng 5867: </div>
5868:
5869: </div>
5870: </div>
5871: <hr>
5872: <a name="block-with-parts_0"></a><h3>Complex type <span class="nomtitre">block-with-parts</span>
5873: </h3>Can contain text<br><div class="indentation">
5874:
5875:
5876: Choice between:<ul>
5877: <li>
5878: <a href="#text-with-parts_0">text-with-parts</a><br>
5879: </li>
5880: <li>
5881: <a href="#inserts_0">inserts</a><br>
5882: </li>
5883: <li>
5884: <a href="#parserlib_0">parserlib</a><br>
5885: </li>
5886: <li>
5887: <a href="#scriptlib_0">scriptlib</a><br>
5888: </li>
5889: </ul>
5890:
5891:
5892: </div>
5893: <hr>
5894: <a name="block-with-responses_0"></a><h3>Complex type <span class="nomtitre">block-with-responses</span>
5895: </h3>Can contain text<br><div class="indentation">
5896:
5897:
5898: Choice between:<ul>
5899: <li>
5900: <a href="#text-with-responses_0">text-with-responses</a><br>
5901: </li>
5902: <li>
5903: <a href="#inserts_0">inserts</a><br>
5904: </li>
5905: <li>
5906: <a href="#parserlib_0">parserlib</a><br>
5907: </li>
5908: <li>
5909: <a href="#scriptlib_0">scriptlib</a><br>
5910: </li>
5911: </ul>
5912:
5913:
5914: </div>
5915: <hr>
5916: <a name="block-with-text_0"></a><h3>Complex type <span class="nomtitre">block-with-text</span>
5917: </h3>Can contain text<br><div class="indentation">
5918:
5919:
5920: Choice between:<ul>
5921: <li>
5922: <a href="#text-only_0">text-only</a><br>
5923: </li>
5924: <li>
5925: <a href="#inserts_0">inserts</a><br>
5926: </li>
5927: <li>
5928: <a href="#parserlib_0">parserlib</a><br>
5929: </li>
5930: <li>
5931: <a href="#scriptlib_0">scriptlib</a><br>
5932: </li>
5933: </ul>
5934:
5935:
5936: </div>
5937: <hr>
5938:
1.2 ! damieng 5939: <div class="documentation"> see also: lonplot--block
1.1 damieng 5940: </div>
1.2 ! damieng 5941: <hr>
1.1 damieng 5942:
5943: <a name="while_0"></a><h3>Element <span class="nomtitre">while</span>
5944: </h3>
5945:
1.2 ! damieng 5946: <div class="documentation"> While Loop Block
1.1 damieng 5947:
5948: This implements a while loop. The required attribute condition is a Perl scriptlet that when evaluated results in a true or false value. If true, the entirety of the text between the whiles is parsed. The condition is tested again, etc. If false, it goes to the next element.
5949: </div>
5950:
5951: Can contain text<br><div class="indentation">
5952: Choice between:<ul>
5953: <li>
5954: <a href="#text-only_0">text-only</a><br>
5955: </li>
5956: <li>
5957: <a href="#inserts_0">inserts</a><br>
5958: </li>
5959: <li>
5960: <a href="#parserlib_0">parserlib</a><br>
5961: </li>
5962: <li>
5963: <a href="#scriptlib_0">scriptlib</a><br>
5964: </li>
5965: </ul>
5966: Attribute <span class="nomattribut">condition</span>:
5967: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
5968:
1.2 ! damieng 5969: <div class="documentation"> Test Condition
1.1 damieng 5970: </div>
5971:
5972: </div>
5973: </div>
1.2 ! damieng 5974: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a><br><hr>
1.1 damieng 5975: <a name="tex_0"></a><h3>Element <span class="nomtitre">tex</span>
5976: </h3>type: <tt>xs:string</tt><br>
5977:
1.2 ! damieng 5978: <div class="documentation"> Print Only Block (using only LaTeX)
1.1 damieng 5979: </div>
5980:
1.2 ! damieng 5981: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a>, <a href="#textfield_0">textfield</a><br><hr>
1.1 damieng 5982: <a name="print_0"></a><h3>Element <span class="nomtitre">print</span>
5983: </h3>
5984:
1.2 ! damieng 5985: <div class="documentation"> Print Only Block (using HTML)
1.1 damieng 5986: </div>
5987:
5988: Can contain text<br><div class="indentation">
5989: Choice between:<ul><li>
5990: <a href="#text-only_0">text-only</a><br>
5991: </li></ul>
5992: </div>
1.2 ! damieng 5993: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a><br><hr>
1.1 damieng 5994: <a name="web_0"></a><h3>Element <span class="nomtitre">web</span>
5995: </h3>
5996:
1.2 ! damieng 5997: <div class="documentation"> Web Only Block
1.1 damieng 5998: </div>
5999:
6000: Can contain text<br><div class="indentation">
6001: Choice between:<ul><li>
6002: <a href="#text-only_0">text-only</a><br>
6003: </li></ul>
6004: </div>
1.2 ! damieng 6005: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a>, <a href="#textfield_0">textfield</a><br><hr>
1.1 damieng 6006: <a name="standalone_0"></a><h3>Element <span class="nomtitre">standalone</span>
6007: </h3>
6008:
1.2 ! damieng 6009: <div class="documentation"> Everything in between the start and end tag is shown only on the web and only if the resource is not part of a course.
1.1 damieng 6010: </div>
6011:
6012: Can contain text<br><div class="indentation">
6013: Choice between:<ul><li>
6014: <a href="#text-only_0">text-only</a><br>
6015: </li></ul>
6016: </div>
1.2 ! damieng 6017: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a><br><hr>
1.1 damieng 6018: <a name="problemtype-base_0"></a><h3>Complex type <span class="nomtitre">problemtype-base</span>
6019: </h3>Can contain text<br><div class="indentation">
6020:
1.2 ! damieng 6021: <div class="documentation"> Problem Type Block
1.1 damieng 6022:
6023: Allows you to show or hide output based on what the problem-type parameter is set to in the course.
6024: Will only show the output text when the problem is set to the type of exam or survey in the course.
6025: </div>
6026:
6027: Attribute <span class="nomattribut">mode</span>:
6028: <div class="indentation">optional<br>
6029:
1.2 ! damieng 6030: Union of types<ul>
! 6031: <li><a href="#perl_0">perl</a></li>
! 6032: <li>
1.1 damieng 6033: Value restriction based on xs:string<ul>
6034: <li><tt>show</tt></li>
6035: <li><tt>hide</tt></li>
6036: </ul>
1.2 ! damieng 6037: </li>
! 6038: </ul>
1.1 damieng 6039:
6040: </div>
6041: Attribute <span class="nomattribut">for</span>:
6042: <div class="indentation">optional<br>
6043:
1.2 ! damieng 6044: <div class="documentation"> When used as type(s)
1.1 damieng 6045:
6046: Comma-separated list of values among:
6047: exam, survey, surveycred, anonsurvey, anonsurveycred, problem, practice, randomizetry
6048: </div>
6049:
6050:
1.2 ! damieng 6051: Union of types<ul>
! 6052: <li><a href="#perl_0">perl</a></li>
! 6053: <li>
1.1 damieng 6054: Value restriction based on xs:string<ul>
6055: <li><tt>(exam|survey|surveycred|anonsurvey|anonsurveycred|problem|practice|randomizetry)(\s*,\s*(exam|survey|surveycred|anonsurvey|anonsurveycred|problem|practice|randomizetry))*</tt></li>
6056: </ul>
1.2 ! damieng 6057: </li>
! 6058: </ul>
1.1 damieng 6059:
6060: </div>
6061: </div>
6062: <hr>
6063: <a name="problemtype-with-parts_0"></a><h3>Complex type <span class="nomtitre">problemtype-with-parts</span>
6064: </h3>Can contain text<br><div class="indentation">
6065:
6066:
6067: Choice between:<ul>
6068: <li>
6069: <a href="#text-with-parts_0">text-with-parts</a><br>
6070: </li>
6071: <li>
6072: <a href="#inserts_0">inserts</a><br>
6073: </li>
6074: <li>
6075: <a href="#parserlib_0">parserlib</a><br>
6076: </li>
6077: <li>
6078: <a href="#scriptlib_0">scriptlib</a><br>
6079: </li>
6080: </ul>
6081:
6082:
6083: </div>
6084: <hr>
6085: <a name="problemtype-with-responses_0"></a><h3>Complex type <span class="nomtitre">problemtype-with-responses</span>
6086: </h3>Can contain text<br><div class="indentation">
6087:
6088:
6089: Choice between:<ul>
6090: <li>
6091: <a href="#text-with-responses_0">text-with-responses</a><br>
6092: </li>
6093: <li>
6094: <a href="#inserts_0">inserts</a><br>
6095: </li>
6096: <li>
6097: <a href="#parserlib_0">parserlib</a><br>
6098: </li>
6099: <li>
6100: <a href="#scriptlib_0">scriptlib</a><br>
6101: </li>
6102: </ul>
6103:
6104:
6105: </div>
6106: <hr>
6107: <a name="problemtype-with-text_0"></a><h3>Complex type <span class="nomtitre">problemtype-with-text</span>
6108: </h3>Can contain text<br><div class="indentation">
6109:
6110:
6111: Choice between:<ul>
6112: <li>
6113: <a href="#text-only_0">text-only</a><br>
6114: </li>
6115: <li>
6116: <a href="#inserts_0">inserts</a><br>
6117: </li>
6118: <li>
6119: <a href="#parserlib_0">parserlib</a><br>
6120: </li>
6121: <li>
6122: <a href="#scriptlib_0">scriptlib</a><br>
6123: </li>
6124: </ul>
6125:
6126:
6127: </div>
6128: <hr>
6129: <a name="randomlist-base_0"></a><h3>Complex type <span class="nomtitre">randomlist-base</span>
6130: </h3>
6131: <div class="indentation">
6132:
1.2 ! damieng 6133: <div class="documentation"> Randomly Parsed Block
1.1 damieng 6134:
6135: The enclosed elements are parsed in a stable random order. The optional attribute show=“N” restricts the number of elements inside that are actually parsed to no more than N. N can equal the total elements inside. The randomlist element can be used to randomize problem parts by wrapping the <part> elements with a randomlist element. Note that when randomlist wraps <part> elements, that all students will work all parts only if show=“N” where N is the total number of parts wrapped. When N is less than the total number of parts wrapped, there will be gaps in the assessment chart, and also in the table of submissions for each student, corresponding to those parts which are never available to that particular student.
6136: </div>
6137:
6138: Attribute <span class="nomattribut">show</span>:
6139: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
6140:
1.2 ! damieng 6141: <div class="documentation"> Maximum Tags to Show
1.1 damieng 6142: </div>
6143:
6144: </div>
6145: </div>
6146: <hr>
6147: <a name="randomlist-with-parts_0"></a><h3>Complex type <span class="nomtitre">randomlist-with-parts</span>
6148: </h3>
6149: <div class="indentation">
6150:
6151:
6152: Choice between:<ul>
6153: <li>
6154: <a href="#part_0">part</a><br>
6155: </li>
6156: <li>
6157: <a href="#responses_0">responses</a><br>
6158: </li>
6159: <li>
6160: <a href="#img_0">img</a><br>
6161: </li>
6162: <li>
6163: <a href="#postanswerdate_0">postanswerdate</a><br>
6164: </li>
6165: <li>
6166: <a href="#preduedate_0">preduedate</a><br>
6167: </li>
6168: <li>
6169: <a name="block_4"></a><h3>Element <span class="nomtitre">block</span>
6170: </h3>type: <a href="#block-with-parts_0">block-with-parts</a><br><br>
6171: </li>
6172: <li>
6173: <a href="#while_0">while</a><br>
6174: </li>
6175: <li>
6176: <a name="problemtype_3"></a><h3>Element <span class="nomtitre">problemtype</span>
6177: </h3>type: <a href="#problemtype-with-parts_0">problemtype-with-parts</a><br><br>
6178: </li>
6179: <li>
6180: <a href="#window_0">window</a><br>
6181: </li>
6182: <li>
6183: <a href="#display_3">display</a><br>
6184: </li>
6185: <li>
6186: <a href="#gnuplot_0">gnuplot</a><br>
6187: </li>
6188: <li>
6189: <a href="#organicstructure_0">organicstructure</a><br>
6190: </li>
6191: <li>
6192: <a href="#instructorcomment_0">instructorcomment</a><br>
6193: </li>
6194: <li>
6195: <a href="#drawimage_0">drawimage</a><br>
6196: </li>
6197: <li>
6198: <a href="#import_0">import</a><br>
6199: </li>
6200: <li>
6201: <a name="section_3"></a><h3>Element <span class="nomtitre">section</span>
6202: </h3>type: <a href="#section-with-parts_0">section-with-parts</a><br><br>
6203: </li>
6204: <li>
6205: <a name="ul_3"></a><h3>Element <span class="nomtitre">ul</span>
6206: </h3>type: <a href="#ul-with-parts_0">ul-with-parts</a><br><br>
6207: </li>
6208: <li>
6209: <a name="ol_3"></a><h3>Element <span class="nomtitre">ol</span>
6210: </h3>type: <a href="#ol-with-parts_0">ol-with-parts</a><br><br>
6211: </li>
6212: <li>
6213: <a name="table_3"></a><h3>Element <span class="nomtitre">table</span>
6214: </h3>type: <a href="#table-with-parts_0">table-with-parts</a><br><br>
6215: </li>
6216: <li>
6217: <a name="dl_3"></a><h3>Element <span class="nomtitre">dl</span>
6218: </h3>type: <a href="#dl-with-parts_0">dl-with-parts</a><br><br>
6219: </li>
6220: <li>
6221: <a href="#object_0">object</a><br>
6222: </li>
6223: <li>
6224: <a href="#applet_0">applet</a><br>
6225: </li>
6226: <li>
6227: <a href="#embed_0">embed</a><br>
6228: </li>
6229: <li>
6230: <a href="#video_0">video</a><br>
6231: </li>
6232: <li>
6233: <a href="#audio_0">audio</a><br>
6234: </li>
6235: <li>
6236: <a href="#canvas_0">canvas</a><br>
6237: </li>
6238: <li>
6239: <a href="#form_1">form</a><br>
6240: </li>
6241: <li>
6242: <a href="#iframe_0">iframe</a><br>
6243: </li>
6244: </ul>
6245:
6246:
6247: </div>
6248: <hr>
6249: <a name="randomlist-with-responses_0"></a><h3>Complex type <span class="nomtitre">randomlist-with-responses</span>
6250: </h3>
6251: <div class="indentation">
6252:
6253:
6254: Choice between:<ul>
6255: <li>
6256: <a href="#responses_0">responses</a><br>
6257: </li>
6258: <li>
6259: <a href="#img_0">img</a><br>
6260: </li>
6261: <li>
6262: <a href="#postanswerdate_0">postanswerdate</a><br>
6263: </li>
6264: <li>
6265: <a href="#preduedate_0">preduedate</a><br>
6266: </li>
6267: <li>
6268: <a name="block_5"></a><h3>Element <span class="nomtitre">block</span>
6269: </h3>type: <a href="#block-with-responses_0">block-with-responses</a><br><br>
6270: </li>
6271: <li>
6272: <a href="#while_0">while</a><br>
6273: </li>
6274: <li>
6275: <a name="problemtype_4"></a><h3>Element <span class="nomtitre">problemtype</span>
6276: </h3>type: <a href="#problemtype-with-responses_0">problemtype-with-responses</a><br><br>
6277: </li>
6278: <li>
6279: <a href="#window_0">window</a><br>
6280: </li>
6281: <li>
6282: <a href="#display_3">display</a><br>
6283: </li>
6284: <li>
6285: <a href="#gnuplot_0">gnuplot</a><br>
6286: </li>
6287: <li>
6288: <a href="#organicstructure_0">organicstructure</a><br>
6289: </li>
6290: <li>
6291: <a href="#instructorcomment_0">instructorcomment</a><br>
6292: </li>
6293: <li>
6294: <a href="#drawimage_0">drawimage</a><br>
6295: </li>
6296: <li>
6297: <a href="#import_0">import</a><br>
6298: </li>
6299: <li>
6300: <a name="section_4"></a><h3>Element <span class="nomtitre">section</span>
6301: </h3>type: <a href="#section-with-responses_0">section-with-responses</a><br><br>
6302: </li>
6303: <li>
6304: <a name="ul_4"></a><h3>Element <span class="nomtitre">ul</span>
6305: </h3>type: <a href="#ul-with-responses_0">ul-with-responses</a><br><br>
6306: </li>
6307: <li>
6308: <a name="ol_4"></a><h3>Element <span class="nomtitre">ol</span>
6309: </h3>type: <a href="#ol-with-responses_0">ol-with-responses</a><br><br>
6310: </li>
6311: <li>
6312: <a name="table_4"></a><h3>Element <span class="nomtitre">table</span>
6313: </h3>type: <a href="#table-with-responses_0">table-with-responses</a><br><br>
6314: </li>
6315: <li>
6316: <a name="dl_4"></a><h3>Element <span class="nomtitre">dl</span>
6317: </h3>type: <a href="#dl-with-responses_0">dl-with-responses</a><br><br>
6318: </li>
6319: <li>
6320: <a href="#object_0">object</a><br>
6321: </li>
6322: <li>
6323: <a href="#applet_0">applet</a><br>
6324: </li>
6325: <li>
6326: <a href="#embed_0">embed</a><br>
6327: </li>
6328: <li>
6329: <a href="#video_0">video</a><br>
6330: </li>
6331: <li>
6332: <a href="#audio_0">audio</a><br>
6333: </li>
6334: <li>
6335: <a href="#canvas_0">canvas</a><br>
6336: </li>
6337: <li>
6338: <a href="#form_1">form</a><br>
6339: </li>
6340: <li>
6341: <a href="#iframe_0">iframe</a><br>
6342: </li>
6343: </ul>
6344:
6345:
6346: </div>
6347: <hr>
6348: <a name="randomlist-with-text_0"></a><h3>Complex type <span class="nomtitre">randomlist-with-text</span>
6349: </h3>
6350: <div class="indentation">
6351:
6352:
6353: Choice between:<ul>
6354: <li>
6355: <a href="#img_0">img</a><br>
6356: </li>
6357: <li>
6358: <a href="#postanswerdate_0">postanswerdate</a><br>
6359: </li>
6360: <li>
6361: <a href="#preduedate_0">preduedate</a><br>
6362: </li>
6363: <li>
6364: <a name="block_6"></a><h3>Element <span class="nomtitre">block</span>
6365: </h3>type: <a href="#block-with-text_0">block-with-text</a><br><br>
6366: </li>
6367: <li>
6368: <a href="#while_0">while</a><br>
6369: </li>
6370: <li>
6371: <a name="problemtype_5"></a><h3>Element <span class="nomtitre">problemtype</span>
6372: </h3>type: <a href="#problemtype-with-text_0">problemtype-with-text</a><br><br>
6373: </li>
6374: <li>
6375: <a href="#window_0">window</a><br>
6376: </li>
6377: <li>
6378: <a href="#display_3">display</a><br>
6379: </li>
6380: <li>
6381: <a href="#gnuplot_0">gnuplot</a><br>
6382: </li>
6383: <li>
6384: <a href="#organicstructure_0">organicstructure</a><br>
6385: </li>
6386: <li>
6387: <a href="#instructorcomment_0">instructorcomment</a><br>
6388: </li>
6389: <li>
6390: <a href="#drawimage_0">drawimage</a><br>
6391: </li>
6392: <li>
6393: <a href="#import_0">import</a><br>
6394: </li>
6395: <li>
6396: <a name="section_5"></a><h3>Element <span class="nomtitre">section</span>
6397: </h3>type: <a href="#section-with-text_0">section-with-text</a><br><br>
6398: </li>
6399: <li>
6400: <a name="ul_5"></a><h3>Element <span class="nomtitre">ul</span>
6401: </h3>type: <a href="#ul-with-text_0">ul-with-text</a><br><br>
6402: </li>
6403: <li>
6404: <a name="ol_5"></a><h3>Element <span class="nomtitre">ol</span>
6405: </h3>type: <a href="#ol-with-text_0">ol-with-text</a><br><br>
6406: </li>
6407: <li>
6408: <a name="table_5"></a><h3>Element <span class="nomtitre">table</span>
6409: </h3>type: <a href="#table-with-text_0">table-with-text</a><br><br>
6410: </li>
6411: <li>
6412: <a name="dl_5"></a><h3>Element <span class="nomtitre">dl</span>
6413: </h3>type: <a href="#dl-with-text_0">dl-with-text</a><br><br>
6414: </li>
6415: <li>
6416: <a href="#object_0">object</a><br>
6417: </li>
6418: <li>
6419: <a href="#applet_0">applet</a><br>
6420: </li>
6421: <li>
6422: <a href="#embed_0">embed</a><br>
6423: </li>
6424: <li>
6425: <a href="#video_0">video</a><br>
6426: </li>
6427: <li>
6428: <a href="#audio_0">audio</a><br>
6429: </li>
6430: <li>
6431: <a href="#canvas_0">canvas</a><br>
6432: </li>
6433: <li>
6434: <a href="#form_1">form</a><br>
6435: </li>
6436: <li>
6437: <a href="#iframe_0">iframe</a><br>
6438: </li>
6439: </ul>
6440:
6441:
6442: </div>
6443: <hr>
6444: <a name="languageblock_0"></a><h3>Element <span class="nomtitre">languageblock</span>
6445: </h3>
6446:
1.2 ! damieng 6447: <div class="documentation"> This declares the intent to provide content that can be rendered in the set of languages in the include specification but not in the exclude specification. If a currently preferred language is in the include list the content in the <languageblock>...</languageblock> is rendered If the currently preferred language is in the exclude list, the content in the <languageblock>..</languageblock is not rendered.
1.1 damieng 6448: </div>
6449:
6450: Can contain text<br><div class="indentation">
6451: Choice between:<ul><li>
6452: <a href="#text-only_0">text-only</a><br>
6453: </li></ul>
6454: Attribute <span class="nomattribut">include</span>:
6455: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
6456: </div>
6457: Attribute <span class="nomattribut">exclude</span>:
6458: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
6459: </div>
6460: </div>
1.2 ! damieng 6461: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a><br><hr>
1.1 damieng 6462: <a name="translated_0"></a><h3>Element <span class="nomtitre">translated</span>
6463: </h3>
6464:
1.2 ! damieng 6465: <div class="documentation"> <translated> starts a block of a resource that has multiple translations.
1.1 damieng 6466: See the <lang> element as well.
6467: When </translated> is encountered if there is a translation for the currently preferred language, that is rendered inthe web/tex/webgrade targets. Otherwise, the default text is rendered.
6468: Note that <lang> is only registered for the duration of the <translated>...</translated> block.
6469: </div>
6470:
6471: Can contain text<br><div class="indentation">
6472: Choice between:<ul>
6473: <li>
6474: <a href="#text-only_0">text-only</a><br>
6475: </li>
6476: <li>
6477: <a href="#lang_0">lang</a><br>
6478: </li>
6479: </ul>
6480: </div>
1.2 ! damieng 6481: <br>Parents: <a href="#inlines_0">inlines</a><br><hr>
1.1 damieng 6482: <a name="lang_0"></a><h3>Element <span class="nomtitre">lang</span>
6483: </h3>
6484:
1.2 ! damieng 6485: <div class="documentation"> Specifies that the block contained within it is a translation for a specific language specified by the 'which' attribute. The 'other' attribute can be used by itself or in conjunction with which to specify this element _may_ be used as a translation for some list of languages. e.g.:
1.1 damieng 6486: <lang which='senisoUS' other='senisoCA,senisoAU,seniso'>
6487: specifying that the block provides a translation for US (primary) Canadian, Australian and UK English.
6488: </div>
6489:
6490: Can contain text<br><div class="indentation">
6491: Choice between:<ul><li>
6492: <a href="#text-only_0">text-only</a><br>
6493: </li></ul>
6494: Attribute <span class="nomattribut">which</span>:
6495: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
6496: </div>
6497: Attribute <span class="nomattribut">other</span>:
6498: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
6499: </div>
6500: </div>
1.2 ! damieng 6501: <br>Parents: <a href="#translated_0">translated</a><br><hr>
1.1 damieng 6502: <a name="window_0"></a><h3>Element <span class="nomtitre">window</span>
6503: </h3>
6504:
1.2 ! damieng 6505: <div class="documentation"> Text In Separate Window
1.1 damieng 6506:
6507: This creates a link that when clicked shows the intervening information in a pop-up window. By default the window will be 500 pixels wide and 200 pixels tall, and the link text will be a superscript * (so as to look like a footnote). These can be changed using the attributes.
6508: When printing, the included text will get turned into a real footnote.
6509: </div>
6510:
6511: Can contain text<br><div class="indentation">
6512: Choice between:<ul>
6513: <li>
6514: <a href="#text-only_0">text-only</a><br>
6515: </li>
6516: <li>
6517: <a href="#inserts_0">inserts</a><br>
6518: </li>
6519: </ul>
6520: Attribute <span class="nomattribut">linktext</span>:
6521: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
6522:
1.2 ! damieng 6523: <div class="documentation"> Text of Link
1.1 damieng 6524: </div>
6525:
6526: </div>
6527: Attribute <span class="nomattribut">height</span>:
6528: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
6529: </div>
6530: Attribute <span class="nomattribut">width</span>:
6531: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
6532: </div>
6533: Attribute <span class="nomattribut">printtext</span>:
6534: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
6535:
1.2 ! damieng 6536: <div class="documentation"> Printed text (optional)
1.1 damieng 6537: </div>
6538:
6539: </div>
6540: </div>
1.2 ! damieng 6541: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a><br><hr>
1.1 damieng 6542: <a name="windowlink_0"></a><h3>Element <span class="nomtitre">windowlink</span>
6543: </h3>
6544:
1.2 ! damieng 6545: <div class="documentation"> This creates a link to a resource that comes up in a pop-up window.
1.1 damieng 6546: The link will be the intervening information between the start and the end tag.
6547: By default the window will be 500 pixels wide and 200 pixels tall.
6548: </div>
6549:
6550: Can contain text<br><div class="indentation">
6551: Choice between:<ul><li>
6552: <a href="#text-only_0">text-only</a><br>
6553: </li></ul>
6554: Attribute <span class="nomattribut">href</span>:
6555: <div class="indentation">optional<br>type: <tt>xs:anyURI</tt><br>
6556: </div>
6557: Attribute <span class="nomattribut">height</span>:
6558: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
6559:
1.2 ! damieng 6560: <div class="documentation"> starting height of the popup window
1.1 damieng 6561: </div>
6562:
6563: </div>
6564: Attribute <span class="nomattribut">width</span>:
6565: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
6566:
1.2 ! damieng 6567: <div class="documentation"> starting width of the popup window
1.1 damieng 6568: </div>
6569:
6570: </div>
6571: </div>
1.2 ! damieng 6572: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a><br><hr>
1.1 damieng 6573: <a name="togglebox_0"></a><h3>Element <span class="nomtitre">togglebox</span>
6574: </h3>
6575:
1.2 ! damieng 6576: <div class="documentation"> This creates a toggling box that can be clicked open and close.
1.1 damieng 6577: When printing, the included text will be rendered in a visible box.
6578: </div>
6579:
6580: Can contain text<br><div class="indentation">
6581: Choice between:<ul><li>
6582: <a href="#text-only_0">text-only</a><br>
6583: </li></ul>
6584: Attribute <span class="nomattribut">heading</span>:
6585: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
6586:
1.2 ! damieng 6587: <div class="documentation"> heading text of the box, by default no heading
1.1 damieng 6588: </div>
6589:
6590: </div>
6591: Attribute <span class="nomattribut">headerbg</span>:
6592: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
6593:
1.2 ! damieng 6594: <div class="documentation"> background color of the header, by default white
1.1 damieng 6595: </div>
6596:
6597: </div>
6598: Attribute <span class="nomattribut">showtext</span>:
6599: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
6600:
1.2 ! damieng 6601: <div class="documentation"> the text that appears to make the box visible, by default the translation of ’show’
1.1 damieng 6602: </div>
6603:
6604: </div>
6605: Attribute <span class="nomattribut">hidetext</span>:
6606: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
6607:
1.2 ! damieng 6608: <div class="documentation"> the text that appears to hide the box again, by default the translation of ’hide’
1.1 damieng 6609: </div>
6610:
6611: </div>
6612: </div>
1.2 ! damieng 6613: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a><br><hr>
1.1 damieng 6614: <a name="instructorcomment_0"></a><h3>Element <span class="nomtitre">instructorcomment</span>
6615: </h3>
6616:
1.2 ! damieng 6617: <div class="documentation"> Comment that is hidden if form.instructor_comments='hide'.
1.1 damieng 6618: </div>
6619:
6620: Can contain text<br><div class="indentation">
6621: Choice between:<ul><li>
6622: <a href="#text-only_0">text-only</a><br>
6623: </li></ul>
6624: </div>
1.2 ! damieng 6625: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a><br><hr>
1.1 damieng 6626: <a name="comment_0"></a><h3>Element <span class="nomtitre">comment</span>
6627: </h3>
6628:
1.2 ! damieng 6629: <div class="documentation"> Allows one to comment out sections of code in a balanced manner, or to provide a comment description of how a problem works.
1.1 damieng 6630: The content is ignored.
6631: </div>
6632:
6633: Can contain text<br><div class="indentation">
6634: Choice between:<ul>
6635: <li>
6636: <a href="#part_0">part</a><br>
6637: </li>
6638: <li>
6639: <a href="#text-with-responses_0">text-with-responses</a><br>
6640: </li>
6641: </ul>
6642: </div>
1.2 ! damieng 6643: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a><br><hr>
1.1 damieng 6644: <a name="organicstructure_0"></a><h3>Element <span class="nomtitre">organicstructure</span>
6645: </h3>
6646:
6647: <div class="documentation">Organic Structure</div>
6648:
6649: <div class="indentation">
6650: Attribute <span class="nomattribut">width</span>:
6651: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
6652:
1.2 ! damieng 6653: <div class="documentation"> Width (pixels)
1.1 damieng 6654: </div>
6655:
6656: </div>
6657: Attribute <span class="nomattribut">texwidth</span>:
6658: <div class="indentation">optional<br>type: <a href="#decimal-or-perl_0">decimal-or-perl</a><br>
6659:
1.2 ! damieng 6660: <div class="documentation"> TeXwidth (mm)
1.1 damieng 6661: </div>
6662:
6663: </div>
6664: Attribute <span class="nomattribut">molecule</span>:
6665: <div class="indentation">required<br>type: <tt>xs:string</tt><br>
6666:
1.2 ! damieng 6667: <div class="documentation"> JME string
1.1 damieng 6668: </div>
6669:
6670: </div>
6671: Attribute <span class="nomattribut">options</span>:
6672: <div class="indentation">optional<br>
6673:
1.2 ! damieng 6674: <div class="documentation"> Comma-separated list of options:
1.1 damieng 6675: reaction: is a reaction (note: setting this option is only useful for the editor, it does not change the resulting image)
6676: border: draws a border around the image
6677: </div>
6678:
6679:
1.2 ! damieng 6680: Union of types<ul>
! 6681: <li><a href="#perl_0">perl</a></li>
! 6682: <li>
1.1 damieng 6683: Value restriction based on xs:string<ul>
6684: <li><tt>reaction|border|reaction\s*,\s*border|border\s*,\s*reaction</tt></li>
6685: </ul>
1.2 ! damieng 6686: </li>
! 6687: </ul>
1.1 damieng 6688:
6689: </div>
6690: </div>
1.2 ! damieng 6691: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a><br><hr>
1.1 damieng 6692: <a name="drawimage_0"></a><h3>Element <span class="nomtitre">drawimage</span>
6693: </h3>
6694:
1.2 ! damieng 6695: <div class="documentation"> Draws an image with the specified objects using pixel coordinates (text, line, rectangle, arc, fill, polygon, image).
1.1 damieng 6696: </div>
6697:
6698: <div class="indentation">
6699: Choice between:<ul>
6700: <li>
6701: <a name="text_1"></a><h3>Element <span class="nomtitre">text</span>
6702: </h3>
6703: Can contain text<br><div class="indentation">
6704: Attribute <span class="nomattribut">x</span>:
6705: <div class="indentation">required<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
6706: </div>
6707: Attribute <span class="nomattribut">y</span>:
6708: <div class="indentation">required<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
6709: </div>
6710: Attribute <span class="nomattribut">font</span>:
6711: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
6712: </div>
6713: Attribute <span class="nomattribut">color</span>:
6714: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
6715: </div>
6716: Attribute <span class="nomattribut">direction</span>:
6717: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
6718: </div>
6719: </div>
6720: <br>
6721: </li>
6722: <li>
6723: <a name="line_0"></a><h3>Element <span class="nomtitre">line</span>
6724: </h3>
6725: <div class="indentation">
6726: Attribute <span class="nomattribut">x1</span>:
6727: <div class="indentation">required<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
6728: </div>
6729: Attribute <span class="nomattribut">y1</span>:
6730: <div class="indentation">required<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
6731: </div>
6732: Attribute <span class="nomattribut">x2</span>:
6733: <div class="indentation">required<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
6734: </div>
6735: Attribute <span class="nomattribut">y2</span>:
6736: <div class="indentation">required<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
6737: </div>
6738: Attribute <span class="nomattribut">color</span>:
6739: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
6740: </div>
6741: Attribute <span class="nomattribut">thickness</span>:
6742: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
6743: </div>
6744: </div>
6745: <br>
6746: </li>
6747: <li>
6748: <a name="rectangle_1"></a><h3>Element <span class="nomtitre">rectangle</span>
6749: </h3>
6750: <div class="indentation">
6751: Attribute <span class="nomattribut">x1</span>:
6752: <div class="indentation">required<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
6753: </div>
6754: Attribute <span class="nomattribut">y1</span>:
6755: <div class="indentation">required<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
6756: </div>
6757: Attribute <span class="nomattribut">x2</span>:
6758: <div class="indentation">required<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
6759: </div>
6760: Attribute <span class="nomattribut">y2</span>:
6761: <div class="indentation">required<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
6762: </div>
6763: Attribute <span class="nomattribut">color</span>:
6764: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
6765: </div>
6766: Attribute <span class="nomattribut">thickness</span>:
6767: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
6768: </div>
6769: Attribute <span class="nomattribut">filled</span>:
6770: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
6771: </div>
6772: </div>
6773: <br>
6774: </li>
6775: <li>
6776: <a name="arc_0"></a><h3>Element <span class="nomtitre">arc</span>
6777: </h3>
6778: <div class="indentation">
6779: Attribute <span class="nomattribut">x</span>:
6780: <div class="indentation">required<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
6781: </div>
6782: Attribute <span class="nomattribut">y</span>:
6783: <div class="indentation">required<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
6784: </div>
6785: Attribute <span class="nomattribut">width</span>:
6786: <div class="indentation">required<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
6787: </div>
6788: Attribute <span class="nomattribut">height</span>:
6789: <div class="indentation">required<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
6790: </div>
6791: Attribute <span class="nomattribut">start</span>:
6792: <div class="indentation">optional<br>type: <a href="#real-or-perl_0">real-or-perl</a><br>
6793: </div>
6794: Attribute <span class="nomattribut">end</span>:
6795: <div class="indentation">optional<br>type: <a href="#real-or-perl_0">real-or-perl</a><br>
6796: </div>
6797: Attribute <span class="nomattribut">color</span>:
6798: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
6799: </div>
6800: Attribute <span class="nomattribut">thickness</span>:
6801: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
6802: </div>
6803: Attribute <span class="nomattribut">filled</span>:
6804: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
6805: </div>
6806: </div>
6807: <br>
6808: </li>
6809: <li>
6810: <a name="fill_0"></a><h3>Element <span class="nomtitre">fill</span>
6811: </h3>
6812: <div class="indentation">
6813: Attribute <span class="nomattribut">x</span>:
6814: <div class="indentation">required<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
6815: </div>
6816: Attribute <span class="nomattribut">y</span>:
6817: <div class="indentation">required<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
6818: </div>
6819: Attribute <span class="nomattribut">color</span>:
6820: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
6821: </div>
6822: </div>
6823: <br>
6824: </li>
6825: <li>
6826: <a name="polygon_1"></a><h3>Element <span class="nomtitre">polygon</span>
6827: </h3>
6828: <div class="indentation">
6829: Choice between:<ul><li>
6830: <a name="point_0"></a><h3>Element <span class="nomtitre">point</span>
6831: </h3>
6832: <div class="indentation">
6833: Attribute <span class="nomattribut">x</span>:
6834: <div class="indentation">required<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
6835: </div>
6836: Attribute <span class="nomattribut">y</span>:
6837: <div class="indentation">required<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
6838: </div>
6839: </div>
6840: <br>
6841: </li></ul>
6842: Attribute <span class="nomattribut">color</span>:
6843: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
6844: </div>
6845: Attribute <span class="nomattribut">filled</span>:
6846: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
6847: </div>
6848: Attribute <span class="nomattribut">open</span>:
6849: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
6850: </div>
6851: Attribute <span class="nomattribut">thickness</span>:
6852: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
6853: </div>
6854: </div>
6855: <br>
6856: </li>
6857: <li>
6858: <a name="image_1"></a><h3>Element <span class="nomtitre">image</span>
6859: </h3>
6860: <div class="indentation">
6861:
6862:
6863: Attribute <span class="nomattribut">x</span>:
6864: <div class="indentation">required<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
6865: </div>
6866: Attribute <span class="nomattribut">y</span>:
6867: <div class="indentation">required<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
6868: </div>
6869: Attribute <span class="nomattribut">clipx</span>:
6870: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
6871: </div>
6872: Attribute <span class="nomattribut">clipy</span>:
6873: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
6874: </div>
6875: Attribute <span class="nomattribut">clipwidth</span>:
6876: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
6877: </div>
6878: Attribute <span class="nomattribut">clipheight</span>:
6879: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
6880: </div>
6881: Attribute <span class="nomattribut">scaledwidth</span>:
6882: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
6883: </div>
6884: Attribute <span class="nomattribut">scaledheight</span>:
6885: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
6886: </div>
6887: Attribute <span class="nomattribut">transparent</span>:
6888: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
6889: </div>
6890:
6891:
6892: </div>
6893: <br>
6894: </li>
6895: </ul>
6896: Attribute <span class="nomattribut">width</span>:
6897: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
6898: </div>
6899: Attribute <span class="nomattribut">height</span>:
6900: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
6901: </div>
6902: Attribute <span class="nomattribut">bgcolor</span>:
6903: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
6904: </div>
6905: </div>
1.2 ! damieng 6906: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a><br><hr>
1.1 damieng 6907:
6908:
1.2 ! damieng 6909: <div class="documentation"> Non-HTML inline elements mixed with text
1.1 damieng 6910: </div>
1.2 ! damieng 6911: <hr>
1.1 damieng 6912:
6913: <a name="display_3"></a><h3>Element <span class="nomtitre">display</span>
6914: </h3>type: <tt>xs:string</tt><br>
6915:
1.2 ! damieng 6916: <div class="documentation"> Display Script Result Block
1.1 damieng 6917:
6918: The intervening Perl script is evaluated in the safe space and the return value of the script replaces the entire element.
6919: </div>
6920:
1.2 ! damieng 6921: <br>Parents: <a href="#inlines_0">inlines</a><br><hr>
1.1 damieng 6922: <a name="m_0"></a><h3>Element <span class="nomtitre">m</span>
6923: </h3>
6924:
1.2 ! damieng 6925: <div class="documentation"> The inside text is LaTeX, and is converted to HTML (or MathML) on the fly.
1.1 damieng 6926: This element is normally used for math, and the text should start and end with either $ or $$.
6927: </div>
6928:
6929: Can contain text<br><div class="indentation">
6930: Attribute <span class="nomattribut">display</span>:
6931: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
6932:
1.2 ! damieng 6933: <div class="documentation"> Option to force the math rendering for this element.
1.1 damieng 6934: </div>
6935:
6936: </div>
6937: Attribute <span class="nomattribut">eval</span>:
6938: <div class="indentation">optional<br>type: <a href="#onoff-or-perl_0">onoff-or-perl</a><br>
6939:
1.2 ! damieng 6940: <div class="documentation"> Perl variables inside the element will be evaluated if this attribute value is "on".
1.1 damieng 6941: </div>
6942:
6943: </div>
6944: </div>
1.2 ! damieng 6945: <br>Parents: <a href="#inlines_0">inlines</a><br><hr>
1.1 damieng 6946: <a name="lm_0"></a><h3>Element <span class="nomtitre">lm</span>
6947: </h3>
6948:
1.2 ! damieng 6949: <div class="documentation"> Inline math with the LON-CAPA syntax (use <m> for LaTeX math).
1.1 damieng 6950: Perl variables are evaluated.
6951: The expression is interpreted with implicit operators (for multiplication or units).
6952: </div>
6953:
6954: <div class="indentation">
6955:
6956:
6957: Attribute <span class="nomattribut">mode</span>:
6958: <div class="indentation">optional<br>
6959:
1.2 ! damieng 6960: <div class="documentation"> In symbols mode, names are interpreted as constants or variables.
1.1 damieng 6961: In units mode, names are interpreted as constants or units.
6962: </div>
6963:
6964:
6965: Value restriction based on xs:string<ul>
6966: <li><tt>symbols</tt></li>
6967: <li><tt>units</tt></li>
6968: </ul>
6969:
6970: </div>
6971:
6972:
6973: </div>
1.2 ! damieng 6974: <br>Parents: <a href="#inlines_0">inlines</a><br><hr>
1.1 damieng 6975: <a name="num_0"></a><h3>Element <span class="nomtitre">num</span>
6976: </h3>
6977:
1.2 ! damieng 6978: <div class="documentation"> Typesets a number formatted in scientific notation, fixed point, fixed point with commas, fixed point with commas and dollar sign, or in significant digits.
1.1 damieng 6979:
6980: <num format="2E">31454678</num> results in 3.15 x 10^7
6981: <num format="2f">31454678</num> results in 31454678.00
6982: <num format="4g">31454678</num> results in 3.145 x 10^7
6983: <num format="4g">314.54678</num> results in 314.5
6984: <num format=",2f">31454678</num> results in 31,454,678.00
6985: <num format="$2f">31454678</num> results in $31,454,678.00
6986: <num format="2s">31454678</num> results in 31000000
6987: <num format=",2s">31454678</num> results in 31,000,000
6988: </div>
6989:
6990: Can contain text<br><div class="indentation">
6991: Attribute <span class="nomattribut">format</span>:
6992: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
6993: </div>
6994: </div>
1.2 ! damieng 6995: <br>Parents: <a href="#inlines_0">inlines</a><br><hr>
1.1 damieng 6996: <a name="algebra_0"></a><h3>Element <span class="nomtitre">algebra</span>
6997: </h3>
6998:
1.2 ! damieng 6999: <div class="documentation"> Typesets algebraic expressions.
1.1 damieng 7000: Expressions are displayed using the math expression display mechanism defined in the user’s preferences. The default is tth.
7001: </div>
7002:
7003: Can contain text<br><div class="indentation">
7004: Attribute <span class="nomattribut">style</span>:
7005: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
7006: </div>
7007: Attribute <span class="nomattribut">display</span>:
7008: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
7009:
1.2 ! damieng 7010: <div class="documentation"> Option to force the math rendering for this element.
1.1 damieng 7011: </div>
7012:
7013: </div>
7014: </div>
1.2 ! damieng 7015: <br>Parents: <a href="#inlines_0">inlines</a><br><hr>
1.1 damieng 7016: <a name="chem_0"></a><h3>Element <span class="nomtitre">chem</span>
7017: </h3>type: <tt>xs:string</tt><br>
7018:
1.2 ! damieng 7019: <div class="documentation"> Typesets chemical equation
1.1 damieng 7020: </div>
7021:
1.2 ! damieng 7022: <br>Parents: <a href="#inlines_0">inlines</a><br><hr>
1.1 damieng 7023: <a name="parse_0"></a><h3>Element <span class="nomtitre">parse</span>
7024: </h3>type: <tt>xs:string</tt><br>
7025:
1.2 ! damieng 7026: <div class="documentation"> Evaluates the Perl content, then parses it as if it was part of the XML document and displays the result.
1.1 damieng 7027:
7028: Warning: using this element (or the xmlparse function) will reduce the document future interoperability, because dynamically generated XML cannot be automatically converted.
7029: </div>
7030:
1.2 ! damieng 7031: <br>Parents: <a href="#inlines_0">inlines</a><br><hr>
1.1 damieng 7032: <a name="displayweight_0"></a><h3>Element <span class="nomtitre">displayweight</span>
7033: </h3>
7034:
1.2 ! damieng 7035: <div class="documentation"> Displays the number of points awarded for this problem or problem part.
1.1 damieng 7036: </div>
7037:
1.2 ! damieng 7038: <br>Parents: <a href="#inlines_0">inlines</a><br><hr>
1.1 damieng 7039: <a name="displaystudentphoto_0"></a><h3>Element <span class="nomtitre">displaystudentphoto</span>
7040: </h3>
7041: <div class="indentation">
7042: Attribute <span class="nomattribut">width</span>:
7043: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
7044: </div>
7045: Attribute <span class="nomattribut">height</span>:
7046: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
7047: </div>
7048: Attribute <span class="nomattribut">align</span>:
7049: <div class="indentation">optional<br>
7050:
1.2 ! damieng 7051: <div class="documentation"> note: this attribute is not supported in HTML5, css should be used instead !
1.1 damieng 7052: </div>
7053:
7054:
1.2 ! damieng 7055: Union of types<ul>
! 7056: <li><a href="#perl_0">perl</a></li>
! 7057: <li>
1.1 damieng 7058: Value restriction based on xs:string<ul>
7059: <li><tt>left</tt></li>
7060: <li><tt>right</tt></li>
7061: <li><tt>middle</tt></li>
7062: <li><tt>top</tt></li>
7063: <li><tt>bottom</tt></li>
7064: </ul>
1.2 ! damieng 7065: </li>
! 7066: </ul>
1.1 damieng 7067:
7068: </div>
7069: </div>
1.2 ! damieng 7070: <br>Parents: <a href="#inlines_0">inlines</a><br><hr>
1.1 damieng 7071:
7072:
7073:
1.2 ! damieng 7074: <div class="documentation"> HTML
1.1 damieng 7075: </div>
1.2 ! damieng 7076: <hr>
1.1 damieng 7077:
7078: <a name="coreattrs_0"></a><h3>Attribute group: <span class="nomtitre">coreattrs</span>
7079: </h3>
7080:
1.2 ! damieng 7081: <div class="documentation"> core attributes common to most HTML elements
1.1 damieng 7082: </div>
7083:
7084: Attribute <span class="nomattribut">id</span>:
7085: <div class="indentation">optional<br>type: <tt>xs:ID</tt><br>
7086:
1.2 ! damieng 7087: <div class="documentation"> This attribute defines a unique identifier (ID) which must be unique in the whole document. Its purpose is to identify the element when linking (using a fragment identifier), scripting, or styling (with CSS).
1.1 damieng 7088:
7089: Usage note:
7090: - This attribute's value is an opaque string: this means that web author must not use it to convey any information. Particular meaning, for example semantic meaning, must not be derived from the string.
7091: - This attribute's value must not contain white spaces. Browsers treat non-conforming IDs that contains white spaces as if the white space is part of the ID. In contrast to the class attribute, which allows space-separated values, elements can only have one single ID defined through the id attribute. Note that an element may have several IDs, but the others should be set by another means, such as via a script interfacing with the DOM interface of the element.
7092: - Using characters except ASCII letters and digits, '_', '-' and '.' may cause compatibility problems, as they weren't allowed in HTML 4. Though this restriction has been lifted in HTML 5, an ID should start with a letter for compatibility.
7093: </div>
7094:
7095: </div>
7096: Attribute <span class="nomattribut">class</span>:
7097: <div class="indentation">optional<br>type: <tt>xs:NMTOKENS</tt><br>
7098:
1.2 ! damieng 7099: <div class="documentation"> This attribute is a space-separated list of the classes of the element. Classes allows CSS and Javascript to select and access specific elements via the class selectors or functions like the DOM method document.getElementsByClassName.
1.1 damieng 7100:
7101: Usage note: Though the specification doesn't put requirements on the name of classes, web developers are encouraged to use names that describe the semantic purpose of the element, rather to the presentation of the element (e.g., attribute to describe an attribute rather than italics, although an element of this class may be presented by italics). Semantic names remain logical even if the presentation of the page changes.
7102: </div>
7103:
7104: </div>
7105: Attribute <span class="nomattribut">style</span>:
7106: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
7107:
1.2 ! damieng 7108: <div class="documentation"> This attribute contains CSS styling declarations to be applied to the element. Note that it is recommended for styles to be defined in a separate file or files. This attribute and the <style> element have mainly the purpose of allowing for quick styling, for example for testing purposes.
1.1 damieng 7109:
7110: Usage note: This attribute must not be used to convey semantic information. Even if all styling is removed, a page should remain semantically correct. Typically it shouldn't be used to hide irrelevant information; this should be done using the hidden attribute.
7111: </div>
7112:
7113: </div>
1.2 ! damieng 7114: <br>Parents: <a href="#headerContent_0">headerContent</a>, <a href="#body_0">body</a>, <a href="#section-base_0">section-base</a>, <a href="#header_0">header</a>, <a href="#footer_0">footer</a>, <a href="#aside_0">aside</a>, <a href="#div-base_0">div-base</a>, <a href="#p-base_0">p-base</a>, <a href="#ul-base_0">ul-base</a>, <a href="#ol-base_0">ol-base</a>, <a href="#li-base_0">li-base</a>, <a href="#dl-base_0">dl-base</a>, <a href="#table-base_0">table-base</a>, <a href="#tr-base_0">tr-base</a>, <a href="#td-base_0">td-base</a>, <a href="#th_0">th</a>, <a href="#span_0">span</a>, <a href="#a_0">a</a>, <a href="#hr_0">hr</a>, <a href="#address_0">address</a>, <a href="#blockquote_0">blockquote</a>, <a href="#img_0">img</a>, <a href="#figure_0">figure</a>, <a href="#object_0">object</a>, <a href="#video_0">video</a>, <a href="#audio_0">audio</a>, <a href="#canvas_0">canvas</a>, <a href="#form_1">form</a>, <a href="#input_0">input</a>, <a href="#iframe_0">iframe</a><br><hr>
1.1 damieng 7115: <a name="i18n_0"></a><h3>Attribute group: <span class="nomtitre">i18n</span>
7116: </h3>
7117:
1.2 ! damieng 7118: <div class="documentation"> internationalization attributes
1.1 damieng 7119: lang language code (backwards compatible)
7120: xml:lang language code (as per XML 1.0 spec)
7121: dir direction for weak/neutral text
7122: </div>
7123:
7124: Attribute <span class="nomattribut">lang</span>:
7125: <div class="indentation">optional<br>type: <tt>xs:language</tt><br>
7126: </div>
7127: Attribute <span class="nomattribut"></span>:
7128: <div class="indentation">optional<br>
7129: </div>
7130: Attribute <span class="nomattribut">dir</span>:
7131: <div class="indentation">optional<br>
7132:
7133: Value restriction based on xs:token<ul>
7134: <li><tt>ltr</tt></li>
7135: <li><tt>rtl</tt></li>
7136: </ul>
7137:
7138: </div>
1.2 ! damieng 7139: <br>Parents: <a href="#html_0">html</a>, <a href="#head_0">head</a>, <a href="#title_2">title</a>, <a href="#htmlMeta_0">htmlMeta</a>, <a href="#style_4">style</a>, <a href="#body_0">body</a><br><hr>
1.1 damieng 7140: <a name="inlineBaseType_0"></a><h3>Complex type <span class="nomtitre">inlineBaseType</span>
7141: </h3>Can contain text<br><div class="indentation">
7142: Choice between:<ul><li>
7143: <a href="#inlines_0">inlines</a><br>
7144: </li></ul>
7145: </div>
7146: <hr>
7147: <a name="heading_1"></a><h3>Group <span class="nomtitre">heading</span>
7148: </h3>
7149: Choice between:<ul>
7150: <li>
7151: <a href="#h1_0">h1</a><br>
7152: </li>
7153: <li>
7154: <a href="#h2_0">h2</a><br>
7155: </li>
7156: <li>
7157: <a href="#h3_0">h3</a><br>
7158: </li>
7159: <li>
7160: <a href="#h4_0">h4</a><br>
7161: </li>
7162: <li>
7163: <a href="#h5_0">h5</a><br>
7164: </li>
7165: <li>
7166: <a href="#h6_0">h6</a><br>
7167: </li>
7168: </ul>
1.2 ! damieng 7169: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a><br><hr>
1.1 damieng 7170: <a name="headerContent_0"></a><h3>Complex type <span class="nomtitre">headerContent</span>
7171: </h3>Can contain text<br><div class="indentation">
7172: Choice between:<ul><li>
7173: <a href="#inlines_0">inlines</a><br>
7174: </li></ul>
7175: <a href="#coreattrs_0">coreattrs</a><br><br>
7176: Attribute <span class="nomattribut"></span>:
7177: <div class="indentation">optional<br>
7178: </div>
7179: </div>
7180: <hr>
7181:
7182: <a name="html_0"></a><h3>Element <span class="nomtitre">html</span>
7183: </h3>
7184:
1.2 ! damieng 7185: <div class="documentation"> The HTML root element (<html>) represents the root of an HTML document.
1.1 damieng 7186: </div>
7187:
7188: <div class="indentation">
7189: Sequence with:<ul>
7190: <li>
7191: <a href="#head_0">head</a><br>
7192: </li>
7193: <li>
7194: <a href="#body_0">body</a><br>
7195: </li>
7196: <li>
7197: <a href="#allow_0">allow</a><br>
7198: </li>
7199: </ul>
7200: <a href="#i18n_0">i18n</a><br><br>
7201: Attribute <span class="nomattribut">id</span>:
7202: <div class="indentation">optional<br>type: <tt>xs:ID</tt><br>
7203: </div>
7204: </div>
7205: <br><br><hr>
7206: <a name="head.misc_0"></a><h3>Group <span class="nomtitre">head.misc</span>
7207: </h3>
7208: Sequence with:<ul><li>Choice between:<ul>
7209: <li>
7210: <a href="#script_0">script</a><br>
7211: </li>
7212: <li>
7213: <a href="#style_4">style</a><br>
7214: </li>
7215: <li>
7216: <a name="meta_1"></a><h3>Element <span class="nomtitre">meta</span>
7217: </h3>type: <a href="#htmlMeta_0">htmlMeta</a><br><br>
7218: </li>
7219: <li>
7220: <a href="#link_0">link</a><br>
7221: </li>
7222: <li>
7223: <a href="#import_0">import</a><br>
7224: </li>
7225: </ul>
7226: </li></ul>
1.2 ! damieng 7227: <br>Parents: <a href="#head_0">head</a><br><hr>
1.1 damieng 7228: <a name="head_0"></a><h3>Element <span class="nomtitre">head</span>
7229: </h3>
7230:
1.2 ! damieng 7231: <div class="documentation"> The HTML Head Element (<head>) provides general information (metadata) about the document, including its title and links to or definitions of scripts and style sheets.
1.1 damieng 7232: </div>
7233:
7234: <div class="indentation">
7235: Sequence with:<ul>
7236: <li>
7237: <a href="#head.misc_0">head.misc</a><br>
7238: </li>
7239: <li>Choice between:<ul>
7240: <li>Sequence with:<ul>
7241: <li>
7242: <a href="#title_2">title</a><br>
7243: </li>
7244: <li>
7245: <a href="#head.misc_0">head.misc</a><br>
7246: </li>
7247: <li>Sequence with:<ul>
7248: <li>
7249: <a href="#base_0">base</a><br>
7250: </li>
7251: <li>
7252: <a href="#head.misc_0">head.misc</a><br>
7253: </li>
7254: </ul>
7255: </li>
7256: </ul>
7257: </li>
7258: <li>Sequence with:<ul>
7259: <li>
7260: <a href="#base_0">base</a><br>
7261: </li>
7262: <li>
7263: <a href="#head.misc_0">head.misc</a><br>
7264: </li>
7265: <li>Sequence with:<ul>
7266: <li>
7267: <a href="#title_2">title</a><br>
7268: </li>
7269: <li>
7270: <a href="#head.misc_0">head.misc</a><br>
7271: </li>
7272: </ul>
7273: </li>
7274: </ul>
7275: </li>
7276: </ul>
7277: </li>
7278: </ul>
7279: <a href="#i18n_0">i18n</a><br><br>
7280: Attribute <span class="nomattribut">id</span>:
7281: <div class="indentation">optional<br>type: <tt>xs:ID</tt><br>
7282: </div>
7283: Attribute <span class="nomattribut">profile</span>:
7284: <div class="indentation">optional<br>type: <tt>xs:anyURI</tt><br>
7285:
1.2 ! damieng 7286: <div class="documentation"> The URIs of one or more metadata profiles, separated by white space.
1.1 damieng 7287:
7288: This attribute is obsolete in HTML5.
7289: </div>
7290:
7291: </div>
7292: </div>
1.2 ! damieng 7293: <br>Parents: <a href="#problem_0">problem</a>, <a href="#html_0">html</a><br><hr>
1.1 damieng 7294: <a name="title_2"></a><h3>Element <span class="nomtitre">title</span>
7295: </h3>
7296:
1.2 ! damieng 7297: <div class="documentation"> The title element is not considered part of the flow of text.
1.1 damieng 7298: It should be displayed, for example as the page header or
7299: window title. Exactly one title is required per document.
7300: </div>
7301:
7302: Can contain text<br><div class="indentation">
7303: <a href="#i18n_0">i18n</a><br><br>
7304: Attribute <span class="nomattribut">id</span>:
7305: <div class="indentation">optional<br>type: <tt>xs:ID</tt><br>
7306: </div>
7307: </div>
1.2 ! damieng 7308: <br>Parents: <a href="#head_0">head</a><br><hr>
1.1 damieng 7309: <a name="base_0"></a><h3>Element <span class="nomtitre">base</span>
7310: </h3>
7311:
1.2 ! damieng 7312: <div class="documentation"> The HTML Base Element (<base>) specifies the base URL to use for all relative URLs contained within a document. There can be only one <base> element in a document.
1.1 damieng 7313: </div>
7314:
7315: <div class="indentation">
7316: Attribute <span class="nomattribut">href</span>:
7317: <div class="indentation">required<br>type: <tt>xs:anyURI</tt><br>
7318: </div>
7319: Attribute <span class="nomattribut">id</span>:
7320: <div class="indentation">optional<br>type: <tt>xs:ID</tt><br>
7321: </div>
7322: </div>
1.2 ! damieng 7323: <br>Parents: <a href="#head_0">head</a><br><hr>
1.1 damieng 7324: <a name="htmlMeta_0"></a><h3>Complex type <span class="nomtitre">htmlMeta</span>
7325: </h3>
7326: <div class="indentation">
7327:
1.2 ! damieng 7328: <div class="documentation"> The HTML Meta Element (<meta>) represents any metadata information that cannot be represented by one of the other HTML meta-related elements (<base>, <link>, <script>, <style> or <title>).
1.1 damieng 7329:
7330: Depending on the attributes set, the kind of metadata can be one of the following:
7331: - If name is set, it is document-level metadata, applying to the whole page.
7332: - If http-equiv is set, it is a pragma directive, i.e. information normally given by the web server about how the - web page should be served.
7333: - If charset is set, it is a charset declaration, i.e. the charset used for the serialized form of the webpage. HTML5
7334: - if the itemprop is set, a user-defined metadata, transparent for the user-agent as the semantics of the metadata is user-specific.
7335: </div>
7336:
7337: <a href="#i18n_0">i18n</a><br><br>
7338: Attribute <span class="nomattribut">id</span>:
7339: <div class="indentation">optional<br>type: <tt>xs:ID</tt><br>
7340: </div>
7341: Attribute <span class="nomattribut">http-equiv</span>:
7342: <div class="indentation">optional<br>
7343:
1.2 ! damieng 7344: <div class="documentation"> This enumerated attribute defines the pragma that can alter servers and user-agents behavior. The value of the pragma is defined using the content and can be one of the following:
1.1 damieng 7345: - content-language (obsolete)
7346: - content-type (obsolete)
7347: - default-style
7348: - refresh
7349: - set-cookie (obsolete)
7350: </div>
7351:
7352: </div>
7353: Attribute <span class="nomattribut">name</span>:
7354: <div class="indentation">optional<br>
7355:
1.2 ! damieng 7356: <div class="documentation"> This attribute defines the name of a document-level metadata. It should not be set if one of the attributes itemprop, http-equiv or charset is also set.
1.1 damieng 7357: </div>
7358:
7359: </div>
7360: Attribute <span class="nomattribut">content</span>:
7361: <div class="indentation">required<br>
7362:
1.2 ! damieng 7363: <div class="documentation"> This attribute gives the value associated with the http-equiv or name attribute, depending of the context.
1.1 damieng 7364: </div>
7365:
7366: </div>
7367: Attribute <span class="nomattribut">scheme</span>:
7368: <div class="indentation">optional<br>
7369:
1.2 ! damieng 7370: <div class="documentation"> This attribute defines the scheme in which the metadata is described. A scheme is a context leading to the correct interpretations of the content value, like a format.
1.1 damieng 7371:
7372: Notes: Do not use this attribute as it is obsolete. There is no replacement for it as there was no real usage for it. Omit it altogether.
7373: </div>
7374:
7375: </div>
7376: </div>
7377: <hr>
7378: <a name="MediaDesc_0"></a><h3>Simple type <span class="nomtitre">MediaDesc</span>
7379: </h3>
7380:
1.2 ! damieng 7381: <div class="documentation"> Single or comma-separated list of media descriptors
1.1 damieng 7382: </div>
7383:
7384: Value restriction based on xs:string<ul>
7385: <li><tt>[^,]+(,\s*[^,]+)*</tt></li>
7386: </ul>
7387: <hr>
7388: <a name="link_0"></a><h3>Element <span class="nomtitre">link</span>
7389: </h3>
7390:
1.2 ! damieng 7391: <div class="documentation"> The HTML Link Element (<link>) specifies relationships between the current document and external resource. Possible uses for this element include defining a relational framework for navigation. This Element is most used to link to style sheets.
1.1 damieng 7392: </div>
7393:
7394: <div class="indentation">
7395: Attribute <span class="nomattribut">charset</span>:
7396: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
7397:
1.2 ! damieng 7398: <div class="documentation"> This attribute defines the character encoding of the linked resource. The value is a space- and/or comma-delimited list of character sets as defined in RFC 2045. The default value is ISO-8859-1.
1.1 damieng 7399:
7400: Usage note: This attribute is obsolete in HTML5 and must not be used by authors. To achieve its effect, use the Content-Type: HTTP header on the linked resource.
7401: </div>
7402:
7403: </div>
7404: Attribute <span class="nomattribut">href</span>:
7405: <div class="indentation">optional<br>type: <tt>xs:anyURI</tt><br>
7406:
1.2 ! damieng 7407: <div class="documentation"> This attribute specifies the URL of the linked resource. A URL might be absolute or relative.
1.1 damieng 7408: </div>
7409:
7410: </div>
7411: Attribute <span class="nomattribut">hreflang</span>:
7412: <div class="indentation">optional<br>type: <tt>xs:language</tt><br>
7413:
1.2 ! damieng 7414: <div class="documentation"> This attribute indicates the language of the linked resource. It is purely advisory. Allowed values are determined by BCP47 for HTML5 and by RFC1766 for HTML 4. Use this attribute only if the href attribute is present.
1.1 damieng 7415: </div>
7416:
7417: </div>
7418: Attribute <span class="nomattribut">type</span>:
7419: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
7420:
1.2 ! damieng 7421: <div class="documentation"> This attribute is used to define the type of the content linked to. The value of the attribute should be a MIME type such as text/html, text/css, and so on. The common use of this attribute is to define the type of style sheet linked and the most common current value is text/css, which indicates a Cascading Style Sheet format.
1.1 damieng 7422: </div>
7423:
7424: </div>
7425: Attribute <span class="nomattribut">rel</span>:
7426: <div class="indentation">optional<br>type: <tt>xs:NMTOKENS</tt><br>
7427:
1.2 ! damieng 7428: <div class="documentation"> This attribute names a relationship of the linked document to the current document. The attribute must be a space-separated list of the link types values. The most common use of this attribute is to specify a link to an external style sheet: the rel attribute is set to stylesheet, and the href attribute is set to the URL of an external style sheet to format the page. WebTV also supports the use of the value next for rel to preload the next page in a document series.
1.1 damieng 7429: </div>
7430:
7431: </div>
7432: Attribute <span class="nomattribut">rev</span>:
7433: <div class="indentation">optional<br>type: <tt>xs:NMTOKENS</tt><br>
7434:
1.2 ! damieng 7435: <div class="documentation"> The value of this attribute shows the relationship of the current document to the linked document, as defined by the href attribute. The attribute thus defines the reverse relationship compared to the value of the rel attribute. Link types values for the attribute are similar to the possible values for rel.
1.1 damieng 7436:
7437: Usage note: This attribute is obsolete in HTML5. Do not use it. To achieve its effect, use the rel attribute with the opposite link types values, e.g. made should be replaced by author. Also this attribute doesn't mean revision and must not be used with a version number, which is unfortunately the case on numerous sites.
7438: </div>
7439:
7440: </div>
7441: Attribute <span class="nomattribut">media</span>:
7442: <div class="indentation">optional<br>type: <a href="#MediaDesc_0">MediaDesc</a><br>
7443:
1.2 ! damieng 7444: <div class="documentation"> This attribute specifies the media which the linked resource applies to. Its value must be a media query. This attribute is mainly useful when linking to external stylesheets by allowing the user agent to pick the best adapted one for the device it runs on.
1.1 damieng 7445:
7446: Usage note:
7447:
7448: - In HTML 4, this can only be a simple white-space-separated list of media description literals, i.e., media types and groups, where defined and allowed as values for this attribute, such as print, screen, aural, braille. HTML5 extended this to any kind of media queries, which are a superset of the allowed values of HTML 4.
7449:
7450: - Browsers not supporting the CSS3 Media Queries won't necessarily recognize the adequate link; do not forget to set fallback links, the restricted set of media queries defined in HTML 4.
7451: </div>
7452:
7453: </div>
7454: </div>
1.2 ! damieng 7455: <br>Parents: <a href="#head.misc_0">head.misc</a><br><hr>
1.1 damieng 7456: <a name="style_4"></a><h3>Element <span class="nomtitre">style</span>
7457: </h3>
7458:
1.2 ! damieng 7459: <div class="documentation"> The HTML <style> element contains style information for a document, or a part of document. The specific style information is contained inside of this element, usually in the CSS.
1.1 damieng 7460: </div>
7461:
7462: Can contain text<br><div class="indentation">
7463: <a href="#i18n_0">i18n</a><br><br>
7464: Attribute <span class="nomattribut">id</span>:
7465: <div class="indentation">optional<br>type: <tt>xs:ID</tt><br>
7466: </div>
7467: Attribute <span class="nomattribut">type</span>:
7468: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
7469: </div>
7470: Attribute <span class="nomattribut">media</span>:
7471: <div class="indentation">optional<br>type: <a href="#MediaDesc_0">MediaDesc</a><br>
7472: </div>
7473: Attribute <span class="nomattribut">title</span>:
7474: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
7475: </div>
7476: Attribute <span class="nomattribut"></span>:
7477: <div class="indentation">optional<br>
7478: </div>
7479: </div>
1.2 ! damieng 7480: <br>Parents: <a href="#head.misc_0">head.misc</a><br><hr>
1.1 damieng 7481: <a name="script_0"></a><h3>Element <span class="nomtitre">script</span>
7482: </h3>
7483:
1.2 ! damieng 7484: <div class="documentation"> Perl Script Block or Javascript
1.1 damieng 7485:
7486: If the attribute type is set to “loncapa/perl” the enclosed data is a Perl script which is evaluated inside the Perl safe space. The return value of the script is ignored.
7487:
7488: The HTML <script> element is used to embed or reference an executable script within an HTML or XHTML document.
7489:
7490: Scripts without async or defer attributes, as well as inline scripts, are fetched and executed immediately, before the browser continues to parse the page.
7491: </div>
7492:
7493: Can contain text<br><div class="indentation">
7494: Attribute <span class="nomattribut">id</span>:
7495: <div class="indentation">optional<br>type: <tt>xs:ID</tt><br>
7496: </div>
7497: Attribute <span class="nomattribut">charset</span>:
7498: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
7499: </div>
7500: Attribute <span class="nomattribut">src</span>:
7501: <div class="indentation">optional<br>type: <tt>xs:anyURI</tt><br>
7502:
1.2 ! damieng 7503: <div class="documentation"> This attribute specifies the URI of an external script; this can be used as an alternative to embedding a script directly within a document. script elements with an src attribute specified should not have a script embedded within its tags.
1.1 damieng 7504: </div>
7505:
7506: </div>
7507: Attribute <span class="nomattribut">type</span>:
7508: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
7509:
1.2 ! damieng 7510: <div class="documentation"> This attribute identifies the scripting language of code embedded within a script element or referenced via the element’s src attribute. This is specified as a MIME type; examples of supported MIME types include text/javascript, text/ecmascript, application/javascript, and application/ecmascript.
1.1 damieng 7511:
7512: If the attribute type is set to “loncapa/perl” the enclosed data is a Perl script which is evaluated inside the Perl safe space. The return value of the script is ignored.
7513: </div>
7514:
7515: </div>
7516: Attribute <span class="nomattribut">language</span>:
7517: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
7518:
1.2 ! damieng 7519: <div class="documentation"> Like the type attribute, this attribute identifies the scripting language in use. Unlike the type attribute, however, this attribute’s possible values were never standardized. The type attribute should be used instead.
1.1 damieng 7520: </div>
7521:
7522: </div>
7523: Attribute <span class="nomattribut">defer</span>:
7524: <div class="indentation">optional<br>
7525:
1.2 ! damieng 7526: <div class="documentation"> This Boolean attribute is set to indicate to a browser that the script is meant to be executed after the document has been parsed. Since this feature hasn't yet been implemented by all other major browsers, authors should not assume that the script’s execution will actually be deferred. The defer attribute shouldn't be used on scripts that don't have the src attribute. Since Gecko 1.9.2, the defer attribute is ignored on scripts that don't have the src attribute. However, in Gecko 1.9.1 even inline scripts are deferred if the defer attribute is set.
1.1 damieng 7527: </div>
7528:
7529:
7530: Value restriction based on xs:token<ul>
7531: <li><tt>defer</tt></li>
7532: </ul>
7533:
7534: </div>
7535: Attribute <span class="nomattribut">async</span>:
7536: <div class="indentation">optional<br>
7537:
1.2 ! damieng 7538: <div class="documentation"> HTML5 only.
1.1 damieng 7539: Set this Boolean attribute to indicate that the browser should, if possible, execute the script asynchronously. It has no effect on inline scripts (i.e., scripts that don't have the src attribute).
7540: </div>
7541:
7542:
7543: Value restriction based on xs:token<ul>
7544: <li><tt>async</tt></li>
7545: </ul>
7546:
7547: </div>
7548: Attribute <span class="nomattribut"></span>:
7549: <div class="indentation">optional<br>
7550: </div>
7551: </div>
1.2 ! damieng 7552: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a>, <a href="#head.misc_0">head.misc</a><br><hr>
1.1 damieng 7553: <a name="noscript_0"></a><h3>Element <span class="nomtitre">noscript</span>
7554: </h3>
7555:
1.2 ! damieng 7556: <div class="documentation"> Alternate content container for non script-based rendering.
1.1 damieng 7557: </div>
7558:
7559: Can contain text<br><div class="indentation">
7560: Choice between:<ul><li>
7561: <a href="#blocks-with-text_0">blocks-with-text</a><br>
7562: </li></ul>
7563: </div>
1.2 ! damieng 7564: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a><br><hr>
1.1 damieng 7565: <a name="body_0"></a><h3>Element <span class="nomtitre">body</span>
7566: </h3>
7567:
1.2 ! damieng 7568: <div class="documentation"> The HTML Body Element (<body>) represents the content of an HTML document. There can be only one <body> element in a document.
1.1 damieng 7569: </div>
7570:
7571: <div class="indentation">
7572: Choice between:<ul><li>
7573: <a href="#blocks-with-text_0">blocks-with-text</a><br>
7574: </li></ul>
7575: <a href="#coreattrs_0">coreattrs</a><br><br>
7576: <a href="#i18n_0">i18n</a><br><br>
7577: Attribute <span class="nomattribut">onload</span>:
7578: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
7579: </div>
7580: Attribute <span class="nomattribut">onunload</span>:
7581: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
7582: </div>
7583: </div>
1.2 ! damieng 7584: <br>Parents: <a href="#html_0">html</a><br><hr>
1.1 damieng 7585: <a name="section-base_0"></a><h3>Complex type <span class="nomtitre">section-base</span>
7586: </h3>Can contain text<br><div class="indentation">
7587:
1.2 ! damieng 7588: <div class="documentation"> The HTML Section Element (<section>) represents a generic section of a document, i.e., a thematic grouping of content, typically with a heading. Each <section> should be identified, typically by including a heading (h1-h6 element) as a child of the <section> element.
1.1 damieng 7589: </div>
7590:
7591: <a href="#coreattrs_0">coreattrs</a><br><br>
7592: </div>
7593: <hr>
7594: <a name="section-with-parts_0"></a><h3>Complex type <span class="nomtitre">section-with-parts</span>
7595: </h3>Can contain text<br><div class="indentation">
7596:
7597:
7598: Choice between:<ul><li>
7599: <a href="#text-with-parts_0">text-with-parts</a><br>
7600: </li></ul>
7601:
7602:
7603: </div>
7604: <hr>
7605: <a name="section-with-responses_0"></a><h3>Complex type <span class="nomtitre">section-with-responses</span>
7606: </h3>Can contain text<br><div class="indentation">
7607:
7608:
7609: Choice between:<ul><li>
7610: <a href="#text-with-responses_0">text-with-responses</a><br>
7611: </li></ul>
7612:
7613:
7614: </div>
7615: <hr>
7616: <a name="section-with-text_0"></a><h3>Complex type <span class="nomtitre">section-with-text</span>
7617: </h3>Can contain text<br><div class="indentation">
7618:
7619:
7620: Choice between:<ul><li>
7621: <a href="#text-only_0">text-only</a><br>
7622: </li></ul>
7623:
7624:
7625: </div>
7626: <hr>
7627: <a name="header_0"></a><h3>Element <span class="nomtitre">header</span>
7628: </h3>
7629:
1.2 ! damieng 7630: <div class="documentation"> The HTML <header> Element represents a group of introductory or navigational aids. It may contain some heading elements but also other elements like a logo, wrapped section's header, a search form, and so on.
1.1 damieng 7631:
7632: This element should have no <footer> or <header> descendants.
7633: </div>
7634:
7635: Can contain text<br><div class="indentation">
7636: Choice between:<ul><li>
7637: <a href="#text-only_0">text-only</a><br>
7638: </li></ul>
7639: <a href="#coreattrs_0">coreattrs</a><br><br>
7640: </div>
1.2 ! damieng 7641: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a><br><hr>
1.1 damieng 7642: <a name="footer_0"></a><h3>Element <span class="nomtitre">footer</span>
7643: </h3>
7644:
1.2 ! damieng 7645: <div class="documentation"> The HTML <footer> Element represents a footer for its nearest sectioning content or sectioning root element (i.e, its nearest parent <article>, <aside>, <nav>, <section>, <blockquote>, <body>, <details>, <fieldset>, <figure>, <td>). A footer typically contains information about the author of the section, copyright data or links to related documents.
1.1 damieng 7646:
7647: This element should have no <footer> or <header> descendants.
7648: </div>
7649:
7650: Can contain text<br><div class="indentation">
7651: Choice between:<ul><li>
7652: <a href="#text-only_0">text-only</a><br>
7653: </li></ul>
7654: <a href="#coreattrs_0">coreattrs</a><br><br>
7655: </div>
1.2 ! damieng 7656: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a><br><hr>
1.1 damieng 7657: <a name="aside_0"></a><h3>Element <span class="nomtitre">aside</span>
7658: </h3>
7659:
1.2 ! damieng 7660: <div class="documentation"> The HTML <aside> element represents a section of the page with content connected tangentially to the rest, which could be considered separate from that content. These sections are often represented as sidebars or inserts. They often contain the definitions on the sidebars, such as definitions from the glossary; there may also be other types of information, such as related advertisements; the biography of the author; web applications; profile information or related links on the blog.
1.1 damieng 7661: </div>
7662:
7663: Can contain text<br><div class="indentation">
7664: Choice between:<ul><li>
7665: <a href="#text-only_0">text-only</a><br>
7666: </li></ul>
7667: <a href="#coreattrs_0">coreattrs</a><br><br>
7668: </div>
1.2 ! damieng 7669: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a><br><hr>
1.1 damieng 7670: <a name="h1_0"></a><h3>Element <span class="nomtitre">h1</span>
7671: </h3>type: <a href="#headerContent_0">headerContent</a><br>
7672:
1.2 ! damieng 7673: <div class="documentation"> Level 1 title (most important).
1.1 damieng 7674:
7675: A heading element briefly describes the topic of the section it introduces. Heading information may be used by user agents, for example, to construct a table of contents for a document automatically.
7676:
7677: Inside HTML5 sections, all the heading elements can be h1 (they don't need to be h1, h2, ...). Web browsers determine the level of the heading based on the depth in the section tree.
7678: </div>
7679:
1.2 ! damieng 7680: <br>Parents: <a href="#heading_1">heading</a><br><hr>
1.1 damieng 7681: <a name="h2_0"></a><h3>Element <span class="nomtitre">h2</span>
7682: </h3>type: <a href="#headerContent_0">headerContent</a><br>
7683:
1.2 ! damieng 7684: <div class="documentation"> Level 2 title
1.1 damieng 7685:
7686: A heading element briefly describes the topic of the section it introduces. Heading information may be used by user agents, for example, to construct a table of contents for a document automatically.
7687: </div>
7688:
1.2 ! damieng 7689: <br>Parents: <a href="#heading_1">heading</a><br><hr>
1.1 damieng 7690: <a name="h3_0"></a><h3>Element <span class="nomtitre">h3</span>
7691: </h3>type: <a href="#headerContent_0">headerContent</a><br>
7692:
1.2 ! damieng 7693: <div class="documentation"> Level 3 title
1.1 damieng 7694:
7695: A heading element briefly describes the topic of the section it introduces. Heading information may be used by user agents, for example, to construct a table of contents for a document automatically.
7696: </div>
7697:
1.2 ! damieng 7698: <br>Parents: <a href="#heading_1">heading</a><br><hr>
1.1 damieng 7699: <a name="h4_0"></a><h3>Element <span class="nomtitre">h4</span>
7700: </h3>type: <a href="#headerContent_0">headerContent</a><br>
7701:
1.2 ! damieng 7702: <div class="documentation"> Level 4 title
1.1 damieng 7703:
7704: A heading element briefly describes the topic of the section it introduces. Heading information may be used by user agents, for example, to construct a table of contents for a document automatically.
7705: </div>
7706:
1.2 ! damieng 7707: <br>Parents: <a href="#heading_1">heading</a><br><hr>
1.1 damieng 7708: <a name="h5_0"></a><h3>Element <span class="nomtitre">h5</span>
7709: </h3>type: <a href="#headerContent_0">headerContent</a><br>
7710:
1.2 ! damieng 7711: <div class="documentation"> Level 5 title
1.1 damieng 7712:
7713: A heading element briefly describes the topic of the section it introduces. Heading information may be used by user agents, for example, to construct a table of contents for a document automatically.
7714: </div>
7715:
1.2 ! damieng 7716: <br>Parents: <a href="#heading_1">heading</a><br><hr>
1.1 damieng 7717: <a name="h6_0"></a><h3>Element <span class="nomtitre">h6</span>
7718: </h3>type: <a href="#headerContent_0">headerContent</a><br>
7719:
1.2 ! damieng 7720: <div class="documentation"> Level 6 title
1.1 damieng 7721:
7722: A heading element briefly describes the topic of the section it introduces. Heading information may be used by user agents, for example, to construct a table of contents for a document automatically.
7723: </div>
7724:
1.2 ! damieng 7725: <br>Parents: <a href="#heading_1">heading</a><br><hr>
1.1 damieng 7726: <a name="div-base_0"></a><h3>Complex type <span class="nomtitre">div-base</span>
7727: </h3>Can contain text<br><div class="indentation">
7728:
1.2 ! damieng 7729: <div class="documentation"> The HTML <div> element (or HTML Document Division Element) is the generic container for flow content, which does not inherently represent anything. It can be used to group elements for styling purposes (using the class or id attributes), or because they share attribute values, such as lang. It should be used only when no other semantic element (such as <article> or <nav>) is appropriate.
1.1 damieng 7730: </div>
7731:
7732: <a href="#coreattrs_0">coreattrs</a><br><br>
7733: Attribute <span class="nomattribut">align</span>:
7734: <div class="indentation">optional<br>
7735:
1.2 ! damieng 7736: <div class="documentation"> In HTML5, the align attribute on <div> is obsolete.
1.1 damieng 7737: </div>
7738:
7739:
7740: Value restriction based on xs:string<ul>
7741: <li><tt>center</tt></li>
7742: <li><tt>left</tt></li>
7743: <li><tt>right</tt></li>
7744: </ul>
7745:
7746: </div>
7747: </div>
7748: <hr>
7749: <a name="div-with-parts_0"></a><h3>Complex type <span class="nomtitre">div-with-parts</span>
7750: </h3>Can contain text<br><div class="indentation">
7751:
7752:
7753: Choice between:<ul>
7754: <li>
7755: <a href="#text-with-parts_0">text-with-parts</a><br>
7756: </li>
7757: <li>
7758: <a href="#inserts_0">inserts</a><br>
7759: </li>
7760: <li>
7761: <a href="#allow_0">allow</a><br>
7762: </li>
7763: <li>
7764: <a href="#meta_0">meta</a><br>
7765: </li>
7766: <li>
7767: <a href="#parameter_0">parameter</a><br>
7768: </li>
7769: <li>
7770: <a href="#parserlib_0">parserlib</a><br>
7771: </li>
7772: <li>
7773: <a href="#scriptlib_0">scriptlib</a><br>
7774: </li>
7775: </ul>
7776:
7777:
7778: </div>
7779: <hr>
7780: <a name="div-with-responses_0"></a><h3>Complex type <span class="nomtitre">div-with-responses</span>
7781: </h3>Can contain text<br><div class="indentation">
7782:
7783:
7784: Choice between:<ul>
7785: <li>
7786: <a href="#text-with-responses_0">text-with-responses</a><br>
7787: </li>
7788: <li>
7789: <a href="#inserts_0">inserts</a><br>
7790: </li>
7791: <li>
7792: <a href="#allow_0">allow</a><br>
7793: </li>
7794: <li>
7795: <a href="#meta_0">meta</a><br>
7796: </li>
7797: <li>
7798: <a href="#parameter_0">parameter</a><br>
7799: </li>
7800: <li>
7801: <a href="#parserlib_0">parserlib</a><br>
7802: </li>
7803: <li>
7804: <a href="#scriptlib_0">scriptlib</a><br>
7805: </li>
7806: </ul>
7807:
7808:
7809: </div>
7810: <hr>
7811: <a name="div-with-text_0"></a><h3>Complex type <span class="nomtitre">div-with-text</span>
7812: </h3>Can contain text<br><div class="indentation">
7813:
7814:
7815: Choice between:<ul>
7816: <li>
7817: <a href="#text-only_0">text-only</a><br>
7818: </li>
7819: <li>
7820: <a href="#inserts_0">inserts</a><br>
7821: </li>
7822: <li>
7823: <a href="#meta_0">meta</a><br>
7824: </li>
7825: <li>
7826: <a href="#parameter_0">parameter</a><br>
7827: </li>
7828: <li>
7829: <a href="#parserlib_0">parserlib</a><br>
7830: </li>
7831: <li>
7832: <a href="#scriptlib_0">scriptlib</a><br>
7833: </li>
7834: </ul>
7835:
7836:
7837: </div>
7838: <hr>
7839: <a name="p-base_0"></a><h3>Complex type <span class="nomtitre">p-base</span>
7840: </h3>Can contain text<br><div class="indentation">
7841:
1.2 ! damieng 7842: <div class="documentation"> The HTML <p> element (or HTML Paragraph Element) represents a paragraph of text. Paragraphs are block-level elements.
1.1 damieng 7843: </div>
7844:
7845: <a href="#coreattrs_0">coreattrs</a><br><br>
7846: </div>
7847: <hr>
7848: <a name="p-with-responses_0"></a><h3>Complex type <span class="nomtitre">p-with-responses</span>
7849: </h3>Can contain text<br><div class="indentation">
7850:
7851:
7852: Choice between:<ul>
7853: <li>
7854: <a href="#inlines_0">inlines</a><br>
7855: </li>
7856: <li>
7857: <a href="#inlineResponses_0">inlineResponses</a><br>
7858: </li>
7859: </ul>
7860:
7861:
7862: </div>
7863: <hr>
7864: <a name="p-with-text_0"></a><h3>Complex type <span class="nomtitre">p-with-text</span>
7865: </h3>Can contain text<br><div class="indentation">
7866:
7867:
7868: Choice between:<ul><li>
7869: <a href="#inlines_0">inlines</a><br>
7870: </li></ul>
7871:
7872:
7873: </div>
7874: <hr>
7875: <a name="ul-base_0"></a><h3>Complex type <span class="nomtitre">ul-base</span>
7876: </h3>
7877: <div class="indentation">
7878:
1.2 ! damieng 7879: <div class="documentation"> The HTML unordered list element (<ul>) represents an unordered list of items, namely a collection of items that do not have a numerical ordering, and their order in the list is meaningless. Typically, unordered-list items are displayed with a bullet, which can be of several forms, like a dot, a circle or a squared. The bullet style is not defined in the HTML description of the page, but in its associated CSS, using the list-style-type property.
1.1 damieng 7880:
7881: There is no limitation to the depth and imbrication of lists defined with the <ol> and <ul> elements.
7882: </div>
7883:
7884: <a href="#coreattrs_0">coreattrs</a><br><br>
7885: Attribute <span class="nomattribut">type</span>:
7886: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
7887:
1.2 ! damieng 7888: <div class="documentation"> Used to set the bullet style for the list. The values defined under HTML3.2 and the transitional version of HTML 4.0/4.01 are:
1.1 damieng 7889: - circle,
7890: - disc,
7891: - and square.
7892:
7893: A fourth bullet type has been defined in the WebTV interface, but not all browsers support it: triangle.
7894:
7895: If not present and if no CSS list-style-type property does apply to the element, the user agent decide to use a kind of bullets depending on the nesting level of the list.
7896: Usage note: Do not use this attribute, as it has been deprecated; use the CSS list-style-type property instead.
7897: </div>
7898:
7899: </div>
7900: </div>
7901: <hr>
7902: <a name="ul-with-parts_0"></a><h3>Complex type <span class="nomtitre">ul-with-parts</span>
7903: </h3>
7904: <div class="indentation">
7905:
7906:
7907: Sequence with:<ul><li>
7908: <a name="li_0"></a><h3>Element <span class="nomtitre">li</span>
7909: </h3>type: <a href="#li-with-parts_0">li-with-parts</a><br><br>
7910: </li></ul>
7911:
7912:
7913: </div>
7914: <hr>
7915: <a name="ul-with-responses_0"></a><h3>Complex type <span class="nomtitre">ul-with-responses</span>
7916: </h3>
7917: <div class="indentation">
7918:
7919:
7920: Sequence with:<ul><li>
7921: <a name="li_1"></a><h3>Element <span class="nomtitre">li</span>
7922: </h3>type: <a href="#li-with-responses_0">li-with-responses</a><br><br>
7923: </li></ul>
7924:
7925:
7926: </div>
7927: <hr>
7928: <a name="ul-with-text_0"></a><h3>Complex type <span class="nomtitre">ul-with-text</span>
7929: </h3>
7930: <div class="indentation">
7931:
7932:
7933: Sequence with:<ul><li>
7934: <a name="li_2"></a><h3>Element <span class="nomtitre">li</span>
7935: </h3>type: <a href="#li-with-text_0">li-with-text</a><br><br>
7936: </li></ul>
7937:
7938:
7939: </div>
7940: <hr>
7941: <a name="ol-base_0"></a><h3>Complex type <span class="nomtitre">ol-base</span>
7942: </h3>
7943: <div class="indentation">
7944:
1.2 ! damieng 7945: <div class="documentation"> The HTML <ol> Element (or HTML Ordered List Element) represents an ordered list of items. Typically, ordered-list items are displayed with a preceding numbering, which can be of any form, like numerals, letters or Romans numerals or even simple bullets. This numbered style is not defined in the HTML description of the page, but in its associated CSS, using the list-style-type property.
1.1 damieng 7946:
7947: There is no limitation to the depth and overlap of lists defined with the <ol> and <ul> elements.
7948: </div>
7949:
7950: <a href="#coreattrs_0">coreattrs</a><br><br>
7951: Attribute <span class="nomattribut">type</span>:
7952: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
7953:
1.2 ! damieng 7954: <div class="documentation"> Indicates the numbering type:
1.1 damieng 7955: - 'a' indicates lowercase letters,
7956: - 'A' indicates uppercase letters,
7957: - 'i' indicates lowercase Roman numerals,
7958: - 'I' indicates uppercase Roman numerals,
7959: - and '1' indicates numbers (default).
7960:
7961: The type set is used for the entire list unless a different type attribute is used within an enclosed <li> element.
7962:
7963: Note: This attribute was deprecated in HTML4, but reintroduced in HTML5. Unless the value of the list number matters (e.g. in legal or technical documents where items are to be referenced by their number/letter), the CSS list-style-type property should be used instead.
7964: </div>
7965:
7966: </div>
7967: </div>
7968: <hr>
7969: <a name="ol-with-parts_0"></a><h3>Complex type <span class="nomtitre">ol-with-parts</span>
7970: </h3>
7971: <div class="indentation">
7972:
7973:
7974: Sequence with:<ul><li>
7975: <a name="li_3"></a><h3>Element <span class="nomtitre">li</span>
7976: </h3>type: <a href="#li-with-parts_0">li-with-parts</a><br><br>
7977: </li></ul>
7978:
7979:
7980: </div>
7981: <hr>
7982: <a name="ol-with-responses_0"></a><h3>Complex type <span class="nomtitre">ol-with-responses</span>
7983: </h3>
7984: <div class="indentation">
7985:
7986:
7987: Sequence with:<ul><li>
7988: <a name="li_4"></a><h3>Element <span class="nomtitre">li</span>
7989: </h3>type: <a href="#li-with-responses_0">li-with-responses</a><br><br>
7990: </li></ul>
7991:
7992:
7993: </div>
7994: <hr>
7995: <a name="ol-with-text_0"></a><h3>Complex type <span class="nomtitre">ol-with-text</span>
7996: </h3>
7997: <div class="indentation">
7998:
7999:
8000: Sequence with:<ul><li>
8001: <a name="li_5"></a><h3>Element <span class="nomtitre">li</span>
8002: </h3>type: <a href="#li-with-text_0">li-with-text</a><br><br>
8003: </li></ul>
8004:
8005:
8006: </div>
8007: <hr>
8008: <a name="li-base_0"></a><h3>Complex type <span class="nomtitre">li-base</span>
8009: </h3>Can contain text<br><div class="indentation">
8010:
1.2 ! damieng 8011: <div class="documentation"> The HTML List Item Element (<li>) is used to represent an item in a list. It must be contained in a parent element: an ordered list (<ol>), an unordered list (<ul>), or a menu (<menu>). In menus and unordered lists, list items are usually displayed using bullet points. In ordered lists, they are usually displayed with an ascending counter on the left, such as a number or letter.
1.1 damieng 8012: </div>
8013:
8014: <a href="#coreattrs_0">coreattrs</a><br><br>
8015: Attribute <span class="nomattribut">type</span>:
8016: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
8017:
1.2 ! damieng 8018: <div class="documentation"> This character attributes indicates the numbering type:
1.1 damieng 8019:
8020: a: lowercase letters
8021: A: uppercase letters
8022: i: lowercase Roman numerals
8023: I: uppercase Roman numerals
8024: 1: numbers
8025:
8026: This type overrides the one used by its parent <ol> element, if any.
8027:
8028: Usage note: This attribute has been deprecated: use the CSS list-style-type property instead.
8029: </div>
8030:
8031: </div>
8032: Attribute <span class="nomattribut">value</span>:
8033: <div class="indentation">optional<br>type: <tt>xs:int</tt><br>
8034:
1.2 ! damieng 8035: <div class="documentation"> This integer attributes indicates the current ordinal value of the item in the list as defined by the <ol> element. The only allowed value for this attribute is a number, even if the list is displayed with Roman numerals or letters. List items that follow this one continue numbering from the value set. The value attribute has no meaning for unordered lists (<ul>) or for menus (<menu>).
1.1 damieng 8036:
8037: Note: This attribute was deprecated in HTML4, but reintroduced in HTML5.
8038: </div>
8039:
8040: </div>
8041: </div>
8042: <hr>
8043: <a name="li-with-parts_0"></a><h3>Complex type <span class="nomtitre">li-with-parts</span>
8044: </h3>Can contain text<br><div class="indentation">
8045:
8046:
8047: Choice between:<ul><li>
8048: <a href="#text-with-parts_0">text-with-parts</a><br>
8049: </li></ul>
8050:
8051:
8052: </div>
8053: <hr>
8054: <a name="li-with-responses_0"></a><h3>Complex type <span class="nomtitre">li-with-responses</span>
8055: </h3>Can contain text<br><div class="indentation">
8056:
8057:
8058: Choice between:<ul><li>
8059: <a href="#text-with-responses_0">text-with-responses</a><br>
8060: </li></ul>
8061:
8062:
8063: </div>
8064: <hr>
8065: <a name="li-with-text_0"></a><h3>Complex type <span class="nomtitre">li-with-text</span>
8066: </h3>Can contain text<br><div class="indentation">
8067:
8068:
8069: Choice between:<ul><li>
8070: <a href="#text-only_0">text-only</a><br>
8071: </li></ul>
8072:
8073:
8074: </div>
8075: <hr>
8076: <a name="dl-base_0"></a><h3>Complex type <span class="nomtitre">dl-base</span>
8077: </h3>
8078: <div class="indentation">
8079:
1.2 ! damieng 8080: <div class="documentation"> The HTML <dl> Element (or HTML Description List Element) encloses a list of pairs of terms and descriptions. Common uses for this element are to implement a glossary or to display metadata (a list of key-value pairs).
1.1 damieng 8081:
8082: Prior to HTML5, <dl> was known as a Definition List.
8083: </div>
8084:
8085: <a href="#coreattrs_0">coreattrs</a><br><br>
8086: </div>
8087: <hr>
8088: <a name="dl-with-parts_0"></a><h3>Complex type <span class="nomtitre">dl-with-parts</span>
8089: </h3>
8090: <div class="indentation">
8091:
8092:
8093: Choice between:<ul>
8094: <li>
8095: <a href="#dt_0">dt</a><br>
8096: </li>
8097: <li>
8098: <a name="dd_0"></a><h3>Element <span class="nomtitre">dd</span>
8099: </h3>type: <a href="#dd-with-parts_0">dd-with-parts</a><br><br>
8100: </li>
8101: </ul>
8102:
8103:
8104: </div>
8105: <hr>
8106: <a name="dl-with-responses_0"></a><h3>Complex type <span class="nomtitre">dl-with-responses</span>
8107: </h3>
8108: <div class="indentation">
8109:
8110:
8111: Choice between:<ul>
8112: <li>
8113: <a href="#dt_0">dt</a><br>
8114: </li>
8115: <li>
8116: <a name="dd_1"></a><h3>Element <span class="nomtitre">dd</span>
8117: </h3>type: <a href="#dd-with-responses_0">dd-with-responses</a><br><br>
8118: </li>
8119: </ul>
8120:
8121:
8122: </div>
8123: <hr>
8124: <a name="dl-with-text_0"></a><h3>Complex type <span class="nomtitre">dl-with-text</span>
8125: </h3>
8126: <div class="indentation">
8127:
8128:
8129: Choice between:<ul>
8130: <li>
8131: <a href="#dt_0">dt</a><br>
8132: </li>
8133: <li>
8134: <a name="dd_2"></a><h3>Element <span class="nomtitre">dd</span>
8135: </h3>type: <a href="#dd-with-text_0">dd-with-text</a><br><br>
8136: </li>
8137: </ul>
8138:
8139:
8140: </div>
8141: <hr>
8142: <a name="dt_0"></a><h3>Element <span class="nomtitre">dt</span>
8143: </h3>type: <a href="#inlineBaseType_0">inlineBaseType</a><br>
8144:
1.2 ! damieng 8145: <div class="documentation"> The HTML <dt> element (or HTML Definition Term Element) identifies a term in a definition list. This element can occur only as a child element of a <dl>. It is usually followed by a <dd> element; however, multiple <dt> elements in a row indicate several terms that are all defined by the immediate next <dd> element.
1.1 damieng 8146: </div>
8147:
8148: <br><br><hr>
8149: <a name="dd-base_0"></a><h3>Complex type <span class="nomtitre">dd-base</span>
8150: </h3>Can contain text<br><div class="indentation">
8151:
1.2 ! damieng 8152: <div class="documentation"> The HTML <dd> Element (or HTML Description Element) indicates the description of a term in a description list (<dl>) element. This element can occur only as a child element of a definition list and it must follow a <dt> element.
1.1 damieng 8153: </div>
8154:
8155: </div>
8156: <hr>
8157: <a name="dd-with-parts_0"></a><h3>Complex type <span class="nomtitre">dd-with-parts</span>
8158: </h3>Can contain text<br><div class="indentation">
8159:
8160:
8161: Choice between:<ul><li>
8162: <a href="#text-with-parts_0">text-with-parts</a><br>
8163: </li></ul>
8164:
8165:
8166: </div>
8167: <hr>
8168: <a name="dd-with-responses_0"></a><h3>Complex type <span class="nomtitre">dd-with-responses</span>
8169: </h3>Can contain text<br><div class="indentation">
8170:
8171:
8172: Choice between:<ul><li>
8173: <a href="#text-with-responses_0">text-with-responses</a><br>
8174: </li></ul>
8175:
8176:
8177: </div>
8178: <hr>
8179: <a name="dd-with-text_0"></a><h3>Complex type <span class="nomtitre">dd-with-text</span>
8180: </h3>Can contain text<br><div class="indentation">
8181:
8182:
8183: Choice between:<ul><li>
8184: <a href="#text-only_0">text-only</a><br>
8185: </li></ul>
8186:
8187:
8188: </div>
8189: <hr>
8190: <a name="table-base_0"></a><h3>Complex type <span class="nomtitre">table-base</span>
8191: </h3>
8192: <div class="indentation">
8193:
1.2 ! damieng 8194: <div class="documentation"> The HTML Table Element (<table>) represents data in two dimensions or more.
1.1 damieng 8195: </div>
8196:
8197: <a href="#coreattrs_0">coreattrs</a><br><br>
8198: Attribute <span class="nomattribut">border</span>:
8199: <div class="indentation">optional<br>type: <tt>xs:int</tt><br>
8200:
1.2 ! damieng 8201: <div class="documentation"> This integer attribute defines, in pixels, the size of the frame surrounding the table. If set to 0, it implies that the frame attribute is set to void.
1.1 damieng 8202: Usage note: Do not use this attribute, as it has been deprecated: the <table> element should be styled using CSS. To give a similar effect than the border attribute, the CSS properties border, border-color, border-width and border-style should be used.
8203: </div>
8204:
8205: </div>
8206: Attribute <span class="nomattribut">cellpadding</span>:
8207: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
8208:
1.2 ! damieng 8209: <div class="documentation"> This attribute defines the space between the content of a cell and the border, displayed or not, of it. If it is a pixel length, this pixel-sized space will be applied on all four sides; if it is a percentage length, the content will be centered and the total vertical space (top and bottom) will represent this percentage. The same is true for the total horizontal space (left and right).
1.1 damieng 8210: Usage note: Do not use this attribute, as it has been deprecated: the <table> element should be styled using CSS. To give a similar effect than the border attribute, use the CSS property border-collapse with the value collapse on the <table> element itself, and the property padding on the <td>.
8211: </div>
8212:
8213: </div>
8214: Attribute <span class="nomattribut">cellspacing</span>:
8215: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
8216:
1.2 ! damieng 8217: <div class="documentation"> This attribute defines the size, in percentage or in pixels, of the space between two cells (both horizontally and vertically), between the top of the table and the cells of the first row, the left of the table and the first column, the right of the table and the last column and the bottom of the table and the last row.
1.1 damieng 8218: Usage note: Do not use this attribute, as it has been deprecated: the <table> element should be styled using CSS. To give a similar effect than the border attribute, use the CSS property border-collapse with the value collapse on the <table> element itself, and the property margin on the <td> element.
8219: </div>
8220:
8221: </div>
8222: Attribute <span class="nomattribut">TeXwidth</span>:
8223: <div class="indentation">optional<br>
8224:
1.2 ! damieng 8225: <div class="documentation"> Width of the table in %
1.1 damieng 8226: </div>
8227:
8228:
1.2 ! damieng 8229: Union of types<ul>
! 8230: <li><a href="#perl_0">perl</a></li>
! 8231: <li>
1.1 damieng 8232: Value restriction based on xs:string<ul>
8233: <li><tt>[0-9]+\s*%</tt></li>
8234: </ul>
1.2 ! damieng 8235: </li>
! 8236: </ul>
1.1 damieng 8237:
8238: </div>
8239: Attribute <span class="nomattribut">TeXtheme</span>:
8240: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
8241: </div>
8242: Attribute <span class="nomattribut">align</span>:
8243: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
8244:
1.2 ! damieng 8245: <div class="documentation"> Deprecated attribute.
1.1 damieng 8246:
8247: This enumerated attribute indicates how the table must be aligned in regard of the containing document. It may have the following values:
8248:
8249: - left, meaning that the table is to be displayed to the left of the document;
8250: - center, meaning that the table is to be displayed centered in the document;
8251: - right, meaning that the table is to be displayed to the right of the document.
8252:
8253: Note:
8254: Do not use this attribute, as it has been deprecated: the <table> element should be styled using CSS. To give a similar effect than the align attribute, the CSS properties "text-align" and "vertical-align" should be used.
8255: </div>
8256:
8257: </div>
8258: Attribute <span class="nomattribut">rules</span>:
8259: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
8260:
1.2 ! damieng 8261: <div class="documentation"> Deprecated attribute.
1.1 damieng 8262:
8263: This enumerated attribute defines where rules, i.e. lines, should appear in a table. It can have the following values:
8264:
8265: - none, which indicates the no rules will be displayed; it is the default value;
8266: - groups, which will make the rules to be displayed between row groups (defined by the <thead>, <tbody> and <tfoot> elements) and between column groups (defined by the <col> and <colgroup> elements) only;
8267: - rows, which will make the rules to be displayed between rows;
8268: - columns, which will make the rules to be displayed between columns;
8269: - all, which wil make the rules to be displayed between rows and columns.
8270:
8271: Note:
8272: The styling of the rules is browser-dependant and cannot be modified.
8273: Do not use this attribute, as it has been deprecated: the rules should be defined and styled using CSS. use the CSS property border on the adequate <thead>, <tbody>, <tfoot>, <col> or <colgroup> elements.
8274: </div>
8275:
8276: </div>
8277: </div>
8278: <hr>
8279: <a name="table-with-parts_0"></a><h3>Complex type <span class="nomtitre">table-with-parts</span>
8280: </h3>
8281: <div class="indentation">
8282:
8283:
8284: Sequence with:<ul>
8285: <li>
8286: <a href="#caption_0">caption</a><br>
8287: </li>
8288: <li>
8289: <a href="#thead_0">thead</a><br>
8290: </li>
8291: <li>
8292: <a href="#tfoot_0">tfoot</a><br>
8293: </li>
8294: <li>Choice between:<ul>
8295: <li>
8296: <a name="tbody_0"></a><h3>Element <span class="nomtitre">tbody</span>
8297: </h3>type: <a href="#tbody-with-parts_0">tbody-with-parts</a><br><br>
8298: </li>
8299: <li>
8300: <a name="tr_0"></a><h3>Element <span class="nomtitre">tr</span>
8301: </h3>type: <a href="#tr-with-parts_0">tr-with-parts</a><br><br>
8302: </li>
8303: </ul>
8304: </li>
8305: </ul>
8306:
8307:
8308: </div>
8309: <hr>
8310: <a name="table-with-responses_0"></a><h3>Complex type <span class="nomtitre">table-with-responses</span>
8311: </h3>
8312: <div class="indentation">
8313:
8314:
8315: Sequence with:<ul>
8316: <li>
8317: <a href="#caption_0">caption</a><br>
8318: </li>
8319: <li>
8320: <a href="#thead_0">thead</a><br>
8321: </li>
8322: <li>
8323: <a href="#tfoot_0">tfoot</a><br>
8324: </li>
8325: <li>Choice between:<ul>
8326: <li>
8327: <a name="tbody_1"></a><h3>Element <span class="nomtitre">tbody</span>
8328: </h3>type: <a href="#tbody-with-responses_0">tbody-with-responses</a><br><br>
8329: </li>
8330: <li>
8331: <a name="tr_1"></a><h3>Element <span class="nomtitre">tr</span>
8332: </h3>type: <a href="#tr-with-responses_0">tr-with-responses</a><br><br>
8333: </li>
8334: </ul>
8335: </li>
8336: </ul>
8337:
8338:
8339: </div>
8340: <hr>
8341: <a name="table-with-text_0"></a><h3>Complex type <span class="nomtitre">table-with-text</span>
8342: </h3>
8343: <div class="indentation">
8344:
8345:
8346: Sequence with:<ul>
8347: <li>
8348: <a href="#caption_0">caption</a><br>
8349: </li>
8350: <li>
8351: <a href="#thead_0">thead</a><br>
8352: </li>
8353: <li>
8354: <a href="#tfoot_0">tfoot</a><br>
8355: </li>
8356: <li>Choice between:<ul>
8357: <li>
8358: <a name="tbody_2"></a><h3>Element <span class="nomtitre">tbody</span>
8359: </h3>type: <a href="#tbody-with-text_0">tbody-with-text</a><br><br>
8360: </li>
8361: <li>
8362: <a name="tr_2"></a><h3>Element <span class="nomtitre">tr</span>
8363: </h3>type: <a href="#tr-with-text_0">tr-with-text</a><br><br>
8364: </li>
8365: </ul>
8366: </li>
8367: </ul>
8368:
8369:
8370: </div>
8371: <hr>
8372: <a name="caption_0"></a><h3>Element <span class="nomtitre">caption</span>
8373: </h3>
8374:
1.2 ! damieng 8375: <div class="documentation"> The HTML <caption> Element (or HTML Table Caption Element) represents the title of a table. Though it is always the first descendant of a <table>, its styling, using CSS, may place it elsewhere, relative to the table.
1.1 damieng 8376: </div>
8377:
8378: Can contain text<br><div class="indentation">
8379: Choice between:<ul><li>
8380: <a href="#text-only_0">text-only</a><br>
8381: </li></ul>
8382: </div>
8383: <br><br><hr>
8384: <a name="thead_0"></a><h3>Element <span class="nomtitre">thead</span>
8385: </h3>
8386:
1.2 ! damieng 8387: <div class="documentation"> The HTML Table Head Element (<thead>) defines a set of rows defining the head of the columns of the table.
1.1 damieng 8388: </div>
8389:
8390: <div class="indentation">
8391: Sequence with:<ul><li>
8392: <a name="tr_3"></a><h3>Element <span class="nomtitre">tr</span>
8393: </h3>type: <a href="#tr-with-text_0">tr-with-text</a><br><br>
8394: </li></ul>
8395: Attribute <span class="nomattribut">align</span>:
8396: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
8397:
1.2 ! damieng 8398: <div class="documentation"> Deprecated attribute.
1.1 damieng 8399: </div>
8400:
8401: </div>
8402: </div>
8403: <br><br><hr>
8404: <a name="tfoot_0"></a><h3>Element <span class="nomtitre">tfoot</span>
8405: </h3>
8406:
1.2 ! damieng 8407: <div class="documentation"> The HTML Table Foot Element (<tfoot>) defines a set of rows summarizing the columns of the table.
1.1 damieng 8408: </div>
8409:
8410: <div class="indentation">
8411: Sequence with:<ul><li>
8412: <a name="tr_4"></a><h3>Element <span class="nomtitre">tr</span>
8413: </h3>type: <a href="#tr-with-text_0">tr-with-text</a><br><br>
8414: </li></ul>
8415: Attribute <span class="nomattribut">align</span>:
8416: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
8417:
1.2 ! damieng 8418: <div class="documentation"> Deprecated attribute.
1.1 damieng 8419: </div>
8420:
8421: </div>
8422: </div>
8423: <br><br><hr>
8424: <a name="tbody-with-parts_0"></a><h3>Complex type <span class="nomtitre">tbody-with-parts</span>
8425: </h3>
8426: <div class="indentation">
8427: Sequence with:<ul><li>Choice between:<ul><li>
8428: <a name="tr_5"></a><h3>Element <span class="nomtitre">tr</span>
8429: </h3>type: <a href="#tr-with-parts_0">tr-with-parts</a><br><br>
8430: </li></ul>
8431: </li></ul>
8432: Attribute <span class="nomattribut">align</span>:
8433: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
8434:
1.2 ! damieng 8435: <div class="documentation"> Deprecated attribute.
1.1 damieng 8436: </div>
8437:
8438: </div>
8439: </div>
8440: <hr>
8441: <a name="tbody-with-responses_0"></a><h3>Complex type <span class="nomtitre">tbody-with-responses</span>
8442: </h3>
8443: <div class="indentation">
8444: Sequence with:<ul><li>Choice between:<ul><li>
8445: <a name="tr_6"></a><h3>Element <span class="nomtitre">tr</span>
8446: </h3>type: <a href="#tr-with-responses_0">tr-with-responses</a><br><br>
8447: </li></ul>
8448: </li></ul>
8449: Attribute <span class="nomattribut">align</span>:
8450: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
8451: </div>
8452: </div>
8453: <hr>
8454: <a name="tbody-with-text_0"></a><h3>Complex type <span class="nomtitre">tbody-with-text</span>
8455: </h3>
8456: <div class="indentation">
8457: Sequence with:<ul><li>Choice between:<ul><li>
8458: <a name="tr_7"></a><h3>Element <span class="nomtitre">tr</span>
8459: </h3>type: <a href="#tr-with-text_0">tr-with-text</a><br><br>
8460: </li></ul>
8461: </li></ul>
8462: Attribute <span class="nomattribut">align</span>:
8463: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
8464:
1.2 ! damieng 8465: <div class="documentation"> Deprecated attribute.
1.1 damieng 8466: </div>
8467:
8468: </div>
8469: </div>
8470: <hr>
8471: <a name="tr-base_0"></a><h3>Complex type <span class="nomtitre">tr-base</span>
8472: </h3>
8473: <div class="indentation">
8474:
1.2 ! damieng 8475: <div class="documentation"> Table row
1.1 damieng 8476: </div>
8477:
8478: <a href="#coreattrs_0">coreattrs</a><br><br>
8479: Attribute <span class="nomattribut">align</span>:
8480: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
8481:
1.2 ! damieng 8482: <div class="documentation"> Deprecated attribute.
1.1 damieng 8483: </div>
8484:
8485: </div>
8486: </div>
8487: <hr>
8488: <a name="tr-with-parts_0"></a><h3>Complex type <span class="nomtitre">tr-with-parts</span>
8489: </h3>
8490: <div class="indentation">
8491:
8492:
8493: Choice between:<ul>
8494: <li>
8495: <a href="#th_0">th</a><br>
8496: </li>
8497: <li>
8498: <a name="td_0"></a><h3>Element <span class="nomtitre">td</span>
8499: </h3>type: <a href="#td-with-parts_0">td-with-parts</a><br><br>
8500: </li>
8501: </ul>
8502:
8503:
8504: </div>
8505: <hr>
8506: <a name="tr-with-responses_0"></a><h3>Complex type <span class="nomtitre">tr-with-responses</span>
8507: </h3>
8508: <div class="indentation">
8509:
8510:
8511: Choice between:<ul>
8512: <li>
8513: <a href="#th_0">th</a><br>
8514: </li>
8515: <li>
8516: <a name="td_1"></a><h3>Element <span class="nomtitre">td</span>
8517: </h3>type: <a href="#td-with-responses_0">td-with-responses</a><br><br>
8518: </li>
8519: </ul>
8520:
8521:
8522: </div>
8523: <hr>
8524: <a name="tr-with-text_0"></a><h3>Complex type <span class="nomtitre">tr-with-text</span>
8525: </h3>
8526: <div class="indentation">
8527:
8528:
8529: Choice between:<ul>
8530: <li>
8531: <a href="#th_0">th</a><br>
8532: </li>
8533: <li>
8534: <a name="td_2"></a><h3>Element <span class="nomtitre">td</span>
8535: </h3>type: <a href="#td-with-text_0">td-with-text</a><br><br>
8536: </li>
8537: </ul>
8538:
8539:
8540: </div>
8541: <hr>
8542: <a name="html-align_0"></a><h3>Simple type <span class="nomtitre">html-align</span>
8543: </h3>
8544: Value restriction based on xs:string<ul>
8545: <li><tt>left</tt></li>
8546: <li><tt>center</tt></li>
8547: <li><tt>right</tt></li>
8548: <li><tt>justify</tt></li>
8549: </ul>
8550: <hr>
8551: <a name="td-base_0"></a><h3>Complex type <span class="nomtitre">td-base</span>
8552: </h3>Can contain text<br><div class="indentation">
8553:
1.2 ! damieng 8554: <div class="documentation"> Table cell
1.1 damieng 8555: </div>
8556:
8557: <a href="#coreattrs_0">coreattrs</a><br><br>
8558: Attribute <span class="nomattribut">colspan</span>:
8559: <div class="indentation">optional<br>type: <tt>xs:int</tt><br>
8560:
1.2 ! damieng 8561: <div class="documentation"> This attribute contains a non-negative integer value that indicates on how many columns does the cell extend. Its default value is 1.
1.1 damieng 8562: </div>
8563:
8564: </div>
8565: Attribute <span class="nomattribut">rowspan</span>:
8566: <div class="indentation">optional<br>type: <tt>xs:int</tt><br>
8567:
1.2 ! damieng 8568: <div class="documentation"> This attribute contains a non-negative integer value that indicates on how many rows does the cell extend. Its default value is 1.
1.1 damieng 8569: </div>
8570:
8571: </div>
8572: Attribute <span class="nomattribut">align</span>:
8573: <div class="indentation">optional<br>type: <a href="#html-align_0">html-align</a><br>
8574: </div>
8575: Attribute <span class="nomattribut">TeXwidth</span>:
8576: <div class="indentation">optional<br>
8577:
1.2 ! damieng 8578: <div class="documentation"> Width of the cell in mm or another unit (cm, in, pt, pc)
1.1 damieng 8579: </div>
8580:
8581:
1.2 ! damieng 8582: Union of types<ul>
! 8583: <li><a href="#perl_0">perl</a></li>
! 8584: <li>
1.1 damieng 8585: Value restriction based on xs:string<ul>
8586: <li><tt>\d*(\s+(mm|cm|in|pt|pc))?</tt></li>
8587: </ul>
1.2 ! damieng 8588: </li>
! 8589: </ul>
1.1 damieng 8590:
8591: </div>
8592: </div>
8593: <hr>
8594: <a name="td-with-parts_0"></a><h3>Complex type <span class="nomtitre">td-with-parts</span>
8595: </h3>Can contain text<br><div class="indentation">
8596:
8597:
8598: Choice between:<ul><li>
8599: <a href="#text-with-parts_0">text-with-parts</a><br>
8600: </li></ul>
8601:
8602:
8603: </div>
8604: <hr>
8605: <a name="td-with-responses_0"></a><h3>Complex type <span class="nomtitre">td-with-responses</span>
8606: </h3>Can contain text<br><div class="indentation">
8607:
8608:
8609: Choice between:<ul><li>
8610: <a href="#text-with-responses_0">text-with-responses</a><br>
8611: </li></ul>
8612:
8613:
8614: </div>
8615: <hr>
8616: <a name="td-with-text_0"></a><h3>Complex type <span class="nomtitre">td-with-text</span>
8617: </h3>Can contain text<br><div class="indentation">
8618:
8619:
8620: Choice between:<ul><li>
8621: <a href="#text-only_0">text-only</a><br>
8622: </li></ul>
8623:
8624:
8625: </div>
8626: <hr>
8627: <a name="th_0"></a><h3>Element <span class="nomtitre">th</span>
8628: </h3>
8629:
1.2 ! damieng 8630: <div class="documentation"> Table header cell
1.1 damieng 8631: </div>
8632:
8633: Can contain text<br><div class="indentation">
8634: Choice between:<ul><li>
8635: <a href="#text-only_0">text-only</a><br>
8636: </li></ul>
8637: <a href="#coreattrs_0">coreattrs</a><br><br>
8638: Attribute <span class="nomattribut">colspan</span>:
8639: <div class="indentation">optional<br>type: <tt>xs:int</tt><br>
8640:
1.2 ! damieng 8641: <div class="documentation"> This attribute contains a non-negative integer value that indicates on how many columns does the cell extend. Its default value is 1.
1.1 damieng 8642: </div>
8643:
8644: </div>
8645: Attribute <span class="nomattribut">rowspan</span>:
8646: <div class="indentation">optional<br>type: <tt>xs:int</tt><br>
8647:
1.2 ! damieng 8648: <div class="documentation"> This attribute contains a non-negative integer value that indicates on how many rows does the cell extend. Its default value is 1.
1.1 damieng 8649: </div>
8650:
8651: </div>
8652: Attribute <span class="nomattribut">align</span>:
8653: <div class="indentation">optional<br>type: <a href="#html-align_0">html-align</a><br>
8654: </div>
8655: Attribute <span class="nomattribut">scope</span>:
8656: <div class="indentation">optional<br>
8657:
1.2 ! damieng 8658: <div class="documentation"> defines the cells that the header defined in this <th> element relates to
1.1 damieng 8659: </div>
8660:
8661:
8662: Value restriction based on xs:token<ul>
8663: <li><tt>row</tt></li>
8664: <li><tt>col</tt></li>
8665: <li><tt>rowgroup</tt></li>
8666: <li><tt>colgroup</tt></li>
8667: </ul>
8668:
8669: </div>
8670: Attribute <span class="nomattribut">TeXwidth</span>:
8671: <div class="indentation">optional<br>
8672:
1.2 ! damieng 8673: <div class="documentation"> Width of the cell in mm or another unit (cm, in, pt, pc)
1.1 damieng 8674: </div>
8675:
8676:
1.2 ! damieng 8677: Union of types<ul>
! 8678: <li><a href="#perl_0">perl</a></li>
! 8679: <li>
1.1 damieng 8680: Value restriction based on xs:string<ul>
8681: <li><tt>\d*(\s+(mm|cm|in|pt|pc))?</tt></li>
8682: </ul>
1.2 ! damieng 8683: </li>
! 8684: </ul>
1.1 damieng 8685:
8686: </div>
8687: </div>
8688: <br><br><hr>
8689: <a name="span_0"></a><h3>Element <span class="nomtitre">span</span>
8690: </h3>
8691:
1.2 ! damieng 8692: <div class="documentation"> The HTML <span> element is a generic inline container for phrasing content, which does not inherently represent anything. It can be used to group elements for styling purposes (using the class or id attributes), or because they share attribute values, such as lang. It should be used only when no other semantic element is appropriate. <span> is very much like a <div> element, but <div> is a block-level element whereas a <span> is an inline element.
1.1 damieng 8693: </div>
8694:
8695: Can contain text<br><div class="indentation">
8696: Choice between:<ul><li>
8697: <a href="#inlines_0">inlines</a><br>
8698: </li></ul>
8699: <a href="#coreattrs_0">coreattrs</a><br><br>
8700: </div>
1.2 ! damieng 8701: <br>Parents: <a href="#inlines_0">inlines</a><br><hr>
1.1 damieng 8702: <a name="a_0"></a><h3>Element <span class="nomtitre">a</span>
8703: </h3>
8704:
1.2 ! damieng 8705: <div class="documentation"> The HTML <a> Element (or the HTML Anchor Element) defines a hyperlink, the named target destination for a hyperlink, or both.
1.1 damieng 8706: </div>
8707:
8708: Can contain text<br><div class="indentation">
8709: Choice between:<ul><li>
8710: <a href="#inlines_0">inlines</a><br>
8711: </li></ul>
8712: <a href="#coreattrs_0">coreattrs</a><br><br>
8713: Attribute <span class="nomattribut">name</span>:
8714: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
8715:
1.2 ! damieng 8716: <div class="documentation"> HTML 4 only, Obsolete since HTML5.
1.1 damieng 8717:
8718: This attribute is required in an anchor defining a target location within a page. A value for name is similar to a value for the id core attribute and should be an alphanumeric identifier unique to the document. Under the HTML 4.01 specification, id and name both can be used with the <a> element as long as they have identical values.
8719:
8720: Usage note: This attribute is obsolete in HTML5, use global attribute id instead.
8721: </div>
8722:
8723: </div>
8724: Attribute <span class="nomattribut">href</span>:
8725: <div class="indentation">optional<br>type: <tt>xs:anyURI</tt><br>
8726:
1.2 ! damieng 8727: <div class="documentation"> This was the single required attribute for anchors defining a hypertext source link, but is no longer required in HTML5. Omitting this attribute creates a placeholder link. The href attribute indicates the link target, either a URL or a URL fragment. A URL fragment is a name preceded by a hash mark (#), which specifies an internal target location (an ID) within the current document. URLs are not restricted to Web (HTTP)-based documents. URLs might use any protocol supported by the browser. For example, file, ftp, and mailto work in most user agents.
1.1 damieng 8728:
8729: Note: You can use the special fragment "top" to create a link back to the top of the page; for example <a href="#top">Return to top</a>. This behavior is specified by HTML5.
8730: </div>
8731:
8732: </div>
8733: Attribute <span class="nomattribut">target</span>:
8734: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
8735:
1.2 ! damieng 8736: <div class="documentation"> This attribute specifies where to display the linked resource. In HTML4, this is the name of, or a keyword for, a frame. In HTML5, it is a name of, or keyword for, a browsing context (for example, tab, window, or inline frame). The following keywords have special meanings:
1.1 damieng 8737:
8738: * _self: Load the response into the same HTML4 frame (or HTML5 browsing context) as the current one. This value is the default if the attribute is not specified.
8739: * _blank: Load the response into a new unnamed HTML4 window or HTML5 browsing context.
8740: * _parent: Load the response into the HTML4 frameset parent of the current frame or HTML5 parent browsing context of the current one. If there is no parent, this option behaves the same way as _self.
8741: * _top: In HTML4: Load the response into the full, original window, canceling all other frames. In HTML5: Load the response into the top-level browsing context (that is, the browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this option behaves the same way as _self.
8742:
8743: Use this attribute only if the href attribute is present.
8744: </div>
8745:
8746: </div>
8747: Attribute <span class="nomattribut">title</span>:
8748: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
8749:
1.2 ! damieng 8750: <div class="documentation"> Contains a text representing advisory information related to the element it belongs to. Such information can typically, but not necessarily, be presented to the user as a tooltip.
1.1 damieng 8751: </div>
8752:
8753: </div>
8754: Attribute <span class="nomattribut">rel</span>:
8755: <div class="indentation">optional<br>type: <tt>xs:NMTOKENS</tt><br>
8756:
1.2 ! damieng 8757: <div class="documentation"> For anchors containing the href attribute, this attribute specifies the relationship of the target object to the link object. The value is a comma-separated list of link types values. The values and their semantics will be registered by some authority that might have meaning to the document author. The default relationship, if no other is given, is void. Use this attribute only if the href attribute is present.
1.1 damieng 8758: </div>
8759:
8760: </div>
8761: Attribute <span class="nomattribut">accesskey</span>:
8762: <div class="indentation">optional<br>
8763:
1.2 ! damieng 8764: <div class="documentation"> Provides a hint for generating a keyboard shortcut for the current element. This attribute consists of a space-separated list of characters. The browser should use the first one that exists on the computer keyboard layout.
1.1 damieng 8765: </div>
8766:
8767:
8768: Value restriction based on xs:string<ul>
8769:
8770: </ul>
8771:
8772: </div>
8773: Attribute <span class="nomattribut">onclick</span>:
8774: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
8775:
1.2 ! damieng 8776: <div class="documentation"> Javascript event handler content attribute for the "click" event.
1.1 damieng 8777:
8778: Warning: event handler content attributes should be avoided. They make the markup bigger and less readable. Concerns of content/structure and behavior are not well-separated, making a bug harder to find. Furthermore, usage of event attributes almost always causes scripts to expose global functions on the Window object, polluting the global namespace.
8779:
8780: The EventTarget.addEventListener() function should be used instead to add a listener for the event.
8781: </div>
8782:
8783: </div>
8784: Attribute <span class="nomattribut">uriprint</span>:
8785: <div class="indentation">optional<br>
8786:
1.2 ! damieng 8787: <div class="documentation"> Attribute specific to LON-CAPA.
1.1 damieng 8788: Display the href attribute when printing.
8789: </div>
8790:
8791:
8792: Value restriction based on xs:string<ul>
8793: <li><tt>on</tt></li>
8794: <li><tt>uriprint</tt></li>
8795: <li><tt>yes</tt></li>
8796: <li><tt>1</tt></li>
8797: </ul>
8798:
8799: </div>
8800: Attribute <span class="nomattribut">anchorprint</span>:
8801: <div class="indentation">optional<br>
8802:
1.2 ! damieng 8803: <div class="documentation"> Attribute specific to LON-CAPA.
1.1 damieng 8804: Display the name attribute when printing.
8805: </div>
8806:
8807:
8808: Value restriction based on xs:string<ul>
8809: <li><tt>on</tt></li>
8810: <li><tt>anchorprint</tt></li>
8811: <li><tt>yes</tt></li>
8812: <li><tt>1</tt></li>
8813: </ul>
8814:
8815: </div>
8816: </div>
1.2 ! damieng 8817: <br>Parents: <a href="#inlines_0">inlines</a><br><hr>
1.1 damieng 8818: <a name="em_0"></a><h3>Element <span class="nomtitre">em</span>
8819: </h3>type: <a href="#inlineBaseType_0">inlineBaseType</a><br>
8820:
1.2 ! damieng 8821: <div class="documentation"> The HTML Emphasis Element (<em>) marks text that has stress emphasis. The <em> element can be nested, with each level of nesting indicating a greater degree of emphasis.
1.1 damieng 8822: </div>
8823:
1.2 ! damieng 8824: <br>Parents: <a href="#inlines_0">inlines</a><br><hr>
1.1 damieng 8825: <a name="strong_0"></a><h3>Element <span class="nomtitre">strong</span>
8826: </h3>type: <a href="#inlineBaseType_0">inlineBaseType</a><br>
8827:
1.2 ! damieng 8828: <div class="documentation"> The HTML Strong Element (<strong>) gives text strong importance, and is typically displayed in bold.
1.1 damieng 8829: </div>
8830:
1.2 ! damieng 8831: <br>Parents: <a href="#inlines_0">inlines</a><br><hr>
1.1 damieng 8832: <a name="b_0"></a><h3>Element <span class="nomtitre">b</span>
8833: </h3>type: <a href="#inlineBaseType_0">inlineBaseType</a><br>
8834:
1.2 ! damieng 8835: <div class="documentation"> The HTML <b> Element represents a span of text stylistically different from normal text, without conveying any special importance or relevance. It is typically used for keywords in a summary, product names in a review, or other spans of text whose typical presentation would be boldfaced. Another example of its use is to mark the lead sentence of each paragraph of an article.
1.1 damieng 8836: </div>
8837:
1.2 ! damieng 8838: <br>Parents: <a href="#inlines_0">inlines</a><br><hr>
1.1 damieng 8839: <a name="i_0"></a><h3>Element <span class="nomtitre">i</span>
8840: </h3>type: <a href="#inlineBaseType_0">inlineBaseType</a><br>
8841:
1.2 ! damieng 8842: <div class="documentation"> The HTML <i> Element represents a range of text that is set off from the normal text for some reason, for example, technical terms, foreign language phrases, or fictional character thoughts. It is typically displayed in italic type.
1.1 damieng 8843: </div>
8844:
1.2 ! damieng 8845: <br>Parents: <a href="#inlines_0">inlines</a><br><hr>
1.1 damieng 8846: <a name="sup_0"></a><h3>Element <span class="nomtitre">sup</span>
8847: </h3>type: <a href="#inlineBaseType_0">inlineBaseType</a><br>
8848:
1.2 ! damieng 8849: <div class="documentation"> The HTML Superscript Element (<sup>) defines a span of text that should be displayed, for typographic reasons, higher, and often smaller, than the main span of text.
1.1 damieng 8850: </div>
8851:
1.2 ! damieng 8852: <br>Parents: <a href="#inlines_0">inlines</a><br><hr>
1.1 damieng 8853: <a name="sub_0"></a><h3>Element <span class="nomtitre">sub</span>
8854: </h3>type: <a href="#inlineBaseType_0">inlineBaseType</a><br>
8855:
1.2 ! damieng 8856: <div class="documentation"> The HTML Subscript Element (<sub>) defines a span of text that should be displayed, for typographic reasons, lower, and often smaller, than the main span of text.
1.1 damieng 8857: </div>
8858:
1.2 ! damieng 8859: <br>Parents: <a href="#inlines_0">inlines</a><br><hr>
1.1 damieng 8860: <a name="pre_0"></a><h3>Element <span class="nomtitre">pre</span>
8861: </h3>
8862:
1.2 ! damieng 8863: <div class="documentation"> The HTML <pre> Element (or HTML Preformatted Text) represents preformatted text. Text within this element is typically displayed in a non-proportional font exactly as it is laid out in the file. Whitespaces inside this element are displayed as typed.
1.1 damieng 8864: </div>
8865:
8866: Can contain text<br><div class="indentation">
8867: Choice between:<ul><li>
8868: <a href="#inlines_0">inlines</a><br>
8869: </li></ul>
8870: Attribute <span class="nomattribut"></span>:
8871: <div class="indentation">optional<br>
8872: </div>
8873: </div>
1.2 ! damieng 8874: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a><br><hr>
1.1 damieng 8875: <a name="code_0"></a><h3>Element <span class="nomtitre">code</span>
8876: </h3>type: <a href="#inlineBaseType_0">inlineBaseType</a><br>
8877:
1.2 ! damieng 8878: <div class="documentation"> The HTML <code> Element represents a fragment of computer code. By default, it is displayed in the browser's default monospace font.
1.1 damieng 8879: </div>
8880:
1.2 ! damieng 8881: <br>Parents: <a href="#inlines_0">inlines</a><br><hr>
1.1 damieng 8882: <a name="kbd_0"></a><h3>Element <span class="nomtitre">kbd</span>
8883: </h3>type: <a href="#inlineBaseType_0">inlineBaseType</a><br>
8884:
1.2 ! damieng 8885: <div class="documentation"> The HTML <kbd> Element (or HTML Keyboard Input Element) represents user input and produces an inline element displayed in the browser's default monotype font.
1.1 damieng 8886: </div>
8887:
1.2 ! damieng 8888: <br>Parents: <a href="#inlines_0">inlines</a><br><hr>
1.1 damieng 8889: <a name="samp_0"></a><h3>Element <span class="nomtitre">samp</span>
8890: </h3>type: <a href="#inlineBaseType_0">inlineBaseType</a><br>
8891:
1.2 ! damieng 8892: <div class="documentation"> The HTML <samp> element is an element intended to identify sample output from a computer program. It is usually displayed in the browser's default monotype font.
1.1 damieng 8893: </div>
8894:
1.2 ! damieng 8895: <br>Parents: <a href="#inlines_0">inlines</a><br><hr>
1.1 damieng 8896: <a name="cite_0"></a><h3>Element <span class="nomtitre">cite</span>
8897: </h3>type: <a href="#inlineBaseType_0">inlineBaseType</a><br>
8898:
1.2 ! damieng 8899: <div class="documentation"> The HTML <cite> Element (or HTML Citation Element) represents a reference to a creative work. It must include the title of a work, the name of the author, or a URL reference, which may be in an abbreviated form according to the conventions used for the addition of citation metadata.
1.1 damieng 8900:
8901: Usage Notes:
8902:
8903: A creative work may include a book, a paper, an essay, a poem, a score, a song, a script, a film, a TV show, a game, a sculpture, a painting, a theater production, a play, an opera, a musical, an exhibition, a legal case report, a computer program, , a web site, a web page, a blog post or comment, a forum post or comment, a tweet, a written or oral statement, etc.
8904: Use the cite attribute on a <blockquote> or <q> element to reference an online resource for a source.
8905:
8906:
8907: Style note:
8908:
8909: To avoid the default italic style from being used for the <cite> element use the CSS font-style property.
8910: </div>
8911:
1.2 ! damieng 8912: <br>Parents: <a href="#inlines_0">inlines</a><br><hr>
1.1 damieng 8913: <a name="q_0"></a><h3>Element <span class="nomtitre">q</span>
8914: </h3>
8915:
1.2 ! damieng 8916: <div class="documentation"> The HTML <q> Element (or HTML Quote Element) indicates that the enclosed text is a short inline quotation. This element is intended for short quotations that don't require paragraph breaks; for long quotations use <blockquote> element.
1.1 damieng 8917: </div>
8918:
8919: Can contain text<br><div class="indentation">
8920: Choice between:<ul><li>
8921: <a href="#inlines_0">inlines</a><br>
8922: </li></ul>
8923: Attribute <span class="nomattribut">cite</span>:
8924: <div class="indentation">optional<br>type: <tt>xs:anyURI</tt><br>
8925:
1.2 ! damieng 8926: <div class="documentation"> The value of this attribute is a URL that designates a source document or message for the information quoted. This attribute is intended to point to information explaining the context or the reference for the quote.
1.1 damieng 8927: </div>
8928:
8929: </div>
8930: </div>
1.2 ! damieng 8931: <br>Parents: <a href="#inlines_0">inlines</a><br><hr>
1.1 damieng 8932: <a name="tt_0"></a><h3>Element <span class="nomtitre">tt</span>
8933: </h3>type: <a href="#inlineBaseType_0">inlineBaseType</a><br>
8934:
1.2 ! damieng 8935: <div class="documentation"> This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it.
1.1 damieng 8936:
8937: The HTML Teletype Text Element (<tt>) produces an inline element displayed in the browser's default monotype font. This element was intended to style text as it would display on a fixed width display, such as a teletype. It probably is more common to display fixed width type using the <code> element.
8938: </div>
8939:
1.2 ! damieng 8940: <br>Parents: <a href="#inlines_0">inlines</a><br><hr>
1.1 damieng 8941: <a name="ins_0"></a><h3>Element <span class="nomtitre">ins</span>
8942: </h3>
8943:
1.2 ! damieng 8944: <div class="documentation"> The HTML <ins> Element (or HTML Inserted Text) HTML represents a range of text that has been added to a document.
1.1 damieng 8945: </div>
8946:
8947: Can contain text<br><div class="indentation">
8948:
8949:
8950: Attribute <span class="nomattribut">cite</span>:
8951: <div class="indentation">optional<br>type: <tt>xs:anyURI</tt><br>
8952: </div>
8953: Attribute <span class="nomattribut">datetime</span>:
8954: <div class="indentation">optional<br>type: <tt>xs:dateTime</tt><br>
8955: </div>
8956:
8957:
8958: </div>
1.2 ! damieng 8959: <br>Parents: <a href="#inlines_0">inlines</a><br><hr>
1.1 damieng 8960: <a name="del_0"></a><h3>Element <span class="nomtitre">del</span>
8961: </h3>
8962:
1.2 ! damieng 8963: <div class="documentation"> The HTML <del> element (or HTML Deleted Text Element) represents a range of text that has been deleted from a document. This element is often (but need not be) rendered with strike-through text.
1.1 damieng 8964: </div>
8965:
8966: Can contain text<br><div class="indentation">
8967:
8968:
8969: Attribute <span class="nomattribut">cite</span>:
8970: <div class="indentation">optional<br>type: <tt>xs:anyURI</tt><br>
8971: </div>
8972: Attribute <span class="nomattribut">datetime</span>:
8973: <div class="indentation">optional<br>type: <tt>xs:dateTime</tt><br>
8974: </div>
8975:
8976:
8977: </div>
1.2 ! damieng 8978: <br>Parents: <a href="#inlines_0">inlines</a><br><hr>
1.1 damieng 8979: <a name="var_0"></a><h3>Element <span class="nomtitre">var</span>
8980: </h3>type: <a href="#inlineBaseType_0">inlineBaseType</a><br>
8981:
1.2 ! damieng 8982: <div class="documentation"> The HTML Variable Element (<var>) represents a variable in a mathematical expression or a programming context.
1.1 damieng 8983: </div>
8984:
1.2 ! damieng 8985: <br>Parents: <a href="#inlines_0">inlines</a><br><hr>
1.1 damieng 8986: <a name="small_0"></a><h3>Element <span class="nomtitre">small</span>
8987: </h3>type: <a href="#inlineBaseType_0">inlineBaseType</a><br>
8988:
1.2 ! damieng 8989: <div class="documentation"> The HTML Small Element (<small>) makes the text font size one size smaller (for example, from large to medium, or from small to x-small) down to the browser's minimum font size. In HTML5, this element is repurposed to represent side-comments and small print, including copyright and legal text, independent of its styled presentation.
1.1 damieng 8990: </div>
8991:
1.2 ! damieng 8992: <br>Parents: <a href="#inlines_0">inlines</a><br><hr>
1.1 damieng 8993: <a name="big_0"></a><h3>Element <span class="nomtitre">big</span>
8994: </h3>type: <a href="#inlineBaseType_0">inlineBaseType</a><br>
8995:
1.2 ! damieng 8996: <div class="documentation"> This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it.
1.1 damieng 8997: </div>
8998:
1.2 ! damieng 8999: <br>Parents: <a href="#inlines_0">inlines</a><br><hr>
1.1 damieng 9000: <a name="br_0"></a><h3>Element <span class="nomtitre">br</span>
9001: </h3>
9002:
1.2 ! damieng 9003: <div class="documentation"> The HTML <br> Element (or HTML Line Break Element) produces a line break in text (carriage-return). It is useful for writing a poem or an address, where the division of lines is significant.
1.1 damieng 9004: </div>
9005:
9006: <div class="indentation">
9007: </div>
1.2 ! damieng 9008: <br>Parents: <a href="#inlines_0">inlines</a><br><hr>
1.1 damieng 9009: <a name="hr_0"></a><h3>Element <span class="nomtitre">hr</span>
9010: </h3>
9011:
1.2 ! damieng 9012: <div class="documentation"> The HTML <hr> element represents a thematic break between paragraph-level elements (for example, a change of scene in a story, or a shift of topic with a section). In previous versions of HTML, it represented a horizontal rule. It may still be displayed as a horizontal rule in visual browsers, but is now defined in semantic terms, rather than presentational terms.
1.1 damieng 9013: </div>
9014:
9015: <div class="indentation">
9016: <a href="#coreattrs_0">coreattrs</a><br><br>
9017: </div>
1.2 ! damieng 9018: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a><br><hr>
1.1 damieng 9019: <a name="address_0"></a><h3>Element <span class="nomtitre">address</span>
9020: </h3>
9021:
1.2 ! damieng 9022: <div class="documentation"> The HTML <address> Element may be used by authors to supply contact information for its nearest <article> or <body> ancestor; in the latter case, it applies to the whole document.
1.1 damieng 9023: </div>
9024:
9025: Can contain text<br><div class="indentation">
9026: Choice between:<ul><li>
9027: <a href="#text-only_0">text-only</a><br>
9028: </li></ul>
9029: <a href="#coreattrs_0">coreattrs</a><br><br>
9030: </div>
1.2 ! damieng 9031: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a><br><hr>
1.1 damieng 9032: <a name="blockquote_0"></a><h3>Element <span class="nomtitre">blockquote</span>
9033: </h3>
9034:
1.2 ! damieng 9035: <div class="documentation"> The HTML <blockquote> Element (or HTML Block Quotation Element) indicates that the enclosed text is an extended quotation. Usually, this is rendered visually by indentation (to change <blockquote> indent, use CSS margin property). A URL for the source of the quotation may be given using the cite attribute, while a text representation of the source can be given using the <cite> element.
1.1 damieng 9036: </div>
9037:
9038: Can contain text<br><div class="indentation">
9039: Choice between:<ul><li>
9040: <a href="#text-only_0">text-only</a><br>
9041: </li></ul>
9042: <a href="#coreattrs_0">coreattrs</a><br><br>
9043: Attribute <span class="nomattribut">cite</span>:
9044: <div class="indentation">optional<br>type: <tt>xs:anyURI</tt><br>
9045: </div>
9046: Attribute <span class="nomattribut">align</span>:
9047: <div class="indentation">optional<br>
9048:
9049: Value restriction based on xs:string<ul>
9050: <li><tt>center</tt></li>
9051: <li><tt>left</tt></li>
9052: <li><tt>right</tt></li>
9053: </ul>
9054:
9055: </div>
9056: </div>
1.2 ! damieng 9057: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a><br><hr>
1.1 damieng 9058: <a name="htmlLength_0"></a><h3>Simple type <span class="nomtitre">htmlLength</span>
9059: </h3>
9060:
1.2 ! damieng 9061: <div class="documentation"> nn for pixels or nn% for percentage length
1.1 damieng 9062: </div>
9063:
9064: Value restriction based on xs:string<ul>
9065: <li><tt>[\-+]?(\d+|\d+(\.\d+)?%)</tt></li>
9066: </ul>
9067: <hr>
9068: <a name="htmlLength-or-perl_0"></a><h3>Simple type <span class="nomtitre">htmlLength-or-perl</span>
9069: </h3>
1.2 ! damieng 9070: Union of types<ul>
! 9071: <li><a href="#htmlLength_0">htmlLength</a></li>
! 9072: <li><a href="#perl_0">perl</a></li>
! 9073: </ul>
1.1 damieng 9074: <hr>
9075: <a name="img_0"></a><h3>Element <span class="nomtitre">img</span>
9076: </h3>
9077:
1.2 ! damieng 9078: <div class="documentation"> The HTML <img> Element (or HTML Image Element) represents an image of the document.
1.1 damieng 9079:
9080: Usage note:
9081: Browsers do not always display the image referenced by the element. This is the case for non-graphical browsers (including those used by people with vision impairments), or if the user chooses not to display images, or if the browser is unable to display the image because it is invalid or an unsupported type. In these cases, the browser may replace the image with the text defined in this element's alt attribute.
9082: </div>
9083:
9084: <div class="indentation">
9085: <a href="#coreattrs_0">coreattrs</a><br><br>
9086: Attribute <span class="nomattribut">src</span>:
9087: <div class="indentation">required<br>type: <tt>xs:anyURI</tt><br>
9088:
1.2 ! damieng 9089: <div class="documentation"> Image URL.
1.1 damieng 9090: On browsers supporting srcset, src is ignored if this one is provided.
9091: </div>
9092:
9093: </div>
9094: Attribute <span class="nomattribut">alt</span>:
9095: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
9096:
1.2 ! damieng 9097: <div class="documentation"> This attribute defines the alternative text describing the image. Users will see this displayed if the image URL is wrong, the image is not in one of the supported formats, or until the image is downloaded.
1.1 damieng 9098:
9099: Usage note: Omitting this attribute indicates that the image is a key part of the content, but no textual equivalent is available. Setting this attribute to the empty string indicates that this image is not a key part of the content; non-visual browsers may omit it from rendering.
9100: </div>
9101:
9102: </div>
9103: Attribute <span class="nomattribut">width</span>:
9104: <div class="indentation">optional<br>type: <a href="#htmlLength-or-perl_0">htmlLength-or-perl</a><br>
9105:
1.2 ! damieng 9106: <div class="documentation"> The width of the image in pixels or percent.
1.1 damieng 9107: </div>
9108:
9109: </div>
9110: Attribute <span class="nomattribut">height</span>:
9111: <div class="indentation">optional<br>type: <a href="#htmlLength-or-perl_0">htmlLength-or-perl</a><br>
9112:
1.2 ! damieng 9113: <div class="documentation"> The height of the image in pixels or percent.
1.1 damieng 9114: </div>
9115:
9116: </div>
9117: Attribute <span class="nomattribut">TeXwidth</span>:
9118: <div class="indentation">optional<br>
9119:
1.2 ! damieng 9120: <div class="documentation"> Allows you to set the width of the image, in mm or %, as it will be rendered into the LaTeX document used to print the problem.
1.1 damieng 9121: </div>
9122:
9123:
1.2 ! damieng 9124: Union of types<ul>
! 9125: <li><a href="#perl_0">perl</a></li>
! 9126: <li>
1.1 damieng 9127: Value restriction based on xs:string<ul>
9128: <li><tt>[0-9]+(\.[0-9]+)?(\s*%)?</tt></li>
9129: </ul>
1.2 ! damieng 9130: </li>
! 9131: </ul>
1.1 damieng 9132:
9133: </div>
9134: Attribute <span class="nomattribut">TeXheight</span>:
9135: <div class="indentation">optional<br>type: <a href="#decimal-or-perl_0">decimal-or-perl</a><br>
9136:
1.2 ! damieng 9137: <div class="documentation"> Allows you to set the height of the image, in mm, as it will be rendered into the LaTeX document used to print the problem.
1.1 damieng 9138: </div>
9139:
9140: </div>
9141: Attribute <span class="nomattribut">align</span>:
9142: <div class="indentation">optional<br>
9143:
1.2 ! damieng 9144: <div class="documentation"> This attribute is deprecated since HTML 4.01 and obsolete since HTML5. Use the vertical-align CSS property instead.
1.1 damieng 9145:
9146: Specifies the alignment of the image relative to the enclosing text paragraph:
9147: - bottom: The image will be aligned so that its bottom will be at the baseline of the surrounding text.
9148: - middle: The image will be aligned so that its center-line will be at the baseline of the surrounding text.
9149: - top: The image will be aligned so that its top will be at the baseline of the surrounding text.
9150: - left: The image will be placed so that it is at the left of the surrounding text. The surrounding text will fill in the region to the right of the image.
9151: - right: The image will be placed so that it is at the right of the surrounding text. The surrounding text will fill in the region to the left of the image.
9152: </div>
9153:
9154:
1.2 ! damieng 9155: Union of types<ul>
! 9156: <li><a href="#perl_0">perl</a></li>
! 9157: <li>
1.1 damieng 9158: Value restriction based on xs:string<ul>
9159: <li><tt>bottom</tt></li>
9160: <li><tt>middle</tt></li>
9161: <li><tt>top</tt></li>
9162: <li><tt>left</tt></li>
9163: <li><tt>right</tt></li>
9164: </ul>
1.2 ! damieng 9165: </li>
! 9166: </ul>
1.1 damieng 9167:
9168: </div>
9169: Attribute <span class="nomattribut">TeXwrap</span>:
9170: <div class="indentation">optional<br>
9171:
1.2 ! damieng 9172: <div class="documentation"> Allows you to select how the LaTeX document will attempt to wrap text around a horizontally aligned image.
1.1 damieng 9173: parbox: \newline and \parbox will be used to place the image. This method ensures that text will not be wrapped on top of the image, however very little text will appear next to the image itself.
9174: parpic: The picins package \parpic command will be used to place the image. This will wrap the remainder of the paragraph containing the picture around the image.
9175: If, however, there is insufficient text to fill the space to the left or right of the image, the next paragraph may be wrapped on top of the image. In addition, \parpic does not always honor the end of the page, causing the image to extend below the page footer.
9176: </div>
9177:
9178:
1.2 ! damieng 9179: Union of types<ul>
! 9180: <li><a href="#perl_0">perl</a></li>
! 9181: <li>
1.1 damieng 9182: Value restriction based on xs:string<ul>
9183: <li><tt>none</tt></li>
9184: <li><tt>parbox</tt></li>
9185: <li><tt>parpic</tt></li>
9186: <li><tt>wrapfigure</tt></li>
9187: </ul>
1.2 ! damieng 9188: </li>
! 9189: </ul>
1.1 damieng 9190:
9191: </div>
9192: Attribute <span class="nomattribut">encrypturl</span>:
9193: <div class="indentation">optional<br>type: <a href="#yesno-or-perl_0">yesno-or-perl</a><br>
9194: </div>
9195: </div>
1.2 ! damieng 9196: <br>Parents: <a href="#inlines_0">inlines</a><br><hr>
1.1 damieng 9197: <a name="figure_0"></a><h3>Element <span class="nomtitre">figure</span>
9198: </h3>
9199:
1.2 ! damieng 9200: <div class="documentation"> The HTML <figure> Element represents self-contained content, frequently with a caption (<figcaption>), and is typically referenced as a single unit. While it is related to the main flow, its position is independent of the main flow. Usually this is an image, an illustration, a diagram, a code snippet, or a schema that is referenced in the main text, but that can be moved to another page or to an appendix without affecting the main flow.
1.1 damieng 9201:
9202: Usage note: A caption can be associated with the <figure> element by inserting a <figcaption> inside it (as the first or the last child).
9203: </div>
9204:
9205: Can contain text<br><div class="indentation">
9206: Choice between:<ul>
9207: <li>Sequence with:<ul>
9208: <li>
9209: <a href="#figcaption_0">figcaption</a><br>
9210: </li>
9211: <li>Choice between:<ul><li>
9212: <a href="#text-only_0">text-only</a><br>
9213: </li></ul>
9214: </li>
9215: </ul>
9216: </li>
9217: <li>Sequence with:<ul>
9218: <li>Choice between:<ul><li>
9219: <a href="#text-only_0">text-only</a><br>
9220: </li></ul>
9221: </li>
9222: <li>
9223: <a href="#figcaption_0">figcaption</a><br>
9224: </li>
9225: </ul>
9226: </li>
9227: </ul>
9228: <a href="#coreattrs_0">coreattrs</a><br><br>
9229: </div>
1.2 ! damieng 9230: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a><br><hr>
1.1 damieng 9231: <a name="figcaption_0"></a><h3>Element <span class="nomtitre">figcaption</span>
9232: </h3>
9233:
1.2 ! damieng 9234: <div class="documentation"> The HTML <figcaption> Element represents a caption or a legend associated with a figure or an illustration described by the rest of the data of the <figure> element which is its immediate ancestor which means <figcaption> can be the first or last element inside a <figure> block. Also, the HTML Figcaption Element is optional; if not provided, then the parent figure element will have no caption.
1.1 damieng 9235: </div>
9236:
9237: Can contain text<br><div class="indentation">
9238: Choice between:<ul><li>
9239: <a href="#text-only_0">text-only</a><br>
9240: </li></ul>
9241: </div>
1.2 ! damieng 9242: <br>Parents: <a href="#figure_0">figure</a><br><hr>
1.1 damieng 9243: <a name="object_0"></a><h3>Element <span class="nomtitre">object</span>
9244: </h3>
9245:
1.2 ! damieng 9246: <div class="documentation"> The HTML <object> Element (or HTML Embedded Object Element) represents an external resource, which can be treated as an image, a nested browsing context, or a resource to be handled by a plugin.
1.1 damieng 9247: </div>
9248:
9249: Can contain text<br><div class="indentation">
9250: Choice between:<ul>
9251: <li>
9252: <a href="#param_0">param</a><br>
9253: </li>
9254: <li>
9255: <a href="#text-only_0">text-only</a><br>
9256: </li>
9257: </ul>
9258: <a href="#coreattrs_0">coreattrs</a><br><br>
9259: Attribute <span class="nomattribut">classid</span>:
9260: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
9261:
1.2 ! damieng 9262: <div class="documentation"> The URI of the object's implementation. It can be used together with, or in place of, the data attribute.
1.1 damieng 9263: Obsolete since HTML5.
9264: </div>
9265:
9266: </div>
9267: Attribute <span class="nomattribut">codebase</span>:
9268: <div class="indentation">optional<br>type: <tt>xs:anyURI</tt><br>
9269:
1.2 ! damieng 9270: <div class="documentation"> The base path used to resolve relative URIs specified by classid, data, or archive. If not specified, the default is the base URI of the current document.
1.1 damieng 9271: Obsolete since HTML5.
9272: </div>
9273:
9274: </div>
9275: Attribute <span class="nomattribut">data</span>:
9276: <div class="indentation">optional<br>type: <tt>xs:anyURI</tt><br>
9277:
1.2 ! damieng 9278: <div class="documentation"> The address of the resource as a valid URL. At least one of data and type must be defined.
1.1 damieng 9279: </div>
9280:
9281: </div>
9282: Attribute <span class="nomattribut">type</span>:
9283: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
9284:
1.2 ! damieng 9285: <div class="documentation"> The content type of the resource specified by data. At least one of data and type must be defined.
1.1 damieng 9286: </div>
9287:
9288: </div>
9289: Attribute <span class="nomattribut">codetype</span>:
9290: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
9291:
1.2 ! damieng 9292: <div class="documentation"> The content type of the data specified by classid.
1.1 damieng 9293: Obsolete since HTML5.
9294: </div>
9295:
9296: </div>
9297: Attribute <span class="nomattribut">archive</span>:
9298: <div class="indentation">optional<br>
9299:
1.2 ! damieng 9300: <div class="documentation"> A space-separated list of URIs for archives of resources for the object.
1.1 damieng 9301: Obsolete since HTML5.
9302: </div>
9303:
9304:
9305:
9306:
9307: </div>
9308: Attribute <span class="nomattribut">standby</span>:
9309: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
9310:
1.2 ! damieng 9311: <div class="documentation"> A message that the browser can show while loading the object's implementation and data.
1.1 damieng 9312: Obsolete since HTML5.
9313: </div>
9314:
9315: </div>
9316: Attribute <span class="nomattribut">width</span>:
9317: <div class="indentation">optional<br>type: <a href="#htmlLength-or-perl_0">htmlLength-or-perl</a><br>
9318:
1.2 ! damieng 9319: <div class="documentation"> The width of the display resource, in CSS pixels.
1.1 damieng 9320: </div>
9321:
9322: </div>
9323: Attribute <span class="nomattribut">height</span>:
9324: <div class="indentation">optional<br>type: <a href="#htmlLength-or-perl_0">htmlLength-or-perl</a><br>
9325:
1.2 ! damieng 9326: <div class="documentation"> The height of the displayed resource, in CSS pixels.
1.1 damieng 9327: </div>
9328:
9329: </div>
9330: Attribute <span class="nomattribut">usemap</span>:
9331: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
9332:
1.2 ! damieng 9333: <div class="documentation"> A hash-name reference to a <map> element; that is a '#' followed by the value of a name of a map element.
1.1 damieng 9334: </div>
9335:
9336: </div>
9337: Attribute <span class="nomattribut">name</span>:
9338: <div class="indentation">optional<br>type: <tt>xs:NMTOKEN</tt><br>
9339:
1.2 ! damieng 9340: <div class="documentation"> The name of valid browsing context (HTML5), or the name of the control (HTML 4).
1.1 damieng 9341: </div>
9342:
9343: </div>
9344: </div>
1.2 ! damieng 9345: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a><br><hr>
1.1 damieng 9346: <a name="param_0"></a><h3>Element <span class="nomtitre">param</span>
9347: </h3>
9348:
1.2 ! damieng 9349: <div class="documentation"> The HTML <param> element is used to supply a named property value.
1.1 damieng 9350: </div>
9351:
9352: <div class="indentation">
9353: Attribute <span class="nomattribut">id</span>:
9354: <div class="indentation">optional<br>type: <tt>xs:ID</tt><br>
9355: </div>
9356: Attribute <span class="nomattribut">name</span>:
9357: <div class="indentation">optional<br>
9358:
1.2 ! damieng 9359: <div class="documentation"> Name of the parameter.
1.1 damieng 9360: </div>
9361:
9362: </div>
9363: Attribute <span class="nomattribut">value</span>:
9364: <div class="indentation">optional<br>
9365:
1.2 ! damieng 9366: <div class="documentation"> Specifies the value of the parameter.
1.1 damieng 9367: </div>
9368:
9369: </div>
9370: Attribute <span class="nomattribut">valuetype</span>:
9371: <div class="indentation">optional<br>
9372:
1.2 ! damieng 9373: <div class="documentation"> Obsolete in HTML5.
1.1 damieng 9374:
9375: Specifies the type of the value attribute.
9376: </div>
9377:
9378:
9379: Value restriction based on xs:token<ul>
9380: <li><tt>data</tt></li>
9381: <li><tt>ref</tt></li>
9382: <li><tt>object</tt></li>
9383: </ul>
9384:
9385: </div>
9386: Attribute <span class="nomattribut">type</span>:
9387: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
9388:
1.2 ! damieng 9389: <div class="documentation"> Obsolete in HTML5.
1.1 damieng 9390:
9391: Only used if the valuetype is set to "ref". Specifies the MIME type of values found at the URI specified by value.
9392: </div>
9393:
9394: </div>
9395: </div>
1.2 ! damieng 9396: <br>Parents: <a href="#object_0">object</a>, <a href="#applet_0">applet</a><br><hr>
1.1 damieng 9397: <a name="embed_0"></a><h3>Element <span class="nomtitre">embed</span>
9398: </h3>
9399:
1.2 ! damieng 9400: <div class="documentation"> The HTML <embed> Element represents an integration point for an external application or interactive content (in other words, a plug-in).
1.1 damieng 9401: </div>
9402:
9403: <div class="indentation">
9404: Attribute <span class="nomattribut">id</span>:
9405: <div class="indentation">optional<br>type: <tt>xs:ID</tt><br>
9406: </div>
9407: Attribute <span class="nomattribut">src</span>:
9408: <div class="indentation">optional<br>type: <tt>xs:anyURI</tt><br>
9409:
1.2 ! damieng 9410: <div class="documentation"> The URL of the resource being embedded.
1.1 damieng 9411: </div>
9412:
9413: </div>
9414: Attribute <span class="nomattribut">type</span>:
9415: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
9416:
1.2 ! damieng 9417: <div class="documentation"> The MIME type to use to select the plug-in to instantiate.
1.1 damieng 9418: </div>
9419:
9420: </div>
9421: Attribute <span class="nomattribut">width</span>:
9422: <div class="indentation">optional<br>type: <a href="#non-negative-int-or-perl_0">non-negative-int-or-perl</a><br>
9423:
1.2 ! damieng 9424: <div class="documentation"> The displayed width of the resource, in CSS pixels.
1.1 damieng 9425: </div>
9426:
9427: </div>
9428: Attribute <span class="nomattribut">height</span>:
9429: <div class="indentation">optional<br>type: <a href="#non-negative-int-or-perl_0">non-negative-int-or-perl</a><br>
9430:
1.2 ! damieng 9431: <div class="documentation"> The displayed height of the resource, in CSS pixels.
1.1 damieng 9432: </div>
9433:
9434: </div>
9435: </div>
1.2 ! damieng 9436: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a><br><hr>
1.1 damieng 9437: <a name="applet_0"></a><h3>Element <span class="nomtitre">applet</span>
9438: </h3>
9439:
1.2 ! damieng 9440: <div class="documentation"> This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it.
1.1 damieng 9441: </div>
9442:
9443: Can contain text<br><div class="indentation">
9444: Choice between:<ul>
9445: <li>
9446: <a href="#param_0">param</a><br>
9447: </li>
9448: <li>
9449: <a href="#text-only_0">text-only</a><br>
9450: </li>
9451: </ul>
9452: Attribute <span class="nomattribut">id</span>:
9453: <div class="indentation">optional<br>type: <tt>xs:ID</tt><br>
9454: </div>
9455: Attribute <span class="nomattribut">codebase</span>:
9456: <div class="indentation">optional<br>type: <tt>xs:anyURI</tt><br>
9457: </div>
9458: Attribute <span class="nomattribut">archive</span>:
9459: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
9460:
1.2 ! damieng 9461: <div class="documentation"> Comma-separated list of URIs for archives containing classes and other resources that will be "preloaded".
1.1 damieng 9462: </div>
9463:
9464: </div>
9465: Attribute <span class="nomattribut">code</span>:
9466: <div class="indentation">optional<br>
9467: </div>
9468: Attribute <span class="nomattribut">object</span>:
9469: <div class="indentation">optional<br>
9470: </div>
9471: Attribute <span class="nomattribut">alt</span>:
9472: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
9473: </div>
9474: Attribute <span class="nomattribut">name</span>:
9475: <div class="indentation">optional<br>type: <tt>xs:NMTOKEN</tt><br>
9476: </div>
9477: Attribute <span class="nomattribut">width</span>:
9478: <div class="indentation">required<br>type: <a href="#non-negative-int-or-perl_0">non-negative-int-or-perl</a><br>
9479: </div>
9480: Attribute <span class="nomattribut">height</span>:
9481: <div class="indentation">required<br>type: <a href="#non-negative-int-or-perl_0">non-negative-int-or-perl</a><br>
9482: </div>
9483: Attribute <span class="nomattribut">align</span>:
9484: <div class="indentation">optional<br>
9485:
9486: Value restriction based on xs:token<ul>
9487: <li><tt>top</tt></li>
9488: <li><tt>middle</tt></li>
9489: <li><tt>bottom</tt></li>
9490: <li><tt>left</tt></li>
9491: <li><tt>right</tt></li>
9492: </ul>
9493:
9494: </div>
9495: Attribute <span class="nomattribut">hspace</span>:
9496: <div class="indentation">optional<br>type: <tt>xs:nonNegativeInteger</tt><br>
9497: </div>
9498: Attribute <span class="nomattribut">vspace</span>:
9499: <div class="indentation">optional<br>type: <tt>xs:nonNegativeInteger</tt><br>
9500: </div>
9501: </div>
1.2 ! damieng 9502: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a><br><hr>
1.1 damieng 9503: <a name="video_0"></a><h3>Element <span class="nomtitre">video</span>
9504: </h3>
9505:
1.2 ! damieng 9506: <div class="documentation"> The HTML <video> element is used to embed video content. It may contain several video sources, represented using the src attribute or the <source> element; the browser will choose the most suitable one.
1.1 damieng 9507: </div>
9508:
9509: Can contain text<br><div class="indentation">
9510: Choice between:<ul><li>
9511: <a href="#source_0">source</a><br>
9512: </li></ul>
9513: <a href="#coreattrs_0">coreattrs</a><br><br>
9514: Attribute <span class="nomattribut">src</span>:
9515: <div class="indentation">optional<br>type: <tt>xs:anyURI</tt><br>
9516: </div>
9517: Attribute <span class="nomattribut">width</span>:
9518: <div class="indentation">optional<br>type: <a href="#non-negative-int-or-perl_0">non-negative-int-or-perl</a><br>
9519: </div>
9520: Attribute <span class="nomattribut">height</span>:
9521: <div class="indentation">optional<br>type: <a href="#non-negative-int-or-perl_0">non-negative-int-or-perl</a><br>
9522: </div>
9523: Attribute <span class="nomattribut">autoplay</span>:
9524: <div class="indentation">optional<br>
9525:
9526: Value restriction based on xs:string<ul>
9527: <li><tt>autoplay</tt></li>
9528: </ul>
9529:
9530: </div>
9531: Attribute <span class="nomattribut">controls</span>:
9532: <div class="indentation">optional<br>
9533:
9534: Value restriction based on xs:string<ul>
9535: <li><tt>controls</tt></li>
9536: </ul>
9537:
9538: </div>
9539: Attribute <span class="nomattribut">loop</span>:
9540: <div class="indentation">optional<br>
9541:
9542: Value restriction based on xs:string<ul>
9543: <li><tt>loop</tt></li>
9544: </ul>
9545:
9546: </div>
9547: </div>
1.2 ! damieng 9548: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a><br><hr>
1.1 damieng 9549: <a name="source_0"></a><h3>Element <span class="nomtitre">source</span>
9550: </h3>
9551:
1.2 ! damieng 9552: <div class="documentation"> The HTML <source> element is used to specify multiple media resources for <picture>, <audio> and <video> elements. It is an empty element. It is commonly used to serve the same media in multiple formats supported by different browsers.
1.1 damieng 9553: </div>
9554:
9555: <div class="indentation">
9556: Attribute <span class="nomattribut">src</span>:
9557: <div class="indentation">required<br>type: <tt>xs:anyURI</tt><br>
9558: </div>
9559: Attribute <span class="nomattribut">type</span>:
9560: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
9561: </div>
9562: </div>
1.2 ! damieng 9563: <br>Parents: <a href="#video_0">video</a>, <a href="#audio_0">audio</a><br><hr>
1.1 damieng 9564: <a name="audio_0"></a><h3>Element <span class="nomtitre">audio</span>
9565: </h3>
9566:
1.2 ! damieng 9567: <div class="documentation"> The HTML <audio> element is used to embed sound content in documents. It may contain several audio sources, represented using the src attribute or the <source> element; the browser will choose the most suitable one.
1.1 damieng 9568: </div>
9569:
9570: Can contain text<br><div class="indentation">
9571: Choice between:<ul><li>
9572: <a href="#source_0">source</a><br>
9573: </li></ul>
9574: <a href="#coreattrs_0">coreattrs</a><br><br>
9575: Attribute <span class="nomattribut">src</span>:
9576: <div class="indentation">optional<br>type: <tt>xs:anyURI</tt><br>
9577: </div>
9578: Attribute <span class="nomattribut">autoplay</span>:
9579: <div class="indentation">optional<br>
9580:
9581: Value restriction based on xs:string<ul>
9582: <li><tt>autoplay</tt></li>
9583: </ul>
9584:
9585: </div>
9586: Attribute <span class="nomattribut">controls</span>:
9587: <div class="indentation">optional<br>
9588:
9589: Value restriction based on xs:string<ul>
9590: <li><tt>controls</tt></li>
9591: </ul>
9592:
9593: </div>
9594: Attribute <span class="nomattribut">loop</span>:
9595: <div class="indentation">optional<br>
9596:
9597: Value restriction based on xs:string<ul>
9598: <li><tt>loop</tt></li>
9599: </ul>
9600:
9601: </div>
9602: </div>
1.2 ! damieng 9603: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a><br><hr>
1.1 damieng 9604:
9605: <a name="map_0"></a><h3>Element <span class="nomtitre">map</span>
9606: </h3>
9607:
1.2 ! damieng 9608: <div class="documentation"> The HTML <map> element is used with <area> elements to define an image map (a clickable link area).
1.1 damieng 9609: </div>
9610:
9611: <div class="indentation">
9612: Choice between:<ul>
9613: <li>Choice between:<ul><li>
9614: <a href="#blocks-with-text_0">blocks-with-text</a><br>
9615: </li></ul>
9616: </li>
9617: <li>
9618: <a href="#area_0">area</a><br>
9619: </li>
9620: </ul>
9621: Attribute <span class="nomattribut">id</span>:
9622: <div class="indentation">required<br>type: <tt>xs:ID</tt><br>
9623: </div>
9624: Attribute <span class="nomattribut">class</span>:
9625: <div class="indentation">optional<br>type: <tt>xs:NMTOKENS</tt><br>
9626: </div>
9627: Attribute <span class="nomattribut">style</span>:
9628: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
9629: </div>
9630: Attribute <span class="nomattribut">title</span>:
9631: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
9632: </div>
9633: Attribute <span class="nomattribut">name</span>:
9634: <div class="indentation">optional<br>type: <tt>xs:NMTOKEN</tt><br>
9635: </div>
9636: </div>
1.2 ! damieng 9637: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a><br><hr>
1.1 damieng 9638: <a name="area_0"></a><h3>Element <span class="nomtitre">area</span>
9639: </h3>
9640:
1.2 ! damieng 9641: <div class="documentation"> The HTML <area> element defines a hot-spot region on an image, and optionally associates it with a hypertext link. This element is used only within a <map> element.
1.1 damieng 9642: </div>
9643:
9644: <div class="indentation">
9645: Attribute <span class="nomattribut">shape</span>:
9646: <div class="indentation">optional<br>
9647:
1.2 ! damieng 9648: <div class="documentation"> The shape of the associated hot spot. The specifications for HTML 5 and HTML 4 define the values rect, which defines a rectangular region; circle, which defines a circular region; poly, which defines a polygon; and default, which indicates the entire region beyond any defined shapes.
1.1 damieng 9649: Many browsers, notably Internet Explorer 4 and higher, support circ, polygon, and rectangle as valid values for shape; these values are *not standard*.
9650: </div>
9651:
9652:
9653: Value restriction based on xs:token<ul>
9654: <li><tt>rect</tt></li>
9655: <li><tt>circle</tt></li>
9656: <li><tt>poly</tt></li>
9657: <li><tt>default</tt></li>
9658: </ul>
9659:
9660: </div>
9661: Attribute <span class="nomattribut">coords</span>:
9662: <div class="indentation">optional<br>
9663:
1.2 ! damieng 9664: <div class="documentation"> A set of values specifying the coordinates of the hot-spot region. The number and meaning of the values depend upon the value specified for the shape attribute. For a rect or rectangle shape, the coords value is two x,y pairs: left, top, right, and bottom. For a circle shape, the value is x,y,r where x,y is a pair specifying the center of the circle and r is a value for the radius. For a poly or polygon< shape, the value is a set of x,y pairs for each point in the polygon: x1,y1,x2,y2,x3,y3, and so on. In HTML4, the values are numbers of pixels or percentages, if a percent sign (%) is appended; in HTML5, the values are numbers of CSS pixels.
1.1 damieng 9665: </div>
9666:
9667:
9668: Value restriction based on xs:string<ul>
9669: <li><tt>[\-+]?(\d+|\d+(\.\d+)?%)(,\s*[\-+]?(\d+|\d+(\.\d+)?%))*</tt></li>
9670: </ul>
9671:
9672: </div>
9673: Attribute <span class="nomattribut">href</span>:
9674: <div class="indentation">optional<br>type: <tt>xs:anyURI</tt><br>
9675:
1.2 ! damieng 9676: <div class="documentation"> The hyperlink target for the area. Its value is a valid URL. In HTML4, either this attribute or the nohref attribute must be present in the element. In HTML5, this attribute may be omitted; if so, the area element does not represent a hyperlink.
1.1 damieng 9677: </div>
9678:
9679: </div>
9680: Attribute <span class="nomattribut">nohref</span>:
9681: <div class="indentation">optional<br>
9682:
1.2 ! damieng 9683: <div class="documentation"> Indicates that no hyperlink exists for the associated area. Either this attribute or the href attribute must be present in the element.
1.1 damieng 9684:
9685: Usage note: This attribute is obsolete in HTML5, instead omitting the href attribute is sufficient.
9686: </div>
9687:
9688:
9689: Value restriction based on xs:token<ul>
9690: <li><tt>nohref</tt></li>
9691: </ul>
9692:
9693: </div>
9694: Attribute <span class="nomattribut">alt</span>:
9695: <div class="indentation">required<br>type: <tt>xs:string</tt><br>
9696:
1.2 ! damieng 9697: <div class="documentation"> A text string alternative to display on browsers that do not display images. The text should be phrased so that it presents the user with the same kind of choice as the image would offer when displayed without the alternative text. In HTML4, this attribute is required, but may be the empty string (""). In HTML5, this attribute is required only if the href attribute is used.
1.1 damieng 9698: </div>
9699:
9700: </div>
9701: </div>
1.2 ! damieng 9702: <br>Parents: <a href="#map_0">map</a><br><hr>
1.1 damieng 9703: <a name="canvas_0"></a><h3>Element <span class="nomtitre">canvas</span>
9704: </h3>
9705:
1.2 ! damieng 9706: <div class="documentation"> The HTML <canvas> Element can be used to draw graphics via scripting (usually JavaScript). For example, it can be used to draw graphs, make photo compositions or even perform animations. You may (and should) provide alternate content inside the <canvas> block. That content will be rendered both on older browsers that don't support canvas and in browsers with JavaScript disabled.
1.1 damieng 9707: </div>
9708:
9709: Can contain text<br><div class="indentation">
9710: Choice between:<ul>
9711: <li>
9712: <a href="#blocks-with-text_0">blocks-with-text</a><br>
9713: </li>
9714: <li>
9715: <a href="#inlines_0">inlines</a><br>
9716: </li>
9717: </ul>
9718: <a href="#coreattrs_0">coreattrs</a><br><br>
9719: Attribute <span class="nomattribut">width</span>:
9720: <div class="indentation">optional<br>type: <a href="#htmlLength-or-perl_0">htmlLength-or-perl</a><br>
9721:
1.2 ! damieng 9722: <div class="documentation"> The width of the coordinate space in CSS pixels.
1.1 damieng 9723: </div>
9724:
9725: </div>
9726: Attribute <span class="nomattribut">height</span>:
9727: <div class="indentation">optional<br>type: <a href="#htmlLength-or-perl_0">htmlLength-or-perl</a><br>
9728:
1.2 ! damieng 9729: <div class="documentation"> The height of the coordinate space in CSS pixels.
1.1 damieng 9730: </div>
9731:
9732: </div>
9733: </div>
1.2 ! damieng 9734: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a><br><hr>
1.1 damieng 9735:
9736: <a name="form_1"></a><h3>Element <span class="nomtitre">form</span>
9737: </h3>
9738:
1.2 ! damieng 9739: <div class="documentation"> The HTML <form> element represents a document section that contains interactive controls to submit information to a web server.
1.1 damieng 9740: </div>
9741:
9742: <div class="indentation">
9743: Choice between:<ul><li>
9744: <a href="#blocks-with-text_0">blocks-with-text</a><br>
9745: </li></ul>
9746: <a href="#coreattrs_0">coreattrs</a><br><br>
9747: Attribute <span class="nomattribut">action</span>:
9748: <div class="indentation">optional<br>type: <tt>xs:anyURI</tt><br>
9749:
1.2 ! damieng 9750: <div class="documentation"> The URI of a program that processes the form information.
1.1 damieng 9751:
9752: In HTML5, the action attribute is no longer required.
9753: </div>
9754:
9755: </div>
9756: Attribute <span class="nomattribut">method</span>:
9757: <div class="indentation">optional<br>
9758:
1.2 ! damieng 9759: <div class="documentation"> The HTTP method that the browser uses to submit the form. Possible values are:
1.1 damieng 9760:
9761: - post: Corresponds to the HTTP POST method ; form data are included in the body of the form and sent to the server.
9762:
9763: - get: Corresponds to the HTTP GET method; form data are appended to the action attribute URI with a '?' as separator, and the resulting URI is sent to the server. Use this method when the form has no side-effects and contains only ASCII characters.
9764: </div>
9765:
9766:
9767: Value restriction based on xs:token<ul>
9768: <li><tt>get</tt></li>
9769: <li><tt>post</tt></li>
9770: </ul>
9771:
9772: </div>
9773: Attribute <span class="nomattribut">enctype</span>:
9774: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
9775:
1.2 ! damieng 9776: <div class="documentation"> When the value of the method attribute is post, enctype is the MIME type of content that is used to submit the form to the server. Possible values are:
1.1 damieng 9777:
9778: - application/x-www-form-urlencoded: The default value if the attribute is not specified.
9779: - multipart/form-data: The value used for an <input> element with the type attribute set to "file".
9780: - text/plain (HTML5)
9781: </div>
9782:
9783: </div>
9784: Attribute <span class="nomattribut">accept-charset</span>:
9785: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
9786:
1.2 ! damieng 9787: <div class="documentation"> A space- or comma-delimited list of character encodings that the server accepts. The browser uses them in the order in which they are listed. The default value, the reserved string "UNKNOWN", indicates the same encoding as that of the document containing the form element.
1.1 damieng 9788:
9789: In previous versions of HTML, the different character encodings could be delimited by spaces or commas. In HTML5, only spaces are allowed as delimiters.
9790: </div>
9791:
9792: </div>
9793: Attribute <span class="nomattribut">name</span>:
9794: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
9795:
1.2 ! damieng 9796: <div class="documentation"> The name of the form. In HTML 4, its use is deprecated (id should be used instead). It must be unique among the forms in a document and not just an empty string in HTML 5.
1.1 damieng 9797: </div>
9798:
9799: </div>
9800: Attribute <span class="nomattribut">accept</span>:
9801: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
9802:
1.2 ! damieng 9803: <div class="documentation"> A comma-separated list of content types that the server accepts.
1.1 damieng 9804:
9805: Usage note: This attribute has been removed in HTML5 and should no longer be used. Instead, use the accept attribute of the specific <input> element.
9806: </div>
9807:
9808: </div>
9809: Attribute <span class="nomattribut">onsubmit</span>:
9810: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
9811: </div>
9812: Attribute <span class="nomattribut">onreset</span>:
9813: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
9814: </div>
9815: </div>
1.2 ! damieng 9816: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a><br><hr>
1.1 damieng 9817: <a name="label_6"></a><h3>Element <span class="nomtitre">label</span>
9818: </h3>
9819:
1.2 ! damieng 9820: <div class="documentation"> The HTML <label> Element represents a caption for an item in a user interface. It can be associated with a control either by placing the control element inside the label element, or by using the for attribute. Such a control is called the labeled control of the label element.
1.1 damieng 9821: </div>
9822:
9823: Can contain text<br><div class="indentation">
9824:
9825:
9826: Attribute <span class="nomattribut">for</span>:
9827: <div class="indentation">optional<br>type: <tt>xs:IDREF</tt><br>
9828:
1.2 ! damieng 9829: <div class="documentation"> The ID of a labelable form-related element in the same document as the label element. The first such element in the document with an ID matching the value of the for attribute is the labeled control for this label element.
1.1 damieng 9830: </div>
9831:
9832: </div>
9833: Attribute <span class="nomattribut">accesskey</span>:
9834: <div class="indentation">optional<br>
9835:
1.2 ! damieng 9836: <div class="documentation"> A shortcut key to access this element from the keyboard.
1.1 damieng 9837: </div>
9838:
9839:
9840: Value restriction based on xs:string<ul>
9841:
9842: </ul>
9843:
9844: </div>
9845: Attribute <span class="nomattribut">form</span>:
9846: <div class="indentation">optional<br>type: <tt>xs:IDREF</tt><br>
9847:
1.2 ! damieng 9848: <div class="documentation"> The form element that the label element is associated with (its form owner). If specified, the value of the attribute must be the ID of a <form> element in the same document. This attribute enables you to place label elements anywhere within a document, not just as descendants of their form elements.
1.1 damieng 9849: </div>
9850:
9851: </div>
9852: Attribute <span class="nomattribut">onfocus</span>:
9853: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
9854: </div>
9855: Attribute <span class="nomattribut">onblur</span>:
9856: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
9857: </div>
9858:
9859:
9860: </div>
1.2 ! damieng 9861: <br>Parents: <a href="#inlines_0">inlines</a><br><hr>
1.1 damieng 9862: <a name="InputType_0"></a><h3>Simple type <span class="nomtitre">InputType</span>
9863: </h3>
9864: Value restriction based on xs:token<ul>
9865: <li><tt>text</tt></li>
9866: <li><tt>password</tt></li>
9867: <li><tt>checkbox</tt></li>
9868: <li><tt>radio</tt></li>
9869: <li><tt>submit</tt></li>
9870: <li><tt>reset</tt></li>
9871: <li><tt>file</tt></li>
9872: <li><tt>hidden</tt></li>
9873: <li><tt>image</tt></li>
9874: <li><tt>button</tt></li>
9875: </ul>
9876: <hr>
9877: <a name="input_0"></a><h3>Element <span class="nomtitre">input</span>
9878: </h3>
9879:
1.2 ! damieng 9880: <div class="documentation"> The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from user.
1.1 damieng 9881: </div>
9882:
9883: <div class="indentation">
9884: <a href="#coreattrs_0">coreattrs</a><br><br>
9885: Attribute <span class="nomattribut">type</span>:
9886: <div class="indentation">optional<br>type: <a href="#InputType_0">InputType</a><br>
9887: </div>
9888: Attribute <span class="nomattribut">name</span>:
9889: <div class="indentation">optional<br>
9890:
1.2 ! damieng 9891: <div class="documentation"> the name attribute is required for all but submit & reset
1.1 damieng 9892: </div>
9893:
9894: </div>
9895: Attribute <span class="nomattribut">value</span>:
9896: <div class="indentation">optional<br>
9897: </div>
9898: Attribute <span class="nomattribut">checked</span>:
9899: <div class="indentation">optional<br>
9900:
9901: Value restriction based on xs:token<ul>
9902: <li><tt>checked</tt></li>
9903: </ul>
9904:
9905: </div>
9906: Attribute <span class="nomattribut">disabled</span>:
9907: <div class="indentation">optional<br>
9908:
9909: Value restriction based on xs:token<ul>
9910: <li><tt>disabled</tt></li>
9911: </ul>
9912:
9913: </div>
9914: Attribute <span class="nomattribut">readonly</span>:
9915: <div class="indentation">optional<br>
9916:
9917: Value restriction based on xs:token<ul>
9918: <li><tt>readonly</tt></li>
9919: </ul>
9920:
9921: </div>
9922: Attribute <span class="nomattribut">size</span>:
9923: <div class="indentation">optional<br>
9924: </div>
9925: Attribute <span class="nomattribut">maxlength</span>:
9926: <div class="indentation">optional<br>type: <tt>xs:nonNegativeInteger</tt><br>
9927: </div>
9928: Attribute <span class="nomattribut">src</span>:
9929: <div class="indentation">optional<br>type: <tt>xs:anyURI</tt><br>
9930: </div>
9931: Attribute <span class="nomattribut">alt</span>:
9932: <div class="indentation">optional<br>
9933: </div>
9934: Attribute <span class="nomattribut">usemap</span>:
9935: <div class="indentation">optional<br>type: <tt>xs:anyURI</tt><br>
9936: </div>
9937: Attribute <span class="nomattribut">onselect</span>:
9938: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
9939: </div>
9940: Attribute <span class="nomattribut">onchange</span>:
9941: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
9942: </div>
9943: Attribute <span class="nomattribut">accept</span>:
9944: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
9945: </div>
9946: Attribute <span class="nomattribut">onclick</span>:
9947: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
9948:
1.2 ! damieng 9949: <div class="documentation"> Javascript event handler content attribute for the "click" event.
1.1 damieng 9950:
9951: Warning: event handler content attributes should be avoided. They make the markup bigger and less readable. Concerns of content/structure and behavior are not well-separated, making a bug harder to find. Furthermore, usage of event attributes almost always causes scripts to expose global functions on the Window object, polluting the global namespace.
9952:
9953: The EventTarget.addEventListener() function should be used instead to add a listener for the event.
9954: </div>
9955:
9956: </div>
9957: </div>
1.2 ! damieng 9958: <br>Parents: <a href="#inlines_0">inlines</a><br><hr>
1.1 damieng 9959: <a name="select_0"></a><h3>Element <span class="nomtitre">select</span>
9960: </h3>
9961:
1.2 ! damieng 9962: <div class="documentation"> The HTML select (<select>) element represents a control that presents a menu of options. The options within the menu are represented by <option> elements, which can be grouped by <optgroup> elements. Options can be pre-selected for the user.
1.1 damieng 9963: </div>
9964:
9965: <div class="indentation">
9966: Choice between:<ul>
9967: <li>
9968: <a href="#optgroup_0">optgroup</a><br>
9969: </li>
9970: <li>
9971: <a href="#option_0">option</a><br>
9972: </li>
9973: </ul>
9974: Attribute <span class="nomattribut">name</span>:
9975: <div class="indentation">optional<br>
9976: </div>
9977: Attribute <span class="nomattribut">size</span>:
9978: <div class="indentation">optional<br>type: <tt>xs:nonNegativeInteger</tt><br>
9979: </div>
9980: Attribute <span class="nomattribut">multiple</span>:
9981: <div class="indentation">optional<br>
9982:
9983: Value restriction based on xs:token<ul>
9984: <li><tt>multiple</tt></li>
9985: </ul>
9986:
9987: </div>
9988: Attribute <span class="nomattribut">disabled</span>:
9989: <div class="indentation">optional<br>
9990:
9991: Value restriction based on xs:token<ul>
9992: <li><tt>disabled</tt></li>
9993: </ul>
9994:
9995: </div>
9996: Attribute <span class="nomattribut">tabindex</span>:
9997: <div class="indentation">optional<br>type: <tt>xs:nonNegativeInteger</tt><br>
9998: </div>
9999: Attribute <span class="nomattribut">onfocus</span>:
10000: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
10001: </div>
10002: Attribute <span class="nomattribut">onblur</span>:
10003: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
10004: </div>
10005: Attribute <span class="nomattribut">onchange</span>:
10006: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
10007: </div>
10008: </div>
1.2 ! damieng 10009: <br>Parents: <a href="#inlines_0">inlines</a><br><hr>
1.1 damieng 10010: <a name="optgroup_0"></a><h3>Element <span class="nomtitre">optgroup</span>
10011: </h3>
10012:
1.2 ! damieng 10013: <div class="documentation"> In a Web form, the HTML <optgroup> element creates a grouping of options within a <select> element.
1.1 damieng 10014: </div>
10015:
10016: <div class="indentation">
10017: Sequence with:<ul><li>
10018: <a href="#option_0">option</a><br>
10019: </li></ul>
10020: Attribute <span class="nomattribut">disabled</span>:
10021: <div class="indentation">optional<br>
10022:
10023: Value restriction based on xs:token<ul>
10024: <li><tt>disabled</tt></li>
10025: </ul>
10026:
10027: </div>
10028: Attribute <span class="nomattribut">label</span>:
10029: <div class="indentation">required<br>type: <tt>xs:string</tt><br>
10030: </div>
10031: </div>
1.2 ! damieng 10032: <br>Parents: <a href="#select_0">select</a><br><hr>
1.1 damieng 10033: <a name="option_0"></a><h3>Element <span class="nomtitre">option</span>
10034: </h3>
10035:
1.2 ! damieng 10036: <div class="documentation"> In a Web form, the HTML <option> element is used to create a control representing an item within a <select>, an <optgroup> or a <datalist> HTML5 element.
1.1 damieng 10037: </div>
10038:
10039: Can contain text<br><div class="indentation">
10040: Attribute <span class="nomattribut">selected</span>:
10041: <div class="indentation">optional<br>
10042:
10043: Value restriction based on xs:token<ul>
10044: <li><tt>selected</tt></li>
10045: </ul>
10046:
10047: </div>
10048: Attribute <span class="nomattribut">disabled</span>:
10049: <div class="indentation">optional<br>
10050:
10051: Value restriction based on xs:token<ul>
10052: <li><tt>disabled</tt></li>
10053: </ul>
10054:
10055: </div>
10056: Attribute <span class="nomattribut">label</span>:
10057: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
10058: </div>
10059: Attribute <span class="nomattribut">value</span>:
10060: <div class="indentation">optional<br>
10061: </div>
10062: </div>
1.2 ! damieng 10063: <br>Parents: <a href="#select_0">select</a>, <a href="#optgroup_0">optgroup</a><br><hr>
1.1 damieng 10064: <a name="textarea_0"></a><h3>Element <span class="nomtitre">textarea</span>
10065: </h3>
10066:
1.2 ! damieng 10067: <div class="documentation"> The HTML <textarea> element represents a multi-line plain-text editing control.
1.1 damieng 10068: </div>
10069:
10070: Can contain text<br><div class="indentation">
10071: Attribute <span class="nomattribut">name</span>:
10072: <div class="indentation">optional<br>
10073: </div>
10074: Attribute <span class="nomattribut">rows</span>:
10075: <div class="indentation">required<br>type: <tt>xs:nonNegativeInteger</tt><br>
10076: </div>
10077: Attribute <span class="nomattribut">cols</span>:
10078: <div class="indentation">required<br>type: <tt>xs:nonNegativeInteger</tt><br>
10079: </div>
10080: Attribute <span class="nomattribut">disabled</span>:
10081: <div class="indentation">optional<br>
10082:
10083: Value restriction based on xs:token<ul>
10084: <li><tt>disabled</tt></li>
10085: </ul>
10086:
10087: </div>
10088: Attribute <span class="nomattribut">readonly</span>:
10089: <div class="indentation">optional<br>
10090:
10091: Value restriction based on xs:token<ul>
10092: <li><tt>readonly</tt></li>
10093: </ul>
10094:
10095: </div>
10096: Attribute <span class="nomattribut">onselect</span>:
10097: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
10098: </div>
10099: Attribute <span class="nomattribut">onchange</span>:
10100: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
10101: </div>
10102: </div>
1.2 ! damieng 10103: <br>Parents: <a href="#inlines_0">inlines</a><br><hr>
1.1 damieng 10104: <a name="fieldset_0"></a><h3>Element <span class="nomtitre">fieldset</span>
10105: </h3>
10106:
1.2 ! damieng 10107: <div class="documentation"> The HTML <fieldset> element is used to group several controls as well as labels (<label>) within a web form.
1.1 damieng 10108:
10109: Only one legend element should occur in the content, and if present should only be preceded by whitespace.
10110: </div>
10111:
10112: Can contain text<br><div class="indentation">
10113: Sequence with:<ul>
10114: <li>
10115: <a href="#legend_0">legend</a><br>
10116: </li>
10117: <li>Choice between:<ul><li>
10118: <a href="#text-only_0">text-only</a><br>
10119: </li></ul>
10120: </li>
10121: </ul>
10122: </div>
1.2 ! damieng 10123: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a><br><hr>
1.1 damieng 10124: <a name="legend_0"></a><h3>Element <span class="nomtitre">legend</span>
10125: </h3>
10126:
1.2 ! damieng 10127: <div class="documentation"> The HTML <legend> Element (or HTML Legend Field Element) represents a caption for the content of its parent <fieldset>.
1.1 damieng 10128: </div>
10129:
10130: Can contain text<br><div class="indentation">
10131:
10132:
10133: Attribute <span class="nomattribut">accesskey</span>:
10134: <div class="indentation">optional<br>
10135:
10136: Value restriction based on xs:string<ul>
10137:
10138: </ul>
10139:
10140: </div>
10141:
10142:
10143: </div>
1.2 ! damieng 10144: <br>Parents: <a href="#fieldset_0">fieldset</a><br><hr>
1.1 damieng 10145: <a name="button_0"></a><h3>Element <span class="nomtitre">button</span>
10146: </h3>
10147:
1.2 ! damieng 10148: <div class="documentation"> The HTML <button> Element represents a clickable button.
1.1 damieng 10149: </div>
10150:
10151: Can contain text<br><div class="indentation">
10152: Choice between:<ul><li>
10153: <a href="#text-only_0">text-only</a><br>
10154: </li></ul>
10155: Attribute <span class="nomattribut">name</span>:
10156: <div class="indentation">optional<br>
10157: </div>
10158: Attribute <span class="nomattribut">value</span>:
10159: <div class="indentation">optional<br>
10160: </div>
10161: Attribute <span class="nomattribut">type</span>:
10162: <div class="indentation">optional<br>
10163:
10164: Value restriction based on xs:token<ul>
10165: <li><tt>button</tt></li>
10166: <li><tt>submit</tt></li>
10167: <li><tt>reset</tt></li>
10168: </ul>
10169:
10170: </div>
10171: Attribute <span class="nomattribut">disabled</span>:
10172: <div class="indentation">optional<br>
10173:
10174: Value restriction based on xs:token<ul>
10175: <li><tt>disabled</tt></li>
10176: </ul>
10177:
10178: </div>
10179: </div>
1.2 ! damieng 10180: <br>Parents: <a href="#inlines_0">inlines</a><br><hr>
1.1 damieng 10181:
10182: <a name="iframe_0"></a><h3>Element <span class="nomtitre">iframe</span>
10183: </h3>
10184:
1.2 ! damieng 10185: <div class="documentation"> The HTML <iframe> Element (or HTML inline frame element) represents a nested browsing context, effectively embedding another HTML page into the current page.
1.1 damieng 10186: </div>
10187:
10188: Can contain text<br><div class="indentation">
10189: Choice between:<ul><li>
10190: <a href="#blocks-with-text_0">blocks-with-text</a><br>
10191: </li></ul>
10192: <a href="#coreattrs_0">coreattrs</a><br><br>
10193: Attribute <span class="nomattribut">name</span>:
10194: <div class="indentation">optional<br>type: <tt>xs:NMTOKEN</tt><br>
10195: </div>
10196: Attribute <span class="nomattribut">src</span>:
10197: <div class="indentation">optional<br>type: <tt>xs:anyURI</tt><br>
10198: </div>
10199: Attribute <span class="nomattribut">frameborder</span>:
10200: <div class="indentation">optional<br>
10201:
1.2 ! damieng 10202: <div class="documentation"> Warning: HTML 4 only
1.1 damieng 10203:
10204: The value 1 (the default) tells the browser to draw a border between this frame and every other frame.
10205: The value 0 tells the browser not to draw a border between this frame and other frames.
10206: </div>
10207:
10208:
10209: Value restriction based on xs:token<ul>
10210: <li><tt>1</tt></li>
10211: <li><tt>0</tt></li>
10212: </ul>
10213:
10214: </div>
10215: Attribute <span class="nomattribut">height</span>:
10216: <div class="indentation">optional<br>type: <a href="#htmlLength_0">htmlLength</a><br>
10217: </div>
10218: Attribute <span class="nomattribut">width</span>:
10219: <div class="indentation">optional<br>type: <a href="#htmlLength_0">htmlLength</a><br>
10220: </div>
10221: Attribute <span class="nomattribut">allowfullscreen</span>:
10222: <div class="indentation">optional<br>
10223:
10224: Value restriction based on xs:string<ul>
10225: <li><tt>allowfullscreen</tt></li>
10226: </ul>
10227:
10228: </div>
10229: </div>
1.2 ! damieng 10230: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a><br><hr>
1.1 damieng 10231:
10232: <br><a name="index"></a><h3>Index</h3>
10233: <a href="#ClosingParagraph_0">ClosingParagraph</a><br><a href="#Criteria_0">Criteria</a><br><a href="#CriteriaText_0">CriteriaText</a><br><a href="#GraderNote_0">GraderNote</a><br><a href="#InputType_0">InputType</a><br><a href="#Instance_0">Instance</a><br><a href="#InstanceText_0">InstanceText</a><br><a href="#IntroParagraph_0">IntroParagraph</a><br><a href="#MediaDesc_0">MediaDesc</a><br><a href="#Question_0">Question</a><br><a href="#QuestionText_0">QuestionText</a><br><a href="#Setup_0">Setup</a><br><a href="#Task_0">Task</a><br><a href="#a_0">a</a><br><a href="#address_0">address</a><br><a href="#algebra_0">algebra</a><br><a href="#allow_0">allow</a><br><a href="#answer_2">answer</a>
10234: (under caparesponse--answergroup)
10235: <br><a href="#answer_4">answer</a>
10236: (under mathresponse)
10237: <br><a href="#answer_5">answer</a>
10238: (under functionplotcustomrule)
10239: <br><a href="#answer_8">answer</a>
10240: (under customresponse)
10241: <br><a href="#answer_15">answer</a>
10242: (under mathhint)
10243: <br><a href="#answer_18">answer</a>
10244: (under customhint)
10245: <br><a href="#answergroup_0">answergroup</a>
10246: (under numericalresponse)
10247: <br><a href="#answergroup_1">answergroup</a>
10248: (under formularesponse)
10249: <br><a href="#applet_0">applet</a><br><a href="#arc_0">arc</a><br><a href="#area_0">area</a><br><a href="#aside_0">aside</a><br><a href="#audio_0">audio</a><br><a href="#axis_0">axis</a><br><a href="#b_0">b</a><br><a href="#backgroundplot_0">backgroundplot</a><br><a href="#base_0">base</a><br><a href="#bgimg_0">bgimg</a>
10250: (under randomlabel)
10251: <br><a href="#big_0">big</a><br><a href="#block_0">block</a>
10252: (under blocks-with-parts)
10253: <br><a href="#block_1">block</a>
10254: (under blocks-with-responses)
10255: <br><a href="#block_2">block</a>
10256: (under blocks-with-text)
10257: <br><a href="#block_3">block</a>
10258: (under gnuplot-children)
10259: <br><a href="#block_4">block</a>
10260: (under randomlist-with-parts)
10261: <br><a href="#block_5">block</a>
10262: (under randomlist-with-responses)
10263: <br><a href="#block_6">block</a>
10264: (under randomlist-with-text)
10265: <br><a href="#block-base_0">block-base</a><br><a href="#block-with-parts_0">block-with-parts</a><br><a href="#block-with-responses_0">block-with-responses</a><br><a href="#block-with-text_0">block-with-text</a><br><a href="#blockResponses_0">blockResponses</a><br><a href="#blockquote_0">blockquote</a><br><a href="#blocks-with-parts_0">blocks-with-parts</a><br><a href="#blocks-with-responses_0">blocks-with-responses</a><br><a href="#blocks-with-text_0">blocks-with-text</a><br><a href="#body_0">body</a><br><a href="#br_0">br</a><br><a href="#button_0">button</a><br><a href="#canvas_0">canvas</a><br><a href="#caparesponse--answer_0">caparesponse--answer</a><br><a href="#caparesponse--answergroup_0">caparesponse--answergroup</a><br><a href="#caparesponse--value_0">caparesponse--value</a><br><a href="#caparesponse--vector_0">caparesponse--vector</a><br><a href="#caption_0">caption</a><br><a href="#chem_0">chem</a><br><a href="#cite_0">cite</a><br><a href="#code_0">code</a><br><a href="#color_0">color</a><br><a href="#color-or-perl_0">color-or-perl</a><br><a href="#comment_0">comment</a><br><a href="#conceptgroup_0">conceptgroup</a>
10266: (under radiobuttonresponse--foilgroup)
10267: <br><a href="#conceptgroup_1">conceptgroup</a>
10268: (under optionresponse--foilgroup)
10269: <br><a href="#conceptgroup_2">conceptgroup</a>
10270: (under matchresponse--foilgroup)
10271: <br><a href="#conceptgroup_3">conceptgroup</a>
10272: (under rankresponse--foilgroup)
10273: <br><a href="#conceptgroup_4">conceptgroup</a>
10274: (under imageresponse--foilgroup)
10275: <br><a href="#coreattrs_0">coreattrs</a><br><a href="#curve_0">curve</a><br><a href="#customhint_0">customhint</a><br><a href="#customhint--answer_0">customhint--answer</a><br><a href="#customresponse_0">customresponse</a><br><a href="#customresponse--answer_0">customresponse--answer</a><br><a href="#data_0">data</a>
10276: (under lonplot--curve)
10277: <br><a href="#dataresponse_0">dataresponse</a><br><a href="#dd_0">dd</a>
10278: (under dl-with-parts)
10279: <br><a href="#dd_1">dd</a>
10280: (under dl-with-responses)
10281: <br><a href="#dd_2">dd</a>
10282: (under dl-with-text)
10283: <br><a href="#dd-base_0">dd-base</a><br><a href="#dd-with-parts_0">dd-with-parts</a><br><a href="#dd-with-responses_0">dd-with-responses</a><br><a href="#dd-with-text_0">dd-with-text</a><br><a href="#decimal-or-perl_0">decimal-or-perl</a><br><a href="#del_0">del</a><br><a href="#display_3">display</a><br><a href="#displayduedate_0">displayduedate</a><br><a href="#displaystudentphoto_0">displaystudentphoto</a><br><a href="#displaytitle_0">displaytitle</a><br><a href="#displayweight_0">displayweight</a><br><a href="#div_0">div</a>
10284: (under blocks-with-parts)
10285: <br><a href="#div_1">div</a>
10286: (under blocks-with-responses)
10287: <br><a href="#div_2">div</a>
10288: (under blocks-with-text)
10289: <br><a href="#div-base_0">div-base</a><br><a href="#div-with-parts_0">div-with-parts</a><br><a href="#div-with-responses_0">div-with-responses</a><br><a href="#div-with-text_0">div-with-text</a><br><a href="#dl_0">dl</a>
10290: (under blocks-with-parts)
10291: <br><a href="#dl_1">dl</a>
10292: (under blocks-with-responses)
10293: <br><a href="#dl_2">dl</a>
10294: (under blocks-with-text)
10295: <br><a href="#dl_3">dl</a>
10296: (under randomlist-with-parts)
10297: <br><a href="#dl_4">dl</a>
10298: (under randomlist-with-responses)
10299: <br><a href="#dl_5">dl</a>
10300: (under randomlist-with-text)
10301: <br><a href="#dl-base_0">dl-base</a><br><a href="#dl-with-parts_0">dl-with-parts</a><br><a href="#dl-with-responses_0">dl-with-responses</a><br><a href="#dl-with-text_0">dl-with-text</a><br><a href="#drawimage_0">drawimage</a><br><a href="#drawoptionlist_0">drawoptionlist</a><br><a href="#drawvectorsum_0">drawvectorsum</a><br><a href="#dt_0">dt</a><br><a href="#em_0">em</a><br><a href="#embed_0">embed</a><br><a href="#essayresponse_0">essayresponse</a><br><a href="#externalresponse_0">externalresponse</a><br><a href="#fieldset_0">fieldset</a><br><a href="#figcaption_0">figcaption</a><br><a href="#figure_0">figure</a><br><a href="#fill_0">fill</a><br><a href="#foil_0">foil</a>
10302: (under radiobuttonresponse--foilgroup)
10303: <br><a href="#foil_1">foil</a>
10304: (under radiobuttonresponse--conceptgroup)
10305: <br><a href="#foil_2">foil</a>
10306: (under optionresponse--foilgroup)
10307: <br><a href="#foil_3">foil</a>
10308: (under optionresponse--conceptgroup)
10309: <br><a href="#foil_4">foil</a>
10310: (under matchresponse--foilgroup)
10311: <br><a href="#foil_5">foil</a>
10312: (under matchresponse--conceptgroup)
10313: <br><a href="#foil_6">foil</a>
10314: (under rankresponse--foilgroup)
10315: <br><a href="#foil_7">foil</a>
10316: (under rankresponse--conceptgroup)
10317: <br><a href="#foil_8">foil</a>
10318: (under imageresponse--foilgroup)
10319: <br><a href="#foil_9">foil</a>
10320: (under imageresponse--conceptgroup)
10321: <br><a href="#foilgroup_0">foilgroup</a>
10322: (under radiobuttonresponse)
10323: <br><a href="#foilgroup_1">foilgroup</a>
10324: (under optionresponse)
10325: <br><a href="#foilgroup_2">foilgroup</a>
10326: (under matchresponse)
10327: <br><a href="#foilgroup_3">foilgroup</a>
10328: (under rankresponse)
10329: <br><a href="#foilgroup_4">foilgroup</a>
10330: (under imageresponse)
10331: <br><a href="#footer_0">footer</a><br><a href="#form_1">form</a><br><a href="#formulahint_0">formulahint</a><br><a href="#formularesponse_0">formularesponse</a><br><a href="#function_1">function</a>
10332: (under lonplot--curve)
10333: <br><a href="#functionplotcustomrule_0">functionplotcustomrule</a><br><a href="#functionplotelements_0">functionplotelements</a><br><a href="#functionplotresponse_0">functionplotresponse</a><br><a href="#functionplotrule_0">functionplotrule</a><br><a href="#functionplotruleset_0">functionplotruleset</a><br><a href="#functionplotvectorrule_0">functionplotvectorrule</a><br><a href="#functionplotvectorsumrule_0">functionplotvectorsumrule</a><br><a href="#gnuplot_0">gnuplot</a><br><a href="#gnuplot-children_0">gnuplot-children</a><br><a href="#h1_0">h1</a><br><a href="#h2_0">h2</a><br><a href="#h3_0">h3</a><br><a href="#h4_0">h4</a><br><a href="#h5_0">h5</a><br><a href="#h6_0">h6</a><br><a href="#head_0">head</a><br><a href="#head.misc_0">head.misc</a><br><a href="#header_0">header</a><br><a href="#headerContent_0">headerContent</a><br><a href="#heading_1">heading</a><br><a href="#hiddenline_0">hiddenline</a><br><a href="#hiddensubmission_0">hiddensubmission</a><br><a href="#hintgroup_0">hintgroup</a><br><a href="#hintpart_0">hintpart</a><br><a href="#hr_0">hr</a><br><a href="#html_0">html</a><br><a href="#html-align_0">html-align</a><br><a href="#htmlLength_0">htmlLength</a><br><a href="#htmlLength-or-perl_0">htmlLength-or-perl</a><br><a href="#htmlMeta_0">htmlMeta</a><br><a href="#i_0">i</a><br><a href="#i18n_0">i18n</a><br><a href="#iframe_0">iframe</a><br><a href="#image_0">image</a>
10334: (under imageresponse--foil)
10335: <br><a href="#image_1">image</a>
10336: (under drawimage)
10337: <br><a href="#imageresponse_0">imageresponse</a><br><a href="#imageresponse--conceptgroup_0">imageresponse--conceptgroup</a><br><a href="#imageresponse--foil_0">imageresponse--foil</a><br><a href="#imageresponse--foilgroup_0">imageresponse--foilgroup</a><br><a href="#imageresponse--image_0">imageresponse--image</a><br><a href="#imageresponse--polygon_0">imageresponse--polygon</a><br><a href="#imageresponse--rectangle_0">imageresponse--rectangle</a><br><a href="#imageresponse--text_0">imageresponse--text</a><br><a href="#img_0">img</a><br><a href="#import_0">import</a><br><a href="#inlineBaseType_0">inlineBaseType</a><br><a href="#inlineResponses_0">inlineResponses</a><br><a href="#inlines_0">inlines</a><br><a href="#input_0">input</a><br><a href="#ins_0">ins</a><br><a href="#inserts_0">inserts</a><br><a href="#instructorcomment_0">instructorcomment</a><br><a href="#int-or-perl_0">int-or-perl</a><br><a href="#item_0">item</a><br><a href="#itemgroup_0">itemgroup</a><br><a href="#kbd_0">kbd</a><br><a href="#key_0">key</a><br><a href="#label_4">label</a>
10338: (under randomlabel--labelgroup)
10339: <br><a href="#label_5">label</a>
10340: (under gnuplot-children)
10341: <br><a href="#label_6">label</a><br><a href="#labelgroup_0">labelgroup</a><br><a href="#lang_0">lang</a><br><a href="#languageblock_0">languageblock</a><br><a href="#legend_0">legend</a><br><a href="#li_0">li</a>
10342: (under ul-with-parts)
10343: <br><a href="#li_1">li</a>
10344: (under ul-with-responses)
10345: <br><a href="#li_2">li</a>
10346: (under ul-with-text)
10347: <br><a href="#li_3">li</a>
10348: (under ol-with-parts)
10349: <br><a href="#li_4">li</a>
10350: (under ol-with-responses)
10351: <br><a href="#li_5">li</a>
10352: (under ol-with-text)
10353: <br><a href="#li-base_0">li-base</a><br><a href="#li-with-parts_0">li-with-parts</a><br><a href="#li-with-responses_0">li-with-responses</a><br><a href="#li-with-text_0">li-with-text</a><br><a href="#library_0">library</a><br><a href="#line_0">line</a><br><a href="#link_0">link</a><br><a href="#lm_0">lm</a><br><a href="#location_0">location</a><br><a href="#location_7">location</a>
10354: (under randomlabel--labelgroup)
10355: <br><a href="#location-or-perl_0">location-or-perl</a><br><a href="#lonplot--axis_0">lonplot--axis</a><br><a href="#lonplot--block_0">lonplot--block</a><br><a href="#lonplot--curve_0">lonplot--curve</a><br><a href="#lonplot--data_0">lonplot--data</a><br><a href="#lonplot--function_0">lonplot--function</a><br><a href="#lonplot--key_0">lonplot--key</a><br><a href="#lonplot--label_0">lonplot--label</a><br><a href="#lonplot--tics_0">lonplot--tics</a><br><a href="#lonplot--title_0">lonplot--title</a><br><a href="#lonplot--xlabel_0">lonplot--xlabel</a><br><a href="#lonplot--xtics_0">lonplot--xtics</a><br><a href="#lonplot--ylabel_0">lonplot--ylabel</a><br><a href="#lonplot--ytics_0">lonplot--ytics</a><br><a href="#m_0">m</a><br><a href="#map_0">map</a><br><a href="#matchresponse_0">matchresponse</a><br><a href="#matchresponse--conceptgroup_0">matchresponse--conceptgroup</a><br><a href="#matchresponse--foil_0">matchresponse--foil</a><br><a href="#matchresponse--foilgroup_0">matchresponse--foilgroup</a><br><a href="#matchresponse--item_0">matchresponse--item</a><br><a href="#matchresponse--itemgroup_0">matchresponse--itemgroup</a><br><a href="#mathhint_0">mathhint</a><br><a href="#mathhint--answer_0">mathhint--answer</a><br><a href="#mathresponse_0">mathresponse</a><br><a href="#mathresponse--answer_0">mathresponse--answer</a><br><a href="#meta_0">meta</a><br><a href="#meta_1">meta</a>
10356: (under head.misc)
10357: <br><a href="#non-negative-int-or-perl_0">non-negative-int-or-perl</a><br><a href="#noscript_0">noscript</a><br><a href="#notsolved_0">notsolved</a><br><a href="#num_0">num</a><br><a href="#numericalhint_0">numericalhint</a><br><a href="#numericalresponse_0">numericalresponse</a><br><a href="#object_0">object</a><br><a href="#ol_0">ol</a>
10358: (under blocks-with-parts)
10359: <br><a href="#ol_1">ol</a>
10360: (under blocks-with-responses)
10361: <br><a href="#ol_2">ol</a>
10362: (under blocks-with-text)
10363: <br><a href="#ol_3">ol</a>
10364: (under randomlist-with-parts)
10365: <br><a href="#ol_4">ol</a>
10366: (under randomlist-with-responses)
10367: <br><a href="#ol_5">ol</a>
10368: (under randomlist-with-text)
10369: <br><a href="#ol-base_0">ol-base</a><br><a href="#ol-with-parts_0">ol-with-parts</a><br><a href="#ol-with-responses_0">ol-with-responses</a><br><a href="#ol-with-text_0">ol-with-text</a><br><a href="#onoff_0">onoff</a><br><a href="#onoff-or-perl_0">onoff-or-perl</a><br><a href="#optgroup_0">optgroup</a><br><a href="#option_0">option</a><br><a href="#optionhint_0">optionhint</a><br><a href="#optionresponse_0">optionresponse</a><br><a href="#optionresponse--conceptgroup_0">optionresponse--conceptgroup</a><br><a href="#optionresponse--drawoptionlist_0">optionresponse--drawoptionlist</a><br><a href="#optionresponse--foil_0">optionresponse--foil</a><br><a href="#optionresponse--foilgroup_0">optionresponse--foilgroup</a><br><a href="#organichint_0">organichint</a><br><a href="#organicresponse_0">organicresponse</a><br><a href="#organicstructure_0">organicstructure</a><br><a href="#p_0">p</a>
10370: (under blocks-with-parts)
10371: <br><a href="#p_1">p</a>
10372: (under blocks-with-responses)
10373: <br><a href="#p_2">p</a>
10374: (under blocks-with-text)
10375: <br><a href="#p-base_0">p-base</a><br><a href="#p-with-responses_0">p-with-responses</a><br><a href="#p-with-text_0">p-with-text</a><br><a href="#param_0">param</a><br><a href="#parameter_0">parameter</a><br><a href="#parse_0">parse</a><br><a href="#parserlib_0">parserlib</a><br><a href="#part_0">part</a><br><a href="#perl_0">perl</a><br><a href="#plotobject_0">plotobject</a><br><a href="#plotvector_0">plotvector</a><br><a href="#point_0">point</a><br><a href="#polygon_0">polygon</a>
10376: (under imageresponse--foil)
10377: <br><a href="#polygon_1">polygon</a>
10378: (under drawimage)
10379: <br><a href="#postanswerdate_0">postanswerdate</a><br><a href="#pre_0">pre</a><br><a href="#preduedate_0">preduedate</a><br><a href="#print_0">print</a><br><a href="#problem_0">problem</a><br><a href="#problemtype_0">problemtype</a>
10380: (under blocks-with-parts)
10381: <br><a href="#problemtype_1">problemtype</a>
10382: (under blocks-with-responses)
10383: <br><a href="#problemtype_2">problemtype</a>
10384: (under blocks-with-text)
10385: <br><a href="#problemtype_3">problemtype</a>
10386: (under randomlist-with-parts)
10387: <br><a href="#problemtype_4">problemtype</a>
10388: (under randomlist-with-responses)
10389: <br><a href="#problemtype_5">problemtype</a>
10390: (under randomlist-with-text)
10391: <br><a href="#problemtype-base_0">problemtype-base</a><br><a href="#problemtype-with-parts_0">problemtype-with-parts</a><br><a href="#problemtype-with-responses_0">problemtype-with-responses</a><br><a href="#problemtype-with-text_0">problemtype-with-text</a><br><a href="#q_0">q</a><br><a href="#radiobuttonhint_0">radiobuttonhint</a><br><a href="#radiobuttonresponse_0">radiobuttonresponse</a><br><a href="#radiobuttonresponse--conceptgroup_0">radiobuttonresponse--conceptgroup</a><br><a href="#radiobuttonresponse--foil_0">radiobuttonresponse--foil</a><br><a href="#radiobuttonresponse--foilgroup_0">radiobuttonresponse--foilgroup</a><br><a href="#randomlabel_0">randomlabel</a><br><a href="#randomlabel--label_0">randomlabel--label</a><br><a href="#randomlabel--labelgroup_0">randomlabel--labelgroup</a><br><a href="#randomlabel--location_0">randomlabel--location</a><br><a href="#randomlist_0">randomlist</a>
10392: (under blocks-with-parts)
10393: <br><a href="#randomlist_1">randomlist</a>
10394: (under blocks-with-responses)
10395: <br><a href="#randomlist_2">randomlist</a>
10396: (under blocks-with-text)
10397: <br><a href="#randomlist-base_0">randomlist-base</a><br><a href="#randomlist-with-parts_0">randomlist-with-parts</a><br><a href="#randomlist-with-responses_0">randomlist-with-responses</a><br><a href="#randomlist-with-text_0">randomlist-with-text</a><br><a href="#rankresponse_0">rankresponse</a><br><a href="#rankresponse--conceptgroup_0">rankresponse--conceptgroup</a><br><a href="#rankresponse--foil_0">rankresponse--foil</a><br><a href="#rankresponse--foilgroup_0">rankresponse--foilgroup</a><br><a href="#reactionhint_0">reactionhint</a><br><a href="#reactionresponse_0">reactionresponse</a><br><a href="#real_0">real</a><br><a href="#real-or-perl_0">real-or-perl</a><br><a href="#rectangle_0">rectangle</a>
10398: (under imageresponse--foil)
10399: <br><a href="#rectangle_1">rectangle</a>
10400: (under drawimage)
10401: <br><a href="#response-identification_0">response-identification</a><br><a href="#responseparam_0">responseparam</a><br><a href="#responses_0">responses</a><br><a href="#samp_0">samp</a><br><a href="#script_0">script</a><br><a href="#scriptlib_0">scriptlib</a><br><a href="#section_0">section</a>
10402: (under blocks-with-parts)
10403: <br><a href="#section_1">section</a>
10404: (under blocks-with-responses)
10405: <br><a href="#section_2">section</a>
10406: (under blocks-with-text)
10407: <br><a href="#section_3">section</a>
10408: (under randomlist-with-parts)
10409: <br><a href="#section_4">section</a>
10410: (under randomlist-with-responses)
10411: <br><a href="#section_5">section</a>
10412: (under randomlist-with-text)
10413: <br><a href="#section-base_0">section-base</a><br><a href="#section-with-parts_0">section-with-parts</a><br><a href="#section-with-responses_0">section-with-responses</a><br><a href="#section-with-text_0">section-with-text</a><br><a href="#select_0">select</a><br><a href="#small_0">small</a><br><a href="#solved_0">solved</a><br><a href="#source_0">source</a><br><a href="#span_0">span</a><br><a href="#spline_0">spline</a><br><a href="#standalone_0">standalone</a><br><a href="#stringhint_0">stringhint</a><br><a href="#stringresponse_0">stringresponse</a><br><a href="#strong_0">strong</a><br><a href="#style_4">style</a><br><a href="#sub_0">sub</a><br><a href="#sup_0">sup</a><br><a href="#table_0">table</a>
10414: (under blocks-with-parts)
10415: <br><a href="#table_1">table</a>
10416: (under blocks-with-responses)
10417: <br><a href="#table_2">table</a>
10418: (under blocks-with-text)
10419: <br><a href="#table_3">table</a>
10420: (under randomlist-with-parts)
10421: <br><a href="#table_4">table</a>
10422: (under randomlist-with-responses)
10423: <br><a href="#table_5">table</a>
10424: (under randomlist-with-text)
10425: <br><a href="#table-base_0">table-base</a><br><a href="#table-with-parts_0">table-with-parts</a><br><a href="#table-with-responses_0">table-with-responses</a><br><a href="#table-with-text_0">table-with-text</a><br><a href="#tbody_0">tbody</a>
10426: (under table-with-parts)
10427: <br><a href="#tbody_1">tbody</a>
10428: (under table-with-responses)
10429: <br><a href="#tbody_2">tbody</a>
10430: (under table-with-text)
10431: <br><a href="#tbody-with-parts_0">tbody-with-parts</a><br><a href="#tbody-with-responses_0">tbody-with-responses</a><br><a href="#tbody-with-text_0">tbody-with-text</a><br><a href="#td_0">td</a>
10432: (under tr-with-parts)
10433: <br><a href="#td_1">td</a>
10434: (under tr-with-responses)
10435: <br><a href="#td_2">td</a>
10436: (under tr-with-text)
10437: <br><a href="#td-base_0">td-base</a><br><a href="#td-with-parts_0">td-with-parts</a><br><a href="#td-with-responses_0">td-with-responses</a><br><a href="#td-with-text_0">td-with-text</a><br><a href="#tex_0">tex</a><br><a href="#text_0">text</a>
10438: (under imageresponse--foil)
10439: <br><a href="#text_1">text</a>
10440: (under drawimage)
10441: <br><a href="#text-only_0">text-only</a><br><a href="#text-with-parts_0">text-with-parts</a><br><a href="#text-with-responses_0">text-with-responses</a><br><a href="#textarea_0">textarea</a><br><a href="#textfield_0">textfield</a><br><a href="#textline_0">textline</a><br><a href="#tfoot_0">tfoot</a><br><a href="#th_0">th</a><br><a href="#thead_0">thead</a><br><a href="#tic_0">tic</a><br><a href="#title_0">title</a>
10442: (under gnuplot-children)
10443: <br><a href="#title_2">title</a><br><a href="#togglebox_0">togglebox</a><br><a href="#tr_0">tr</a>
10444: (under table-with-parts)
10445: <br><a href="#tr_1">tr</a>
10446: (under table-with-responses)
10447: <br><a href="#tr_2">tr</a>
10448: (under table-with-text)
10449: <br><a href="#tr_3">tr</a>
10450: (under thead)
10451: <br><a href="#tr_4">tr</a>
10452: (under tfoot)
10453: <br><a href="#tr_5">tr</a>
10454: (under tbody-with-parts)
10455: <br><a href="#tr_6">tr</a>
10456: (under tbody-with-responses)
10457: <br><a href="#tr_7">tr</a>
10458: (under tbody-with-text)
10459: <br><a href="#tr-base_0">tr-base</a><br><a href="#tr-with-parts_0">tr-with-parts</a><br><a href="#tr-with-responses_0">tr-with-responses</a><br><a href="#tr-with-text_0">tr-with-text</a><br><a href="#translated_0">translated</a><br><a href="#tt_0">tt</a><br><a href="#ul_0">ul</a>
10460: (under blocks-with-parts)
10461: <br><a href="#ul_1">ul</a>
10462: (under blocks-with-responses)
10463: <br><a href="#ul_2">ul</a>
10464: (under blocks-with-text)
10465: <br><a href="#ul_3">ul</a>
10466: (under randomlist-with-parts)
10467: <br><a href="#ul_4">ul</a>
10468: (under randomlist-with-responses)
10469: <br><a href="#ul_5">ul</a>
10470: (under randomlist-with-text)
10471: <br><a href="#ul-base_0">ul-base</a><br><a href="#ul-with-parts_0">ul-with-parts</a><br><a href="#ul-with-responses_0">ul-with-responses</a><br><a href="#ul-with-text_0">ul-with-text</a><br><a href="#universal-blocks_0">universal-blocks</a><br><a href="#value_4">value</a>
10472: (under caparesponse--answer)
10473: <br><a href="#var_0">var</a><br><a href="#vector_0">vector</a>
10474: (under caparesponse--answer)
10475: <br><a href="#video_0">video</a><br><a href="#web_0">web</a><br><a href="#while_0">while</a><br><a href="#window_0">window</a><br><a href="#windowlink_0">windowlink</a><br><a href="#xlabel_1">xlabel</a>
10476: (under gnuplot-children)
10477: <br><a href="#xtics_0">xtics</a><br><a href="#yesno_0">yesno</a><br><a href="#yesno-or-perl_0">yesno-or-perl</a><br><a href="#ylabel_1">ylabel</a>
10478: (under gnuplot-children)
10479: <br><a href="#ytics_0">ytics</a><br>
10480: </body>
10481: </html>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>