Annotation of modules/damieng/schema_documentation/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 in Perl and follows Perl syntax. Any variable written inside this rule will be recognized as normal and any evaluation function can be used as well.
1.1 damieng 2916: </div>
2917:
2918: <div class="indentation">
2919: Choice between:<ul><li>
2920: <a name="answer_5"></a><h3>Element <span class="nomtitre">answer</span>
2921: </h3>
2922:
1.2 ! damieng 2923: <div class="documentation"> Answer algorithm, normally in Perl
1.1 damieng 2924: </div>
2925:
2926: Can contain text<br><div class="indentation">
2927: Attribute <span class="nomattribut">type</span>:
2928: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
2929: </div>
2930: Attribute <span class="nomattribut"></span>:
2931: <div class="indentation">optional<br>
2932: </div>
2933: </div>
2934: <br>
2935: </li></ul>
2936: Attribute <span class="nomattribut">index</span>:
2937: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
2938:
1.2 ! damieng 2939: <div class="documentation"> Index/Name
1.1 damieng 2940: </div>
2941:
2942: </div>
2943: </div>
1.2 ! damieng 2944: <br>Parents: <a href="#functionplotruleset_0">functionplotruleset</a><br><hr>
1.1 damieng 2945:
2946:
1.2 ! damieng 2947: <div class="documentation"> Organic response
1.1 damieng 2948: </div>
1.2 ! damieng 2949: <hr>
1.1 damieng 2950:
2951: <a name="organicresponse_0"></a><h3>Element <span class="nomtitre">organicresponse</span>
2952: </h3>
2953:
1.2 ! damieng 2954: <div class="documentation"> Query for an organic chemical structure with a molecular editor.
1.1 damieng 2955: </div>
2956:
2957: Can contain text<br><div class="indentation">
2958: Choice between:<ul>
2959: <li>
2960: <a href="#responseparam_0">responseparam</a><br>
2961: </li>
2962: <li>
2963: <a href="#hiddenline_0">hiddenline</a><br>
2964: </li>
2965: <li>
2966: <a href="#hintgroup_0">hintgroup</a><br>
2967: </li>
2968: <li>
2969: <a href="#organichint_0">organichint</a><br>
2970: </li>
2971: <li>
2972: <a href="#hintpart_0">hintpart</a><br>
2973: </li>
2974: <li>
2975: <a href="#text-only_0">text-only</a><br>
2976: </li>
2977: </ul>
2978: <a href="#response-identification_0">response-identification</a><br><br>
2979: Attribute <span class="nomattribut">options</span>:
2980: <div class="indentation">optional<br>
2981:
1.2 ! damieng 2982: <div class="documentation"> Comma-separated list of options:
1.1 damieng 2983:
2984: - autoez: Auto E,Z stereochemistry
2985: - multipart: Multipart Structures
2986: - nostereo: No stereochemistry
2987: - reaction: Is a reaction
2988: - number: Able to number atoms
2989: </div>
2990:
2991:
1.2 ! damieng 2992: Union of types<ul>
! 2993: <li><a href="#perl_0">perl</a></li>
! 2994: <li>
1.1 damieng 2995: Value restriction based on xs:string<ul>
2996: <li><tt>(autoez|multipart|nostereo|reaction|number)(\s*,\s*(autoez|multipart|nostereo|reaction|number))*</tt></li>
2997: </ul>
1.2 ! damieng 2998: </li>
! 2999: </ul>
1.1 damieng 3000:
3001: </div>
3002: Attribute <span class="nomattribut">molecule</span>:
3003: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3004:
1.2 ! damieng 3005: <div class="documentation"> Starting Molecule.
1.1 damieng 3006: Syntax: JME.
3007: </div>
3008:
3009: </div>
3010: Attribute <span class="nomattribut">answer</span>:
3011: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3012:
1.2 ! damieng 3013: <div class="documentation"> Correct Answer.
1.1 damieng 3014: Syntax: SMILES (Simplified Molecular Input Line Entry System).
3015: </div>
3016:
3017: </div>
3018: Attribute <span class="nomattribut">jmeanswer</span>:
3019: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3020:
1.2 ! damieng 3021: <div class="documentation"> JME string of the answer
1.1 damieng 3022: </div>
3023:
3024: </div>
3025: Attribute <span class="nomattribut">width</span>:
3026: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
3027:
1.2 ! damieng 3028: <div class="documentation"> Width of correct answer image
1.1 damieng 3029: </div>
3030:
3031: </div>
3032: </div>
1.2 ! damieng 3033: <br>Parents: <a href="#inlineResponses_0">inlineResponses</a><br><hr>
1.1 damieng 3034:
3035:
1.2 ! damieng 3036: <div class="documentation"> Reaction response
1.1 damieng 3037: </div>
1.2 ! damieng 3038: <hr>
1.1 damieng 3039:
3040: <a name="reactionresponse_0"></a><h3>Element <span class="nomtitre">reactionresponse</span>
3041: </h3>
3042:
1.2 ! damieng 3043: <div class="documentation"> Query for a chemical reaction.
1.1 damieng 3044: An internal textline element is necessary for the student's response to go in.
3045: </div>
3046:
3047: Can contain text<br><div class="indentation">
3048: Choice between:<ul>
3049: <li>
3050: <a href="#responseparam_0">responseparam</a><br>
3051: </li>
3052: <li>
3053: <a href="#hiddenline_0">hiddenline</a><br>
3054: </li>
3055: <li>
3056: <a href="#hintgroup_0">hintgroup</a><br>
3057: </li>
3058: <li>
3059: <a href="#reactionhint_0">reactionhint</a><br>
3060: </li>
3061: <li>
3062: <a href="#hintpart_0">hintpart</a><br>
3063: </li>
3064: <li>
3065: <a href="#text-only_0">text-only</a><br>
3066: </li>
3067: </ul>
3068: <a href="#response-identification_0">response-identification</a><br><br>
3069: Attribute <span class="nomattribut">answer</span>:
3070: <div class="indentation">required<br>type: <tt>xs:string</tt><br>
3071:
1.2 ! damieng 3072: <div class="documentation"> The correct answer.
1.1 damieng 3073: Chemical reactions use the following syntax:
3074: - Reactants are separated from products by '->'.
3075: - Individual reactants and products are separated by ' +' (leading space is obligatory).
3076: - Numbers preceding the first symbol of a chemical specie are considered to be stoichiometric coefficients.
3077: - Numbers appearing after the first symbol of a chemical specie are considered to be subscripts.
3078: - Superscripts are initialized by '^' and terminated by a space.
3079: - Ionic charges are superscripts composed of a number followed by a sign (i.e. '^2+').
3080: </div>
3081:
3082: </div>
3083: Attribute <span class="nomattribut">initial</span>:
3084: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3085:
1.2 ! damieng 3086: <div class="documentation"> Initial reaction displayed to students. See the answer attribute for the syntax.
1.1 damieng 3087: </div>
3088:
3089: </div>
3090: </div>
1.2 ! damieng 3091: <br>Parents: <a href="#inlineResponses_0">inlineResponses</a><br><hr>
1.1 damieng 3092:
3093:
1.2 ! damieng 3094: <div class="documentation"> Custom response
1.1 damieng 3095: </div>
1.2 ! damieng 3096: <hr>
1.1 damieng 3097:
3098: <a name="customresponse_0"></a><h3>Element <span class="nomtitre">customresponse</span>
3099: </h3>
3100:
1.2 ! damieng 3101: <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 3102: The use of this response type is generally discouraged, since the responses will not be analyzable by the LON-CAPA statistics tools.
3103: </div>
3104:
3105: Can contain text<br><div class="indentation">
3106: Choice between:<ul>
3107: <li>
3108: <a href="#responseparam_0">responseparam</a><br>
3109: </li>
3110: <li>
3111: <a name="answer_8"></a><h3>Element <span class="nomtitre">answer</span>
3112: </h3>type: <a href="#customresponse--answer_0">customresponse--answer</a><br><br>
3113: </li>
3114: <li>
3115: <a href="#textfield_0">textfield</a><br>
3116: </li>
3117: <li>
3118: <a href="#hiddensubmission_0">hiddensubmission</a><br>
3119: </li>
3120: <li>
3121: <a href="#hiddenline_0">hiddenline</a><br>
3122: </li>
3123: <li>
3124: <a href="#hintgroup_0">hintgroup</a><br>
3125: </li>
3126: <li>
3127: <a href="#customhint_0">customhint</a><br>
3128: </li>
3129: <li>
3130: <a href="#hintpart_0">hintpart</a><br>
3131: </li>
3132: <li>
3133: <a href="#text-only_0">text-only</a><br>
3134: </li>
3135: </ul>
3136: <a href="#response-identification_0">response-identification</a><br><br>
3137: Attribute <span class="nomattribut">answerdisplay</span>:
3138: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3139:
1.2 ! damieng 3140: <div class="documentation"> String to display for answer
1.1 damieng 3141: </div>
3142:
3143: </div>
3144: </div>
1.2 ! damieng 3145: <br>Parents: <a href="#inlineResponses_0">inlineResponses</a><br><hr>
1.1 damieng 3146: <a name="customresponse--answer_0"></a><h3>Complex type <span class="nomtitre">customresponse--answer</span>
3147: </h3>Can contain text<br><div class="indentation">
3148:
1.2 ! damieng 3149: <div class="documentation"> Perl script evaluating the student answer.
1.1 damieng 3150:
3151: 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.
3152:
3153: The script must return a standard LON-CAPA response. The most common LON-CAPA responses are:
3154: - EXACT ANS: return if solved exactly correctly
3155: - APPROX ANS: return if solved approximately
3156: - INCORRECT: return if not correct, uses up a try
3157: - ASSIGNED SCORE: partial credit (also return the credit factor, e.g. return(ASSIGNED SCORE,0.3);)
3158: - 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
3159: </div>
3160:
3161: Attribute <span class="nomattribut">type</span>:
3162: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3163: </div>
3164: Attribute <span class="nomattribut"></span>:
3165: <div class="indentation">optional<br>
3166: </div>
3167: </div>
3168: <hr>
3169:
3170:
1.2 ! damieng 3171: <div class="documentation"> External response
1.1 damieng 3172: </div>
1.2 ! damieng 3173: <hr>
1.1 damieng 3174:
3175: <a name="externalresponse_0"></a><h3>Element <span class="nomtitre">externalresponse</span>
3176: </h3>
3177:
1.2 ! damieng 3178: <div class="documentation"> Query for a long text or a line, sent to an external program for grading.
1.1 damieng 3179:
3180: The form sent will consist of:
3181: - LONCAPA student response full text of what the student entered in the entry field
3182: - LONCAPA correct answer contents of the answer attribute
3183: - LONCAPA language specified language encoding of the requesting resource
3184: - 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
3185:
3186: The response of the remote server needs to be in XML as follows:
3187: - loncapagrade: takes no attributes, but must surround the response.
3188: - 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.
3189: - message: optional message to have shown to the student.
3190: </div>
3191:
3192: Can contain text<br><div class="indentation">
3193: Choice between:<ul>
3194: <li>
3195: <a href="#responseparam_0">responseparam</a><br>
3196: </li>
3197: <li>
3198: <a href="#textfield_0">textfield</a><br>
3199: </li>
3200: <li>
3201: <a href="#hiddensubmission_0">hiddensubmission</a><br>
3202: </li>
3203: <li>
3204: <a href="#hiddenline_0">hiddenline</a><br>
3205: </li>
3206: <li>
3207: <a href="#hintgroup_0">hintgroup</a><br>
3208: </li>
3209: <li>
3210: <a href="#text-only_0">text-only</a><br>
3211: </li>
3212: </ul>
3213: <a href="#response-identification_0">response-identification</a><br><br>
3214: Attribute <span class="nomattribut">url</span>:
3215: <div class="indentation">optional<br>type: <tt>xs:anyURI</tt><br>
3216:
1.2 ! damieng 3217: <div class="documentation"> url to submit the answer form to. It does not need to be a LON-CAPA machine.
1.1 damieng 3218: </div>
3219:
3220: </div>
3221: Attribute <span class="nomattribut">answer</span>:
3222: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3223:
1.2 ! damieng 3224: <div class="documentation"> data to post in the form element LONCAPA_correct_answer to the remote site.
1.1 damieng 3225: </div>
3226:
3227: </div>
3228: Attribute <span class="nomattribut">form</span>:
3229: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3230:
1.2 ! damieng 3231: <div class="documentation"> hash variable name that will be submitted to the remote site as a HTTP form.
1.1 damieng 3232: </div>
3233:
3234: </div>
3235: Attribute <span class="nomattribut">answerdisplay</span>:
3236: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3237: </div>
3238: </div>
1.2 ! damieng 3239: <br>Parents: <a href="#inlineResponses_0">inlineResponses</a><br><hr>
1.1 damieng 3240:
3241:
1.2 ! damieng 3242: <div class="documentation"> Data response
1.1 damieng 3243: </div>
1.2 ! damieng 3244: <hr>
1.1 damieng 3245:
3246: <a name="dataresponse_0"></a><h3>Element <span class="nomtitre">dataresponse</span>
3247: </h3>
3248:
1.2 ! damieng 3249: <div class="documentation"> Query for text or numbers.
1.1 damieng 3250: Advanced type of response that implements a simple data storage and needs an input element, such as textline, to work correctly.
3251: </div>
3252:
3253: Can contain text<br><div class="indentation">
3254: Choice between:<ul>
3255: <li>
3256: <a href="#textfield_0">textfield</a><br>
3257: </li>
3258: <li>
3259: <a href="#hiddensubmission_0">hiddensubmission</a><br>
3260: </li>
3261: <li>
3262: <a href="#hiddenline_0">hiddenline</a><br>
3263: </li>
3264: <li>
3265: <a href="#text-only_0">text-only</a><br>
3266: </li>
3267: </ul>
3268: <a href="#response-identification_0">response-identification</a><br><br>
3269: Attribute <span class="nomattribut">type</span>:
3270: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3271:
1.2 ! damieng 3272: <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 3273: </div>
3274:
3275: </div>
3276: Attribute <span class="nomattribut">display</span>:
3277: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3278:
1.2 ! damieng 3279: <div class="documentation"> string that will be used to describe the field when interfacing with humans.
1.1 damieng 3280: </div>
3281:
3282: </div>
3283: </div>
1.2 ! damieng 3284: <br>Parents: <a href="#blockResponses_0">blockResponses</a><br><hr>
1.1 damieng 3285:
3286:
1.2 ! damieng 3287: <div class="documentation"> Shared response elements
1.1 damieng 3288: </div>
1.2 ! damieng 3289: <hr>
1.1 damieng 3290:
3291: <a name="responseparam_0"></a><h3>Element <span class="nomtitre">responseparam</span>
3292: </h3>
3293:
1.2 ! damieng 3294: <div class="documentation"> Parameters for a response
1.1 damieng 3295:
3296: 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.
3297: </div>
3298:
3299: <div class="indentation">
3300: Attribute <span class="nomattribut">name</span>:
3301: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3302: </div>
3303: Attribute <span class="nomattribut">type</span>:
3304: <div class="indentation">required<br>type: <tt>xs:string</tt><br>
3305: </div>
3306: Attribute <span class="nomattribut">default</span>:
3307: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3308:
1.2 ! damieng 3309: <div class="documentation"> default value
1.1 damieng 3310: </div>
3311:
3312: </div>
3313: Attribute <span class="nomattribut">description</span>:
3314: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3315: </div>
3316: </div>
1.2 ! damieng 3317: <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 3318: <a name="textfield_0"></a><h3>Element <span class="nomtitre">textfield</span>
3319: </h3>
3320:
1.2 ! damieng 3321: <div class="documentation"> Large Text Entry Area, contains the text that appears by default
1.1 damieng 3322:
3323: 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.
3324: Additionally, it takes two attributes: rows and cols, which control the height and width of the text area respectively.
3325: </div>
3326:
3327: Can contain text<br><div class="indentation">
3328: Choice between:<ul>
3329: <li>
3330: <a href="#tex_0">tex</a><br>
3331: </li>
3332: <li>
3333: <a href="#web_0">web</a><br>
3334: </li>
3335: </ul>
3336: Attribute <span class="nomattribut">rows</span>:
3337: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
3338: </div>
3339: Attribute <span class="nomattribut">cols</span>:
3340: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
3341:
1.2 ! damieng 3342: <div class="documentation"> Columns
1.1 damieng 3343: </div>
3344:
3345: </div>
3346: Attribute <span class="nomattribut">addchars</span>:
3347: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3348:
1.2 ! damieng 3349: <div class="documentation"> Click-On Texts (comma sep)
1.1 damieng 3350: </div>
3351:
3352: </div>
3353: Attribute <span class="nomattribut">spellcheck</span>:
3354: <div class="indentation">optional<br>
3355:
1.2 ! damieng 3356: <div class="documentation"> If this attribute is present, the text the user types is spellchecked when focus leaves the input field.
1.1 damieng 3357: The value specifies the language in which the spellcheck is performed.
3358: </div>
3359:
3360:
1.2 ! damieng 3361: Union of types<ul>
! 3362: <li><a href="#perl_0">perl</a></li>
! 3363: <li>
1.1 damieng 3364: Value restriction based on xs:string<ul>
3365: <li><tt>none</tt></li>
3366: <li><tt>en</tt></li>
3367: <li><tt>de</tt></li>
3368: <li><tt>he</tt></li>
3369: <li><tt>es</tt></li>
3370: <li><tt>fr</tt></li>
3371: <li><tt>pt</tt></li>
3372: <li><tt>tr</tt></li>
3373: </ul>
1.2 ! damieng 3374: </li>
! 3375: </ul>
1.1 damieng 3376:
3377: </div>
3378: </div>
1.2 ! damieng 3379: <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 3380: <a name="textline_0"></a><h3>Element <span class="nomtitre">textline</span>
3381: </h3>
3382:
1.2 ! damieng 3383: <div class="documentation"> Single Line Text Entry Area. Displays a field to enter text for a response.
1.1 damieng 3384: Should only be used inside stringresponse, numericalresponse, formularesponse, mathresponse, organicresponse, reactionresponse and customresponse.
3385: </div>
3386:
3387: <div class="indentation">
3388: Attribute <span class="nomattribut">id</span>:
3389: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3390:
1.2 ! damieng 3391: <div class="documentation"> Id that will be part of the HTML input element id.
1.1 damieng 3392: This can be used to get a reference to the input element in Javascript.
3393: </div>
3394:
3395: </div>
3396: Attribute <span class="nomattribut">size</span>:
3397: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
3398:
1.2 ! damieng 3399: <div class="documentation"> controls the width of the textline
1.1 damieng 3400: </div>
3401:
3402: </div>
3403: Attribute <span class="nomattribut">addchars</span>:
3404: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3405:
1.2 ! damieng 3406: <div class="documentation"> Comma-separated list of characters or words that can be inserted with a click.
1.1 damieng 3407: </div>
3408:
3409: </div>
3410: Attribute <span class="nomattribut">readonly</span>:
3411: <div class="indentation">optional<br>type: <a href="#yesno-or-perl_0">yesno-or-perl</a><br>
3412: </div>
3413: Attribute <span class="nomattribut">spellcheck</span>:
3414: <div class="indentation">optional<br>
3415:
1.2 ! damieng 3416: <div class="documentation"> If this attribute is present, the text the user types is spellchecked when focus leaves the input field.
1.1 damieng 3417: The value specifies the language in which the spellcheck is performed.
3418: </div>
3419:
3420:
1.2 ! damieng 3421: Union of types<ul>
! 3422: <li><a href="#perl_0">perl</a></li>
! 3423: <li>
1.1 damieng 3424: Value restriction based on xs:string<ul>
3425: <li><tt>none</tt></li>
3426: <li><tt>en</tt></li>
3427: <li><tt>de</tt></li>
3428: <li><tt>he</tt></li>
3429: <li><tt>es</tt></li>
3430: <li><tt>fr</tt></li>
3431: <li><tt>pt</tt></li>
3432: <li><tt>tr</tt></li>
3433: </ul>
1.2 ! damieng 3434: </li>
! 3435: </ul>
1.1 damieng 3436:
3437: </div>
3438: </div>
1.2 ! damieng 3439: <br>Parents: <a href="#inlines_0">inlines</a><br><hr>
1.1 damieng 3440: <a name="hiddensubmission_0"></a><h3>Element <span class="nomtitre">hiddensubmission</span>
3441: </h3>
3442:
1.2 ! damieng 3443: <div class="documentation"> This creates a hidden form field with the given value.
1.1 damieng 3444: </div>
3445:
3446: <div class="indentation">
3447: Attribute <span class="nomattribut">value</span>:
3448: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3449: </div>
3450: </div>
1.2 ! damieng 3451: <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 3452: <a name="hiddenline_0"></a><h3>Element <span class="nomtitre">hiddenline</span>
3453: </h3>
3454:
1.2 ! damieng 3455: <div class="documentation"> This creates a hidden form field with the old response value.
1.1 damieng 3456: </div>
3457:
3458: <div class="indentation">
3459: </div>
1.2 ! damieng 3460: <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 3461:
3462:
1.2 ! damieng 3463: <div class="documentation"> Hints
1.1 damieng 3464: </div>
1.2 ! damieng 3465: <hr>
1.1 damieng 3466:
3467: <a name="hintgroup_0"></a><h3>Element <span class="nomtitre">hintgroup</span>
3468: </h3>
3469:
1.2 ! damieng 3470: <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 3471:
3472: To display different hints based on the submitted answer, the hint group has to contain hint conditions (<*hint> elements) and conditional hints (<hintpart> elements).
3473: A hint condition defines the foil(s) and foil answer(s) required to trigger a hint, and has a name attribute to identify it.
3474: 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.
3475: 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.
3476: </div>
3477:
3478: Can contain text<br><div class="indentation">
3479: Choice between:<ul>
3480: <li>
3481: <a href="#text-only_0">text-only</a><br>
3482: </li>
3483: <li>
3484: <a href="#hintpart_0">hintpart</a><br>
3485: </li>
3486: <li>
3487: <a href="#stringhint_0">stringhint</a><br>
3488: </li>
3489: <li>
3490: <a href="#radiobuttonhint_0">radiobuttonhint</a><br>
3491: </li>
3492: <li>
3493: <a href="#optionhint_0">optionhint</a><br>
3494: </li>
3495: <li>
3496: <a href="#numericalhint_0">numericalhint</a><br>
3497: </li>
3498: <li>
3499: <a href="#formulahint_0">formulahint</a><br>
3500: </li>
3501: <li>
3502: <a href="#mathhint_0">mathhint</a><br>
3503: </li>
3504: <li>
3505: <a href="#organichint_0">organichint</a><br>
3506: </li>
3507: <li>
3508: <a href="#reactionhint_0">reactionhint</a><br>
3509: </li>
3510: <li>
3511: <a href="#customhint_0">customhint</a><br>
3512: </li>
3513: </ul>
3514: Attribute <span class="nomattribut">showoncorrect</span>:
3515: <div class="indentation">optional<br>type: <a href="#yesno-or-perl_0">yesno-or-perl</a><br>
3516:
1.2 ! damieng 3517: <div class="documentation"> Show hint even if problem Correct
1.1 damieng 3518: </div>
3519:
3520: </div>
3521: </div>
1.2 ! damieng 3522: <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 3523: <a name="hintpart_0"></a><h3>Element <span class="nomtitre">hintpart</span>
3524: </h3>
3525:
1.2 ! damieng 3526: <div class="documentation"> Conditional Hint
1.1 damieng 3527:
3528: When a hint condition named the same as the on attribute evaluates to be correct, the contents of this element will be displayed.
3529: If no other hintpart is to show then all hintparts with an on value set to “default” will show.
3530: </div>
3531:
3532: Can contain text<br><div class="indentation">
3533: Choice between:<ul>
3534: <li>
3535: <a href="#text-only_0">text-only</a><br>
3536: </li>
3537: <li>
3538: <a href="#parserlib_0">parserlib</a><br>
3539: </li>
3540: <li>
3541: <a href="#scriptlib_0">scriptlib</a><br>
3542: </li>
3543: </ul>
3544: Attribute <span class="nomattribut">on</span>:
3545: <div class="indentation">required<br>type: <tt>xs:string</tt><br>
3546: </div>
3547: </div>
1.2 ! damieng 3548: <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 3549: <a name="stringhint_0"></a><h3>Element <span class="nomtitre">stringhint</span>
3550: </h3>
3551:
1.2 ! damieng 3552: <div class="documentation"> String Hint Condition
1.1 damieng 3553: </div>
3554:
3555: <div class="indentation">
3556: Choice between:<ul><li>
3557: <a href="#responseparam_0">responseparam</a><br>
3558: </li></ul>
3559: Attribute <span class="nomattribut">id</span>:
3560: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3561: </div>
3562: Attribute <span class="nomattribut">name</span>:
3563: <div class="indentation">required<br>type: <tt>xs:string</tt><br>
3564:
1.2 ! damieng 3565: <div class="documentation"> Name of the hint condition.
1.1 damieng 3566: Should be set to the value of which hintpart will be shown.
3567: </div>
3568:
3569: </div>
3570: Attribute <span class="nomattribut">answer</span>:
3571: <div class="indentation">required<br>type: <tt>xs:string</tt><br>
3572:
1.2 ! damieng 3573: <div class="documentation"> Text string.
1.1 damieng 3574: Should be set to the value of which hintpart will be shown.
3575: </div>
3576:
3577: </div>
3578: Attribute <span class="nomattribut">type</span>:
3579: <div class="indentation">optional<br>
3580:
1.2 ! damieng 3581: Union of types<ul>
! 3582: <li><a href="#perl_0">perl</a></li>
! 3583: <li>
1.1 damieng 3584: Value restriction based on xs:string<ul>
3585: <li><tt>cs</tt></li>
3586: <li><tt>ci</tt></li>
3587: <li><tt>mc</tt></li>
3588: <li><tt>re</tt></li>
3589: </ul>
1.2 ! damieng 3590: </li>
! 3591: </ul>
1.1 damieng 3592:
3593: </div>
3594: Attribute <span class="nomattribut">preprocess</span>:
3595: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3596:
1.2 ! damieng 3597: <div class="documentation"> Pre-Processor Subroutine
1.1 damieng 3598: </div>
3599:
3600: </div>
3601: </div>
1.2 ! damieng 3602: <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 3603: <a name="radiobuttonhint_0"></a><h3>Element <span class="nomtitre">radiobuttonhint</span>
3604: </h3>
3605:
1.2 ! damieng 3606: <div class="documentation"> Radiobutton Hint Condition
1.1 damieng 3607:
3608: 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:
3609:
3610: <radiobuttonhint answer="('foil','granite','gabbro')" name="igneous"></radiobuttonhint>
3611:
3612: 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.
3613: </div>
3614:
3615: <div class="indentation">
3616: Choice between:<ul><li>
3617: <a href="#responseparam_0">responseparam</a><br>
3618: </li></ul>
3619: Attribute <span class="nomattribut">id</span>:
3620: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3621: </div>
3622: Attribute <span class="nomattribut">name</span>:
3623: <div class="indentation">required<br>type: <tt>xs:string</tt><br>
3624:
1.2 ! damieng 3625: <div class="documentation"> should be set to the value of which hintpart will be shown
1.1 damieng 3626: </div>
3627:
3628: </div>
3629: Attribute <span class="nomattribut">answer</span>:
3630: <div class="indentation">optional<br>
3631:
1.2 ! damieng 3632: <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 3633: </div>
3634:
3635:
3636: Value restriction based on xs:string<ul>
3637: <li><tt>\(\s*'.*'\s*\)</tt></li>
3638: </ul>
3639:
3640: </div>
3641: </div>
1.2 ! damieng 3642: <br>Parents: <a href="#radiobuttonresponse_0">radiobuttonresponse</a>, <a href="#hintgroup_0">hintgroup</a><br><hr>
1.1 damieng 3643: <a name="optionhint_0"></a><h3>Element <span class="nomtitre">optionhint</span>
3644: </h3>
3645:
1.2 ! damieng 3646: <div class="documentation"> Option Response Hint Condition
1.1 damieng 3647:
3648: 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.
3649: 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').
3650: 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" />.
3651: 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.
3652: </div>
3653:
3654: <div class="indentation">
3655: Choice between:<ul><li>
3656: <a href="#responseparam_0">responseparam</a><br>
3657: </li></ul>
3658: Attribute <span class="nomattribut">id</span>:
3659: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3660: </div>
3661: Attribute <span class="nomattribut">name</span>:
3662: <div class="indentation">required<br>type: <tt>xs:string</tt><br>
3663:
1.2 ! damieng 3664: <div class="documentation"> should be set to the value of which hintpart will be shown
1.1 damieng 3665: </div>
3666:
3667: </div>
3668: Attribute <span class="nomattribut">answer</span>:
3669: <div class="indentation">optional<br>
3670:
1.2 ! damieng 3671: <div class="documentation"> Perl hash with foil names as keys and submitted values as values.
1.1 damieng 3672: Example: ('foil1'=> 'true', 'foil2'=> 'false')
3673: </div>
3674:
3675:
3676: Value restriction based on xs:string<ul>
3677: <li><tt>\(\s*'.*'\s*\)</tt></li>
3678: </ul>
3679:
3680: </div>
3681: Attribute <span class="nomattribut">concept</span>:
3682: <div class="indentation">optional<br>
3683:
1.2 ! damieng 3684: <div class="documentation"> Perl hash with concept names as keys and either 'correct' or 'incorrect' as values.
1.1 damieng 3685: Example: ('buoyancy'=>'correct', 'density'=> 'correct')
3686: </div>
3687:
3688:
3689: Value restriction based on xs:string<ul>
3690: <li><tt>\(\s*'.*'\s*\)</tt></li>
3691: </ul>
3692:
3693: </div>
3694: </div>
1.2 ! damieng 3695: <br>Parents: <a href="#optionresponse_0">optionresponse</a>, <a href="#hintgroup_0">hintgroup</a><br><hr>
1.1 damieng 3696: <a name="numericalhint_0"></a><h3>Element <span class="nomtitre">numericalhint</span>
3697: </h3>
3698:
1.2 ! damieng 3699: <div class="documentation"> Numerical Hint Condition
1.1 damieng 3700: </div>
3701:
3702: <div class="indentation">
3703: Choice between:<ul><li>
3704: <a href="#responseparam_0">responseparam</a><br>
3705: </li></ul>
3706: Attribute <span class="nomattribut">id</span>:
3707: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3708: </div>
3709: Attribute <span class="nomattribut">name</span>:
3710: <div class="indentation">required<br>type: <tt>xs:string</tt><br>
3711:
1.2 ! damieng 3712: <div class="documentation"> Unique name given to the hint condition.
1.1 damieng 3713: Should be set to the value of which hintpart will be shown.
3714: </div>
3715:
3716: </div>
3717: Attribute <span class="nomattribut">answer</span>:
3718: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3719:
1.2 ! damieng 3720: <div class="documentation"> Numerical answer for which the conditional is provided.
1.1 damieng 3721: 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.
3722: </div>
3723:
3724: </div>
3725: Attribute <span class="nomattribut">unit</span>:
3726: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3727: </div>
3728: Attribute <span class="nomattribut">format</span>:
3729: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3730: </div>
3731: Attribute <span class="nomattribut">preprocess</span>:
3732: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3733:
1.2 ! damieng 3734: <div class="documentation"> Pre-Processor Subroutine
1.1 damieng 3735: </div>
3736:
3737: </div>
3738: </div>
1.2 ! damieng 3739: <br>Parents: <a href="#numericalresponse_0">numericalresponse</a>, <a href="#hintgroup_0">hintgroup</a><br><hr>
1.1 damieng 3740: <a name="formulahint_0"></a><h3>Element <span class="nomtitre">formulahint</span>
3741: </h3>
3742:
1.2 ! damieng 3743: <div class="documentation"> Formula Hint Condition
1.1 damieng 3744:
3745: 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.
3746: </div>
3747:
3748: <div class="indentation">
3749: Choice between:<ul><li>
3750: <a href="#responseparam_0">responseparam</a><br>
3751: </li></ul>
3752: Attribute <span class="nomattribut">id</span>:
3753: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3754: </div>
3755: Attribute <span class="nomattribut">name</span>:
3756: <div class="indentation">required<br>type: <tt>xs:string</tt><br>
3757:
1.2 ! damieng 3758: <div class="documentation"> Unique name given to the hint condition.
1.1 damieng 3759: Should be set to the value of which hintpart will be shown.
3760: </div>
3761:
3762: </div>
3763: Attribute <span class="nomattribut">answer</span>:
3764: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3765:
1.2 ! damieng 3766: <div class="documentation"> Formula answer for which the conditional is provided.
1.1 damieng 3767: </div>
3768:
3769: </div>
3770: Attribute <span class="nomattribut">samples</span>:
3771: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3772:
1.2 ! damieng 3773: <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 3774: parameter of the formula reponse element itself.
3775: </div>
3776:
3777: </div>
3778: Attribute <span class="nomattribut">preprocess</span>:
3779: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3780:
1.2 ! damieng 3781: <div class="documentation"> Pre-Processor Subroutine
1.1 damieng 3782: </div>
3783:
3784: </div>
3785: </div>
1.2 ! damieng 3786: <br>Parents: <a href="#formularesponse_0">formularesponse</a>, <a href="#hintgroup_0">hintgroup</a><br><hr>
1.1 damieng 3787: <a name="mathhint_0"></a><h3>Element <span class="nomtitre">mathhint</span>
3788: </h3>
3789:
3790: <div class="documentation">Math Hint Condition</div>
3791:
3792: <div class="indentation">
3793: Choice between:<ul>
3794: <li>
3795: <a href="#responseparam_0">responseparam</a><br>
3796: </li>
3797: <li>
3798: <a name="answer_15"></a><h3>Element <span class="nomtitre">answer</span>
3799: </h3>type: <a href="#mathhint--answer_0">mathhint--answer</a><br><br>
3800: </li>
3801: </ul>
3802: Attribute <span class="nomattribut">id</span>:
3803: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3804: </div>
3805: Attribute <span class="nomattribut">name</span>:
3806: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3807: </div>
3808: Attribute <span class="nomattribut">cas</span>:
3809: <div class="indentation">optional<br>
3810:
1.2 ! damieng 3811: <div class="documentation"> Algebra System
1.1 damieng 3812: </div>
3813:
3814:
1.2 ! damieng 3815: Union of types<ul>
! 3816: <li><a href="#perl_0">perl</a></li>
! 3817: <li>
1.1 damieng 3818: Value restriction based on xs:string<ul>
3819: <li><tt>maxima</tt></li>
3820: <li><tt>R</tt></li>
3821: </ul>
1.2 ! damieng 3822: </li>
! 3823: </ul>
1.1 damieng 3824:
3825: </div>
3826: Attribute <span class="nomattribut">args</span>:
3827: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3828:
1.2 ! damieng 3829: <div class="documentation"> Argument Array
1.1 damieng 3830: </div>
3831:
3832: </div>
3833: </div>
1.2 ! damieng 3834: <br>Parents: <a href="#mathresponse_0">mathresponse</a>, <a href="#hintgroup_0">hintgroup</a><br><hr>
1.1 damieng 3835: <a name="organichint_0"></a><h3>Element <span class="nomtitre">organichint</span>
3836: </h3>
3837:
3838: <div class="documentation">Organic Hint Condition</div>
3839:
3840: <div class="indentation">
3841: Choice between:<ul><li>
3842: <a href="#responseparam_0">responseparam</a><br>
3843: </li></ul>
3844: Attribute <span class="nomattribut">id</span>:
3845: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3846: </div>
3847: Attribute <span class="nomattribut">name</span>:
3848: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3849: </div>
3850: Attribute <span class="nomattribut">answer</span>:
3851: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3852: </div>
3853: </div>
1.2 ! damieng 3854: <br>Parents: <a href="#organicresponse_0">organicresponse</a>, <a href="#hintgroup_0">hintgroup</a><br><hr>
1.1 damieng 3855: <a name="reactionhint_0"></a><h3>Element <span class="nomtitre">reactionhint</span>
3856: </h3>
3857:
3858: <div class="documentation">Reaction Hint Condition</div>
3859:
3860: <div class="indentation">
3861: Choice between:<ul><li>
3862: <a href="#responseparam_0">responseparam</a><br>
3863: </li></ul>
3864: Attribute <span class="nomattribut">id</span>:
3865: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3866: </div>
3867: Attribute <span class="nomattribut">name</span>:
3868: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3869: </div>
3870: Attribute <span class="nomattribut">answer</span>:
3871: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3872: </div>
3873: </div>
1.2 ! damieng 3874: <br>Parents: <a href="#reactionresponse_0">reactionresponse</a>, <a href="#hintgroup_0">hintgroup</a><br><hr>
1.1 damieng 3875: <a name="customhint_0"></a><h3>Element <span class="nomtitre">customhint</span>
3876: </h3>
3877:
1.2 ! damieng 3878: <div class="documentation"> Custom Hint Condition
1.1 damieng 3879:
3880: 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.
3881: </div>
3882:
3883: <div class="indentation">
3884: Choice between:<ul>
3885: <li>
3886: <a href="#responseparam_0">responseparam</a><br>
3887: </li>
3888: <li>
3889: <a name="answer_18"></a><h3>Element <span class="nomtitre">answer</span>
3890: </h3>type: <a href="#customhint--answer_0">customhint--answer</a><br><br>
3891: </li>
3892: </ul>
3893: Attribute <span class="nomattribut">id</span>:
3894: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3895: </div>
3896: Attribute <span class="nomattribut">name</span>:
3897: <div class="indentation">required<br>type: <tt>xs:string</tt><br>
3898:
1.2 ! damieng 3899: <div class="documentation"> should be set to the value of which hintpart will be shown
1.1 damieng 3900: </div>
3901:
3902: </div>
3903: </div>
1.2 ! damieng 3904: <br>Parents: <a href="#customresponse_0">customresponse</a>, <a href="#hintgroup_0">hintgroup</a><br><hr>
1.1 damieng 3905: <a name="customhint--answer_0"></a><h3>Complex type <span class="nomtitre">customhint--answer</span>
3906: </h3>Can contain text<br><div class="indentation">
3907:
3908: <div class="documentation">Hint algorithm</div>
3909:
3910: Attribute <span class="nomattribut">type</span>:
3911: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3912: </div>
3913: Attribute <span class="nomattribut"></span>:
3914: <div class="indentation">optional<br>
3915: </div>
3916: </div>
3917: <hr>
3918: <a name="mathhint--answer_0"></a><h3>Complex type <span class="nomtitre">mathhint--answer</span>
3919: </h3>Can contain text<br><div class="indentation">
3920:
3921: <div class="documentation">Hint algorithm</div>
3922:
3923: Attribute <span class="nomattribut">type</span>:
3924: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
3925: </div>
3926: Attribute <span class="nomattribut"></span>:
3927: <div class="indentation">optional<br>
3928: </div>
3929: </div>
3930: <hr>
3931:
3932:
1.2 ! damieng 3933: <div class="documentation"> Random label
1.1 damieng 3934: </div>
1.2 ! damieng 3935: <hr>
1.1 damieng 3936:
3937: <a name="randomlabel_0"></a><h3>Element <span class="nomtitre">randomlabel</span>
3938: </h3>
3939:
1.2 ! damieng 3940: <div class="documentation"> Randomly labeled image
1.1 damieng 3941:
3942: 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.
3943: </div>
3944:
3945: <div class="indentation">
3946: Choice between:<ul>
3947: <li>
3948: <a name="labelgroup_0"></a><h3>Element <span class="nomtitre">labelgroup</span>
3949: </h3>type: <a href="#randomlabel--labelgroup_0">randomlabel--labelgroup</a><br>
3950:
1.2 ! damieng 3951: <div class="documentation"> One is required, but multiple are allowed. This declares a group of locations and labels associated with them.
1.1 damieng 3952: </div>
3953:
3954: <br>
3955: </li>
3956: <li>
3957: <a name="bgimg_0"></a><h3>Element <span class="nomtitre">bgimg</span>
3958: </h3>
3959:
1.2 ! damieng 3960: <div class="documentation"> Element alternative to the bgimg attribute, which makes it possible to use a plot as a background image.
1.1 damieng 3961: </div>
3962:
3963: Can contain text<br><div class="indentation">
3964: Choice between:<ul><li>
3965: <a href="#gnuplot_0">gnuplot</a><br>
3966: </li></ul>
3967: </div>
3968: <br>
3969: </li>
3970: </ul>
3971: Attribute <span class="nomattribut">bgimg</span>:
3972: <div class="indentation">optional<br>type: <tt>xs:anyURI</tt><br>
3973:
1.2 ! damieng 3974: <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 3975: </div>
3976:
3977: </div>
3978: Attribute <span class="nomattribut">width</span>:
3979: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
3980:
1.2 ! damieng 3981: <div class="documentation"> The width of the image in pixels.
1.1 damieng 3982: </div>
3983:
3984: </div>
3985: Attribute <span class="nomattribut">height</span>:
3986: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
3987:
1.2 ! damieng 3988: <div class="documentation"> The height of the image in pixels.
1.1 damieng 3989: </div>
3990:
3991: </div>
3992: Attribute <span class="nomattribut">texwidth</span>:
3993: <div class="indentation">optional<br>type: <a href="#decimal-or-perl_0">decimal-or-perl</a><br>
3994:
1.2 ! damieng 3995: <div class="documentation"> The width of the image in millimeters.
1.1 damieng 3996: </div>
3997:
3998: </div>
3999: </div>
1.2 ! damieng 4000: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a><br><hr>
1.1 damieng 4001: <a name="randomlabel--labelgroup_0"></a><h3>Complex type <span class="nomtitre">randomlabel--labelgroup</span>
4002: </h3>
4003: <div class="indentation">
4004:
4005: <div class="documentation">Group of Labels</div>
4006:
4007: Choice between:<ul>
4008: <li>
4009: <a name="label_4"></a><h3>Element <span class="nomtitre">label</span>
4010: </h3>type: <a href="#randomlabel--label_0">randomlabel--label</a><br><br>
4011: </li>
4012: <li>
4013: <a name="location_7"></a><h3>Element <span class="nomtitre">location</span>
4014: </h3>type: <a href="#randomlabel--location_0">randomlabel--location</a><br>
4015:
1.2 ! damieng 4016: <div class="documentation"> declares a location on the image that a label should appear at
1.1 damieng 4017: </div>
4018:
4019: <br>
4020: </li>
4021: </ul>
4022: Attribute <span class="nomattribut">name</span>:
4023: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
4024:
1.2 ! damieng 4025: <div class="documentation"> This is the name of the group.
1.1 damieng 4026: </div>
4027:
4028: </div>
4029: Attribute <span class="nomattribut">type</span>:
4030: <div class="indentation">optional<br>
4031:
1.2 ! damieng 4032: <div class="documentation"> the type of labels in this group
1.1 damieng 4033: </div>
4034:
4035:
1.2 ! damieng 4036: Union of types<ul>
! 4037: <li><a href="#perl_0">perl</a></li>
! 4038: <li>
1.1 damieng 4039: Value restriction based on xs:string<ul>
4040: <li><tt>text</tt></li>
4041: <li><tt>image</tt></li>
4042: </ul>
1.2 ! damieng 4043: </li>
! 4044: </ul>
1.1 damieng 4045:
4046: </div>
4047: Attribute <span class="nomattribut">TeXsize</span>:
4048: <div class="indentation">optional<br>
4049:
1.2 ! damieng 4050: <div class="documentation"> TeX font size
1.1 damieng 4051: Warning: as opposed to the TeXsize attribute in <h1>..<h6> <font> and <basefont>, this one requires a \ at the beginning of the values.
4052: </div>
4053:
4054:
1.2 ! damieng 4055: Union of types<ul>
! 4056: <li><a href="#perl_0">perl</a></li>
! 4057: <li>
1.1 damieng 4058: Value restriction based on xs:string<ul>
4059: <li><tt>\tiny</tt></li>
4060: <li><tt>\scriptsize</tt></li>
4061: <li><tt>\footnotesize</tt></li>
4062: <li><tt>\small</tt></li>
4063: <li><tt>\normalsize</tt></li>
4064: <li><tt>\large</tt></li>
4065: <li><tt>\Large</tt></li>
4066: <li><tt>\LARGE</tt></li>
4067: <li><tt>\huge</tt></li>
4068: <li><tt>\Huge</tt></li>
4069: </ul>
1.2 ! damieng 4070: </li>
! 4071: </ul>
1.1 damieng 4072:
4073: </div>
4074: </div>
4075: <hr>
4076: <a name="randomlabel--label_0"></a><h3>Complex type <span class="nomtitre">randomlabel--label</span>
4077: </h3>Can contain text<br><div class="indentation">
4078:
4079: <div class="documentation">Label Text or Path to image</div>
4080:
4081: Choice between:<ul>
4082: <li>
4083: <a href="#text-only_0">text-only</a><br>
4084: </li>
4085: <li>
4086: <a href="#preduedate_0">preduedate</a><br>
4087: </li>
4088: <li>
4089: <a href="#postanswerdate_0">postanswerdate</a><br>
4090: </li>
4091: <li>
4092: <a href="#parserlib_0">parserlib</a><br>
4093: </li>
4094: <li>
4095: <a href="#scriptlib_0">scriptlib</a><br>
4096: </li>
4097: </ul>
4098: Attribute <span class="nomattribut">description</span>:
4099: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
4100: </div>
4101: </div>
4102: <hr>
4103: <a name="randomlabel--location_0"></a><h3>Complex type <span class="nomtitre">randomlabel--location</span>
4104: </h3>
4105: <div class="indentation">
4106:
4107: <div class="documentation">Label Location</div>
4108:
4109: Attribute <span class="nomattribut">x</span>:
4110: <div class="indentation">required<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
4111: </div>
4112: Attribute <span class="nomattribut">y</span>:
4113: <div class="indentation">required<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
4114: </div>
4115: Attribute <span class="nomattribut">value</span>:
4116: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
4117: </div>
4118: </div>
4119: <hr>
4120:
4121:
1.2 ! damieng 4122: <div class="documentation"> Gnuplot
1.1 damieng 4123: </div>
1.2 ! damieng 4124: <hr>
1.1 damieng 4125:
4126: <a name="gnuplot_0"></a><h3>Element <span class="nomtitre">gnuplot</span>
4127: </h3>
4128:
1.2 ! damieng 4129: <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 4130: </div>
4131:
4132: <div class="indentation">
4133: Choice between:<ul><li>
4134: <a href="#gnuplot-children_0">gnuplot-children</a><br>
4135: </li></ul>
4136: Attribute <span class="nomattribut">alttag</span>:
4137: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
4138:
1.2 ! damieng 4139: <div class="documentation"> Brief description of the plot.
1.1 damieng 4140: This text is used as the alt value of the img element used to display the plot on a web page.
4141: </div>
4142:
4143: </div>
4144: Attribute <span class="nomattribut">height</span>:
4145: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
4146:
1.2 ! damieng 4147: <div class="documentation"> Height of image (pixels)
1.1 damieng 4148: </div>
4149:
4150: </div>
4151: Attribute <span class="nomattribut">width</span>:
4152: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
4153:
1.2 ! damieng 4154: <div class="documentation"> Width of image (pixels)
1.1 damieng 4155: </div>
4156:
4157: </div>
4158: Attribute <span class="nomattribut">bgcolor</span>:
4159: <div class="indentation">optional<br>type: <a href="#color-or-perl_0">color-or-perl</a><br>
4160:
1.2 ! damieng 4161: <div class="documentation"> Background color of image
1.1 damieng 4162: </div>
4163:
4164: </div>
4165: Attribute <span class="nomattribut">fgcolor</span>:
4166: <div class="indentation">optional<br>type: <a href="#color-or-perl_0">color-or-perl</a><br>
4167:
1.2 ! damieng 4168: <div class="documentation"> Foreground color of image
1.1 damieng 4169: </div>
4170:
4171: </div>
4172: Attribute <span class="nomattribut">transparent</span>:
4173: <div class="indentation">optional<br>type: <a href="#onoff-or-perl_0">onoff-or-perl</a><br>
4174:
1.2 ! damieng 4175: <div class="documentation"> Transparent image. If the image is transparent the background color will be ignored.
1.1 damieng 4176: </div>
4177:
4178: </div>
4179: Attribute <span class="nomattribut">grid</span>:
4180: <div class="indentation">optional<br>type: <a href="#onoff-or-perl_0">onoff-or-perl</a><br>
4181:
1.2 ! damieng 4182: <div class="documentation"> Display grid
1.1 damieng 4183: </div>
4184:
4185: </div>
4186: Attribute <span class="nomattribut">gridlayer</span>:
4187: <div class="indentation">optional<br>type: <a href="#onoff-or-perl_0">onoff-or-perl</a><br>
4188:
1.2 ! damieng 4189: <div class="documentation"> Display grid front layer over filled boxes or filled curves
1.1 damieng 4190: </div>
4191:
4192: </div>
4193: Attribute <span class="nomattribut">border</span>:
4194: <div class="indentation">optional<br>type: <a href="#onoff-or-perl_0">onoff-or-perl</a><br>
4195:
1.2 ! damieng 4196: <div class="documentation"> Draw border around plot
1.1 damieng 4197: </div>
4198:
4199: </div>
4200: Attribute <span class="nomattribut">font</span>:
4201: <div class="indentation">optional<br>
4202:
1.2 ! damieng 4203: <div class="documentation"> Font size to use in web output (in pts, or "small", "medium" or "large").
1.1 damieng 4204: </div>
4205:
4206:
1.2 ! damieng 4207: Union of types<ul>
! 4208: <li><a href="#perl_0">perl</a></li>
! 4209: <li>
1.1 damieng 4210: Value restriction based on xs:int<ul>
4211: <li><tt>>= 5</tt></li>
4212: <li><tt><= 15</tt></li>
4213: </ul>
1.2 ! damieng 4214: </li>
! 4215: <li>
1.1 damieng 4216: Value restriction based on xs:string<ul>
4217: <li><tt>small</tt></li>
4218: <li><tt>medium</tt></li>
4219: <li><tt>large</tt></li>
4220: </ul>
1.2 ! damieng 4221: </li>
! 4222: </ul>
1.1 damieng 4223:
4224: </div>
4225: Attribute <span class="nomattribut">fontface</span>:
4226: <div class="indentation">optional<br>
4227:
1.2 ! damieng 4228: <div class="documentation"> Type of font to use
1.1 damieng 4229: </div>
4230:
4231:
1.2 ! damieng 4232: Union of types<ul>
! 4233: <li><a href="#perl_0">perl</a></li>
! 4234: <li>
1.1 damieng 4235: Value restriction based on xs:string<ul>
4236: <li><tt>sans-serif</tt></li>
4237: <li><tt>serif</tt></li>
4238: <li><tt>classic</tt></li>
4239: </ul>
1.2 ! damieng 4240: </li>
! 4241: </ul>
1.1 damieng 4242:
4243: </div>
4244: Attribute <span class="nomattribut">samples</span>:
4245: <div class="indentation">optional<br>
4246:
1.2 ! damieng 4247: <div class="documentation"> Number of samples for non-data plots.
1.1 damieng 4248: If a function element is used to specify the curve, this indicates the number of sample points to use.
4249: </div>
4250:
4251:
1.2 ! damieng 4252: Union of types<ul>
! 4253: <li><a href="#perl_0">perl</a></li>
! 4254: <li>
1.1 damieng 4255: Value restriction based on xs:int<ul>
4256: <li><tt>>= 100</tt></li>
4257: <li><tt><= 5000</tt></li>
4258: </ul>
1.2 ! damieng 4259: </li>
! 4260: </ul>
1.1 damieng 4261:
4262: </div>
4263: Attribute <span class="nomattribut">align</span>:
4264: <div class="indentation">optional<br>
4265:
1.2 ! damieng 4266: <div class="documentation"> Alignment for image in HTML
1.1 damieng 4267: </div>
4268:
4269:
1.2 ! damieng 4270: Union of types<ul>
! 4271: <li><a href="#perl_0">perl</a></li>
! 4272: <li>
1.1 damieng 4273: Value restriction based on xs:string<ul>
4274: <li><tt>left</tt></li>
4275: <li><tt>right</tt></li>
4276: <li><tt>middle</tt></li>
4277: <li><tt>center</tt></li>
4278: </ul>
1.2 ! damieng 4279: </li>
! 4280: </ul>
1.1 damieng 4281:
4282: </div>
4283: Attribute <span class="nomattribut">texwidth</span>:
4284: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
4285:
1.2 ! damieng 4286: <div class="documentation"> Width of plot when printed (mm)
1.1 damieng 4287: </div>
4288:
4289: </div>
4290: Attribute <span class="nomattribut">texfont</span>:
4291: <div class="indentation">optional<br>
4292:
1.2 ! damieng 4293: <div class="documentation"> Font size to use in TeX output (pts)
1.1 damieng 4294: </div>
4295:
4296:
1.2 ! damieng 4297: Union of types<ul>
! 4298: <li><a href="#perl_0">perl</a></li>
! 4299: <li>
1.1 damieng 4300: Value restriction based on xs:int<ul>
4301: <li><tt>>= 8</tt></li>
4302: <li><tt><= 36</tt></li>
4303: </ul>
1.2 ! damieng 4304: </li>
! 4305: </ul>
1.1 damieng 4306:
4307: </div>
4308: Attribute <span class="nomattribut">plotcolor</span>:
4309: <div class="indentation">optional<br>
4310:
1.2 ! damieng 4311: <div class="documentation"> Color setting for printing
1.1 damieng 4312: </div>
4313:
4314:
1.2 ! damieng 4315: Union of types<ul>
! 4316: <li><a href="#perl_0">perl</a></li>
! 4317: <li>
1.1 damieng 4318: Value restriction based on xs:string<ul>
4319: <li><tt>monochrome</tt></li>
4320: <li><tt>color</tt></li>
4321: <li><tt>colour</tt></li>
4322: </ul>
1.2 ! damieng 4323: </li>
! 4324: </ul>
1.1 damieng 4325:
4326: </div>
4327: Attribute <span class="nomattribut">plottype</span>:
4328: <div class="indentation">optional<br>
4329:
1.2 ! damieng 4330: <div class="documentation"> Plot type
1.1 damieng 4331: </div>
4332:
4333:
1.2 ! damieng 4334: Union of types<ul>
! 4335: <li><a href="#perl_0">perl</a></li>
! 4336: <li>
1.1 damieng 4337: Value restriction based on xs:string<ul>
4338: <li><tt>Cartesian</tt></li>
4339: <li><tt>Polar</tt></li>
4340: </ul>
1.2 ! damieng 4341: </li>
! 4342: </ul>
1.1 damieng 4343:
4344: </div>
4345: Attribute <span class="nomattribut">gridtype</span>:
4346: <div class="indentation">optional<br>
4347:
1.2 ! damieng 4348: <div class="documentation"> Grid type
1.1 damieng 4349: </div>
4350:
4351:
1.2 ! damieng 4352: Union of types<ul>
! 4353: <li><a href="#perl_0">perl</a></li>
! 4354: <li>
1.1 damieng 4355: Value restriction based on xs:string<ul>
4356: <li><tt>Cartesian</tt></li>
4357: <li><tt>Polar</tt></li>
4358: <li><tt>Linear-Log</tt></li>
4359: <li><tt>Log-Linear</tt></li>
4360: <li><tt>Log-Log</tt></li>
4361: </ul>
1.2 ! damieng 4362: </li>
! 4363: </ul>
1.1 damieng 4364:
4365: </div>
4366: Attribute <span class="nomattribut">lmargin</span>:
4367: <div class="indentation">optional<br>
4368:
1.2 ! damieng 4369: <div class="documentation"> Left margin width (pts)
1.1 damieng 4370: </div>
4371:
4372:
1.2 ! damieng 4373: Union of types<ul>
! 4374: <li><a href="#perl_0">perl</a></li>
! 4375: <li><tt>xs:int</tt></li>
! 4376: <li>
1.1 damieng 4377: Value restriction based on xs:string<ul>
4378: <li><tt>default</tt></li>
4379: </ul>
1.2 ! damieng 4380: </li>
! 4381: </ul>
1.1 damieng 4382:
4383: </div>
4384: Attribute <span class="nomattribut">rmargin</span>:
4385: <div class="indentation">optional<br>
4386:
1.2 ! damieng 4387: <div class="documentation"> Right margin width (pts)
1.1 damieng 4388: </div>
4389:
4390:
1.2 ! damieng 4391: Union of types<ul>
! 4392: <li><a href="#perl_0">perl</a></li>
! 4393: <li><tt>xs:int</tt></li>
! 4394: <li>
1.1 damieng 4395: Value restriction based on xs:string<ul>
4396: <li><tt>default</tt></li>
4397: </ul>
1.2 ! damieng 4398: </li>
! 4399: </ul>
1.1 damieng 4400:
4401: </div>
4402: Attribute <span class="nomattribut">tmargin</span>:
4403: <div class="indentation">optional<br>
4404:
1.2 ! damieng 4405: <div class="documentation"> Top margin width (pts)
1.1 damieng 4406: </div>
4407:
4408:
1.2 ! damieng 4409: Union of types<ul>
! 4410: <li><a href="#perl_0">perl</a></li>
! 4411: <li><tt>xs:int</tt></li>
! 4412: <li>
1.1 damieng 4413: Value restriction based on xs:string<ul>
4414: <li><tt>default</tt></li>
4415: </ul>
1.2 ! damieng 4416: </li>
! 4417: </ul>
1.1 damieng 4418:
4419: </div>
4420: Attribute <span class="nomattribut">bmargin</span>:
4421: <div class="indentation">optional<br>
4422:
1.2 ! damieng 4423: <div class="documentation"> Bottom margin width (pts)
1.1 damieng 4424: </div>
4425:
4426:
1.2 ! damieng 4427: Union of types<ul>
! 4428: <li><a href="#perl_0">perl</a></li>
! 4429: <li><tt>xs:int</tt></li>
! 4430: <li>
1.1 damieng 4431: Value restriction based on xs:string<ul>
4432: <li><tt>default</tt></li>
4433: </ul>
1.2 ! damieng 4434: </li>
! 4435: </ul>
1.1 damieng 4436:
4437: </div>
4438: Attribute <span class="nomattribut">major_ticscale</span>:
4439: <div class="indentation">optional<br>type: <a href="#real-or-perl_0">real-or-perl</a><br>
4440:
1.2 ! damieng 4441: <div class="documentation"> Size of major tic marks (plot coordinates)
1.1 damieng 4442: </div>
4443:
4444: </div>
4445: Attribute <span class="nomattribut">minor_ticscale</span>:
4446: <div class="indentation">optional<br>type: <a href="#real-or-perl_0">real-or-perl</a><br>
4447:
1.2 ! damieng 4448: <div class="documentation"> Size of minor tic mark (plot coordinates)
1.1 damieng 4449: </div>
4450:
4451: </div>
4452: Attribute <span class="nomattribut">box_border</span>:
4453: <div class="indentation">optional<br>
4454:
1.2 ! damieng 4455: <div class="documentation"> Draw border for boxes
1.1 damieng 4456: </div>
4457:
4458:
1.2 ! damieng 4459: Union of types<ul>
! 4460: <li><a href="#perl_0">perl</a></li>
! 4461: <li>
1.1 damieng 4462: Value restriction based on xs:string<ul>
4463: <li><tt>border</tt></li>
4464: <li><tt>noborder</tt></li>
4465: </ul>
1.2 ! damieng 4466: </li>
! 4467: </ul>
1.1 damieng 4468:
4469: </div>
4470: Attribute <span class="nomattribut">boxwidth</span>:
4471: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
4472:
1.2 ! damieng 4473: <div class="documentation"> Width of boxes, default is auto
1.1 damieng 4474: </div>
4475:
4476: </div>
4477: Attribute <span class="nomattribut">fillstyle</span>:
4478: <div class="indentation">optional<br>
4479:
1.2 ! damieng 4480: <div class="documentation"> Fill style for boxes
1.1 damieng 4481: </div>
4482:
4483:
1.2 ! damieng 4484: Union of types<ul>
! 4485: <li><a href="#perl_0">perl</a></li>
! 4486: <li>
1.1 damieng 4487: Value restriction based on xs:string<ul>
4488: <li><tt>empty</tt></li>
4489: <li><tt>solid</tt></li>
4490: <li><tt>pattern</tt></li>
4491: </ul>
1.2 ! damieng 4492: </li>
! 4493: </ul>
1.1 damieng 4494:
4495: </div>
4496: Attribute <span class="nomattribut">solid</span>:
4497: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
4498:
1.2 ! damieng 4499: <div class="documentation"> Density of fill style for boxes
1.1 damieng 4500: </div>
4501:
4502: </div>
4503: Attribute <span class="nomattribut">pattern</span>:
4504: <div class="indentation">optional<br>
4505:
1.2 ! damieng 4506: <div class="documentation"> Pattern value for boxes
1.1 damieng 4507: </div>
4508:
4509:
1.2 ! damieng 4510: Union of types<ul>
! 4511: <li><a href="#perl_0">perl</a></li>
! 4512: <li>
1.1 damieng 4513: Value restriction based on xs:int<ul>
4514: <li><tt>>= 0</tt></li>
4515: <li><tt><= 6</tt></li>
4516: </ul>
1.2 ! damieng 4517: </li>
! 4518: </ul>
1.1 damieng 4519:
4520: </div>
4521: </div>
1.2 ! damieng 4522: <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 4523: <a name="gnuplot-children_0"></a><h3>Group <span class="nomtitre">gnuplot-children</span>
4524: </h3>
4525:
1.2 ! damieng 4526: <div class="documentation"> List of children, used in gnuplot and lonplot--block
1.1 damieng 4527: </div>
4528:
4529: Choice between:<ul>
4530: <li>
4531: <a name="title_0"></a><h3>Element <span class="nomtitre">title</span>
4532: </h3>type: <a href="#lonplot--title_0">lonplot--title</a><br><br>
4533: </li>
4534: <li>
4535: <a name="axis_0"></a><h3>Element <span class="nomtitre">axis</span>
4536: </h3>type: <a href="#lonplot--axis_0">lonplot--axis</a><br>
4537:
1.2 ! damieng 4538: <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 4539: </div>
4540:
4541: <br>
4542: </li>
4543: <li>
4544: <a name="curve_0"></a><h3>Element <span class="nomtitre">curve</span>
4545: </h3>type: <a href="#lonplot--curve_0">lonplot--curve</a><br>
4546:
1.2 ! damieng 4547: <div class="documentation"> The curve element is where you set the data to be plotted by gnuplot.
1.1 damieng 4548: </div>
4549:
4550: <br>
4551: </li>
4552: <li>
4553: <a name="key_0"></a><h3>Element <span class="nomtitre">key</span>
4554: </h3>type: <a href="#lonplot--key_0">lonplot--key</a><br>
4555:
1.2 ! damieng 4556: <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 4557: The key is the color of the foreground of the plot, specified in the gnuplot element.
4558: </div>
4559:
4560: <br>
4561: </li>
4562: <li>
4563: <a name="label_5"></a><h3>Element <span class="nomtitre">label</span>
4564: </h3>type: <a href="#lonplot--label_0">lonplot--label</a><br>
4565:
1.2 ! damieng 4566: <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 4567: </div>
4568:
4569: <br>
4570: </li>
4571: <li>
4572: <a name="xtics_0"></a><h3>Element <span class="nomtitre">xtics</span>
4573: </h3>type: <a href="#lonplot--xtics_0">lonplot--xtics</a><br><br>
4574: </li>
4575: <li>
4576: <a name="ytics_0"></a><h3>Element <span class="nomtitre">ytics</span>
4577: </h3>type: <a href="#lonplot--ytics_0">lonplot--ytics</a><br><br>
4578: </li>
4579: <li>
4580: <a name="xlabel_1"></a><h3>Element <span class="nomtitre">xlabel</span>
4581: </h3>type: <a href="#lonplot--xlabel_0">lonplot--xlabel</a><br><br>
4582: </li>
4583: <li>
4584: <a name="ylabel_1"></a><h3>Element <span class="nomtitre">ylabel</span>
4585: </h3>type: <a href="#lonplot--ylabel_0">lonplot--ylabel</a><br><br>
4586: </li>
4587: <li>
4588: <a name="block_3"></a><h3>Element <span class="nomtitre">block</span>
4589: </h3>type: <a href="#lonplot--block_0">lonplot--block</a><br><br>
4590: </li>
4591: </ul>
1.2 ! damieng 4592: <br>Parents: <a href="#gnuplot_0">gnuplot</a><br><hr>
1.1 damieng 4593: <a name="lonplot--title_0"></a><h3>Simple type <span class="nomtitre">lonplot--title</span>
4594: </h3>
4595:
4596: <div class="documentation">Plot Title</div>
4597:
4598: Value restriction based on xs:string
4599: <hr>
4600: <a name="lonplot--axis_0"></a><h3>Complex type <span class="nomtitre">lonplot--axis</span>
4601: </h3>
4602: <div class="indentation">
4603:
4604: <div class="documentation">Plot axes</div>
4605:
4606: Attribute <span class="nomattribut">color</span>:
4607: <div class="indentation">optional<br>type: <a href="#color-or-perl_0">color-or-perl</a><br>
4608:
1.2 ! damieng 4609: <div class="documentation"> Color of grid lines
1.1 damieng 4610: </div>
4611:
4612: </div>
4613: Attribute <span class="nomattribut">xmin</span>:
4614: <div class="indentation">optional<br>type: <a href="#real-or-perl_0">real-or-perl</a><br>
4615:
1.2 ! damieng 4616: <div class="documentation"> Minimum x-value shown in plot
1.1 damieng 4617: </div>
4618:
4619: </div>
4620: Attribute <span class="nomattribut">xmax</span>:
4621: <div class="indentation">optional<br>type: <a href="#real-or-perl_0">real-or-perl</a><br>
4622:
1.2 ! damieng 4623: <div class="documentation"> Maximum x-value shown in plot
1.1 damieng 4624: </div>
4625:
4626: </div>
4627: Attribute <span class="nomattribut">ymin</span>:
4628: <div class="indentation">optional<br>type: <a href="#real-or-perl_0">real-or-perl</a><br>
4629:
1.2 ! damieng 4630: <div class="documentation"> Minimum y-value shown in plot
1.1 damieng 4631: </div>
4632:
4633: </div>
4634: Attribute <span class="nomattribut">ymax</span>:
4635: <div class="indentation">optional<br>type: <a href="#real-or-perl_0">real-or-perl</a><br>
4636:
1.2 ! damieng 4637: <div class="documentation"> Maximum y-value shown in plot
1.1 damieng 4638: </div>
4639:
4640: </div>
4641: Attribute <span class="nomattribut">xformat</span>:
4642: <div class="indentation">optional<br>
4643:
1.2 ! damieng 4644: <div class="documentation"> X-axis number formatting
1.1 damieng 4645: </div>
4646:
4647:
1.2 ! damieng 4648: Union of types<ul>
! 4649: <li><a href="#perl_0">perl</a></li>
! 4650: <li>
1.1 damieng 4651: Value restriction based on xs:string<ul>
4652: <li><tt>on</tt></li>
4653: <li><tt>off</tt></li>
4654: <li><tt>2e</tt></li>
4655: <li><tt>2f</tt></li>
4656: </ul>
1.2 ! damieng 4657: </li>
! 4658: </ul>
1.1 damieng 4659:
4660: </div>
4661: Attribute <span class="nomattribut">yformat</span>:
4662: <div class="indentation">optional<br>
4663:
1.2 ! damieng 4664: <div class="documentation"> Y-axis number formatting
1.1 damieng 4665: </div>
4666:
4667:
1.2 ! damieng 4668: Union of types<ul>
! 4669: <li><a href="#perl_0">perl</a></li>
! 4670: <li>
1.1 damieng 4671: Value restriction based on xs:string<ul>
4672: <li><tt>on</tt></li>
4673: <li><tt>off</tt></li>
4674: <li><tt>2e</tt></li>
4675: <li><tt>2f</tt></li>
4676: </ul>
1.2 ! damieng 4677: </li>
! 4678: </ul>
1.1 damieng 4679:
4680: </div>
4681: Attribute <span class="nomattribut">xzero</span>:
4682: <div class="indentation">optional<br>
4683:
1.2 ! damieng 4684: <div class="documentation"> Show x-zero (y=0) axis
1.1 damieng 4685: </div>
4686:
4687:
1.2 ! damieng 4688: Union of types<ul>
! 4689: <li><a href="#perl_0">perl</a></li>
! 4690: <li>
1.1 damieng 4691: Value restriction based on xs:string<ul>
4692: <li><tt>off</tt></li>
4693: <li><tt>line</tt></li>
4694: <li><tt>thick-line</tt></li>
4695: <li><tt>dotted</tt></li>
4696: </ul>
1.2 ! damieng 4697: </li>
! 4698: </ul>
1.1 damieng 4699:
4700: </div>
4701: Attribute <span class="nomattribut">yzero</span>:
4702: <div class="indentation">optional<br>
4703:
1.2 ! damieng 4704: <div class="documentation"> Show y-zero (x=0) axis
1.1 damieng 4705: </div>
4706:
4707:
1.2 ! damieng 4708: Union of types<ul>
! 4709: <li><a href="#perl_0">perl</a></li>
! 4710: <li>
1.1 damieng 4711: Value restriction based on xs:string<ul>
4712: <li><tt>off</tt></li>
4713: <li><tt>line</tt></li>
4714: <li><tt>thick-line</tt></li>
4715: <li><tt>dotted</tt></li>
4716: </ul>
1.2 ! damieng 4717: </li>
! 4718: </ul>
1.1 damieng 4719:
4720: </div>
4721: </div>
4722: <hr>
4723: <a name="lonplot--curve_0"></a><h3>Complex type <span class="nomtitre">lonplot--curve</span>
4724: </h3>
4725: <div class="indentation">
4726:
4727: <div class="documentation">Plot Curve</div>
4728:
4729: Choice between:<ul>
4730: <li>
4731: <a name="data_0"></a><h3>Element <span class="nomtitre">data</span>
4732: </h3>type: <a href="#lonplot--data_0">lonplot--data</a><br><br>
4733: </li>
4734: <li>
4735: <a name="function_1"></a><h3>Element <span class="nomtitre">function</span>
4736: </h3>type: <a href="#lonplot--function_0">lonplot--function</a><br><br>
4737: </li>
4738: </ul>
4739: Attribute <span class="nomattribut">color</span>:
4740: <div class="indentation">optional<br>type: <a href="#color-or-perl_0">color-or-perl</a><br>
4741:
1.2 ! damieng 4742: <div class="documentation"> Color of curve
1.1 damieng 4743: </div>
4744:
4745: </div>
4746: Attribute <span class="nomattribut">name</span>:
4747: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
4748:
1.2 ! damieng 4749: <div class="documentation"> Name of curve to appear in key
1.1 damieng 4750: </div>
4751:
4752: </div>
4753: Attribute <span class="nomattribut">linestyle</span>:
4754: <div class="indentation">optional<br>
4755:
1.2 ! damieng 4756: <div class="documentation"> Unless otherwise noted the linestyles require only 2 data sets, X and Y.
1.1 damieng 4757:
4758: - lines: Connect adjacent points with straight line segments.
4759: - points: Display a small marker at each point.
4760: - linespoints: Draw both lines and points.
4761: Draws a small symbol at each point and then connects adjacent points with straight line segments.
4762: - dots: Place a tiny dots on the given points.
4763: - steps: Connect points with horizontal lines.
4764: 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).
4765: - fsteps: Connect data with horizontal lines.
4766: 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).
4767: - histeps: Plot as histogram.
4768: 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).
4769: - errorbars: Same as yerrorbars.
4770: - xerrorbars: Draw horizontal error bars around the points.
4771: 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.
4772: - yerrorbars: Draw vertical error bars around the points.
4773: 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.
4774: - xyerrorbars: Draw both vertical and horizontal error bars around the points.
4775: 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.
4776: - boxes: Draw a box from the X-axis to the Y-value given.
4777: 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.
4778: - vector: Draws a vector field based on the given data.
4779: 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.
4780: </div>
4781:
4782:
1.2 ! damieng 4783: Union of types<ul>
! 4784: <li><a href="#perl_0">perl</a></li>
! 4785: <li>
1.1 damieng 4786: Value restriction based on xs:string<ul>
4787: <li><tt>lines</tt></li>
4788: <li><tt>linespoints</tt></li>
4789: <li><tt>dots</tt></li>
4790: <li><tt>points</tt></li>
4791: <li><tt>steps</tt></li>
4792: <li><tt>fsteps</tt></li>
4793: <li><tt>histeps</tt></li>
4794: <li><tt>errorbars</tt></li>
4795: <li><tt>xerrorbars</tt></li>
4796: <li><tt>yerrorbars</tt></li>
4797: <li><tt>xyerrorbars</tt></li>
4798: <li><tt>boxes</tt></li>
4799: <li><tt>filledcurves</tt></li>
4800: <li><tt>vector</tt></li>
4801: </ul>
1.2 ! damieng 4802: </li>
! 4803: </ul>
1.1 damieng 4804:
4805: </div>
4806: Attribute <span class="nomattribut">linewidth</span>:
4807: <div class="indentation">optional<br>
4808:
1.2 ! damieng 4809: <div class="documentation"> Line width (may not apply to all plot styles)
1.1 damieng 4810: </div>
4811:
4812:
1.2 ! damieng 4813: Union of types<ul>
! 4814: <li><a href="#perl_0">perl</a></li>
! 4815: <li>
1.1 damieng 4816: Value restriction based on xs:int<ul>
4817: <li><tt>>= 1</tt></li>
4818: <li><tt><= 10</tt></li>
4819: </ul>
1.2 ! damieng 4820: </li>
! 4821: </ul>
1.1 damieng 4822:
4823: </div>
4824: Attribute <span class="nomattribut">linetype</span>:
4825: <div class="indentation">optional<br>
4826:
1.2 ! damieng 4827: <div class="documentation"> Line type (may not apply to all plot styles)
1.1 damieng 4828: </div>
4829:
4830:
1.2 ! damieng 4831: Union of types<ul>
! 4832: <li><a href="#perl_0">perl</a></li>
! 4833: <li>
1.1 damieng 4834: Value restriction based on xs:string<ul>
4835: <li><tt>solid</tt></li>
4836: <li><tt>dashed</tt></li>
4837: </ul>
1.2 ! damieng 4838: </li>
! 4839: </ul>
1.1 damieng 4840:
4841: </div>
4842: Attribute <span class="nomattribut">pointsize</span>:
4843: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
4844:
1.2 ! damieng 4845: <div class="documentation"> Point size (may not apply to all plot styles)
1.1 damieng 4846: </div>
4847:
4848: </div>
4849: Attribute <span class="nomattribut">pointtype</span>:
4850: <div class="indentation">optional<br>
4851:
1.2 ! damieng 4852: <div class="documentation"> Point type (may not apply to all plot styles)
1.1 damieng 4853: </div>
4854:
4855:
1.2 ! damieng 4856: Union of types<ul>
! 4857: <li><a href="#perl_0">perl</a></li>
! 4858: <li>
1.1 damieng 4859: Value restriction based on xs:int<ul>
4860: <li><tt>>= 0</tt></li>
4861: <li><tt><= 6</tt></li>
4862: </ul>
1.2 ! damieng 4863: </li>
! 4864: </ul>
1.1 damieng 4865:
4866: </div>
4867: Attribute <span class="nomattribut">limit</span>:
4868: <div class="indentation">optional<br>
4869:
1.2 ! damieng 4870: <div class="documentation"> Point to fill for filled curves
1.1 damieng 4871: </div>
4872:
4873:
1.2 ! damieng 4874: Union of types<ul>
! 4875: <li><a href="#perl_0">perl</a></li>
! 4876: <li>
1.1 damieng 4877: Value restriction based on xs:string<ul>
4878: <li><tt>above</tt></li>
4879: <li><tt>below</tt></li>
4880: <li><tt>closed</tt></li>
4881: <li><tt>x1</tt></li>
4882: <li><tt>x2</tt></li>
4883: <li><tt>y1</tt></li>
4884: <li><tt>y2</tt></li>
4885: </ul>
1.2 ! damieng 4886: </li>
! 4887: </ul>
1.1 damieng 4888:
4889: </div>
4890: Attribute <span class="nomattribut">arrowhead</span>:
4891: <div class="indentation">optional<br>
4892:
1.2 ! damieng 4893: <div class="documentation"> For vector plots, controls where in the vector the arrow head(s) appear.
1.1 damieng 4894: </div>
4895:
4896:
1.2 ! damieng 4897: Union of types<ul>
! 4898: <li><a href="#perl_0">perl</a></li>
! 4899: <li>
1.1 damieng 4900: Value restriction based on xs:string<ul>
4901: <li><tt>nohead</tt></li>
4902: <li><tt>head</tt></li>
4903: <li><tt>heads</tt></li>
4904: </ul>
1.2 ! damieng 4905: </li>
! 4906: </ul>
1.1 damieng 4907:
4908: </div>
4909: Attribute <span class="nomattribut">arrowstyle</span>:
4910: <div class="indentation">optional<br>
4911:
1.2 ! damieng 4912: <div class="documentation"> For vector plots, controls the fill style of the arrow.
1.1 damieng 4913: </div>
4914:
4915:
1.2 ! damieng 4916: Union of types<ul>
! 4917: <li><a href="#perl_0">perl</a></li>
! 4918: <li>
1.1 damieng 4919: Value restriction based on xs:string<ul>
4920: <li><tt>filled</tt></li>
4921: <li><tt>empty</tt></li>
4922: <li><tt>nofilled</tt></li>
4923: </ul>
1.2 ! damieng 4924: </li>
! 4925: </ul>
1.1 damieng 4926:
4927: </div>
4928: Attribute <span class="nomattribut">arrowlength</span>:
4929: <div class="indentation">optional<br>type: <a href="#real-or-perl_0">real-or-perl</a><br>
4930:
1.2 ! damieng 4931: <div class="documentation"> For vector plots, determines the distance between the vector line end and the tip of the arrow.
1.1 damieng 4932: </div>
4933:
4934: </div>
4935: Attribute <span class="nomattribut">arrowangle</span>:
4936: <div class="indentation">optional<br>type: <a href="#real-or-perl_0">real-or-perl</a><br>
4937:
1.2 ! damieng 4938: <div class="documentation"> For vector plots, determines the angle the arrow branches make with the vector line.
1.1 damieng 4939: </div>
4940:
4941: </div>
4942: Attribute <span class="nomattribut">arrowbackangle</span>:
4943: <div class="indentation">optional<br>type: <a href="#real-or-perl_0">real-or-perl</a><br>
4944:
1.2 ! damieng 4945: <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 4946: </div>
4947:
4948: </div>
4949: </div>
4950: <hr>
4951: <a name="lonplot--data_0"></a><h3>Complex type <span class="nomtitre">lonplot--data</span>
4952: </h3>Can contain text<br><div class="indentation">
4953:
1.2 ! damieng 4954: <div class="documentation"> Curve data
1.1 damieng 4955:
4956: 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.
4957: </div>
4958:
4959: </div>
4960: <hr>
4961: <a name="lonplot--function_0"></a><h3>Complex type <span class="nomtitre">lonplot--function</span>
4962: </h3>Can contain text<br><div class="indentation">
4963:
1.2 ! damieng 4964: <div class="documentation"> Used to specify the curve to be plotted as a formula, instead of numerical data.
1.1 damieng 4965: 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.
4966: </div>
4967:
4968: </div>
4969: <hr>
4970: <a name="lonplot--key_0"></a><h3>Complex type <span class="nomtitre">lonplot--key</span>
4971: </h3>
4972: <div class="indentation">
4973:
1.2 ! damieng 4974: <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 4975: The key is the color of the foreground of the plot, specified in the gnuplot element.
4976: </div>
4977:
4978: Attribute <span class="nomattribut">title</span>:
4979: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
4980:
1.2 ! damieng 4981: <div class="documentation"> Title of key
1.1 damieng 4982: </div>
4983:
4984: </div>
4985: Attribute <span class="nomattribut">box</span>:
4986: <div class="indentation">optional<br>type: <a href="#onoff-or-perl_0">onoff-or-perl</a><br>
4987:
1.2 ! damieng 4988: <div class="documentation"> Draw a box around the key?
1.1 damieng 4989: </div>
4990:
4991: </div>
4992: Attribute <span class="nomattribut">pos</span>:
4993: <div class="indentation">optional<br>
4994:
1.2 ! damieng 4995: <div class="documentation"> Position of the key on the plot
1.1 damieng 4996: </div>
4997:
4998:
1.2 ! damieng 4999: Union of types<ul>
! 5000: <li><a href="#perl_0">perl</a></li>
! 5001: <li>
1.1 damieng 5002: Value restriction based on xs:string<ul>
5003: <li><tt>top left</tt></li>
5004: <li><tt>top right</tt></li>
5005: <li><tt>bottom left</tt></li>
5006: <li><tt>bottom right</tt></li>
5007: <li><tt>outside</tt></li>
5008: <li><tt>below</tt></li>
5009: </ul>
1.2 ! damieng 5010: </li>
! 5011: </ul>
1.1 damieng 5012:
5013: </div>
5014: </div>
5015: <hr>
5016: <a name="lonplot--label_0"></a><h3>Complex type <span class="nomtitre">lonplot--label</span>
5017: </h3>Can contain text<br><div class="indentation">
5018:
5019: <div class="documentation">Plot Label</div>
5020:
5021: Attribute <span class="nomattribut">xpos</span>:
5022: <div class="indentation">optional<br>type: <a href="#real-or-perl_0">real-or-perl</a><br>
5023:
1.2 ! damieng 5024: <div class="documentation"> X position of label (graph coordinates)
1.1 damieng 5025: </div>
5026:
5027: </div>
5028: Attribute <span class="nomattribut">ypos</span>:
5029: <div class="indentation">optional<br>type: <a href="#real-or-perl_0">real-or-perl</a><br>
5030:
1.2 ! damieng 5031: <div class="documentation"> Y position of label (graph coordinates)
1.1 damieng 5032: </div>
5033:
5034: </div>
5035: Attribute <span class="nomattribut">justify</span>:
5036: <div class="indentation">optional<br>
5037:
1.2 ! damieng 5038: <div class="documentation"> justification of the label text on the plot
1.1 damieng 5039: </div>
5040:
5041:
1.2 ! damieng 5042: Union of types<ul>
! 5043: <li><a href="#perl_0">perl</a></li>
! 5044: <li>
1.1 damieng 5045: Value restriction based on xs:string<ul>
5046: <li><tt>left</tt></li>
5047: <li><tt>right</tt></li>
5048: <li><tt>center</tt></li>
5049: </ul>
1.2 ! damieng 5050: </li>
! 5051: </ul>
1.1 damieng 5052:
5053: </div>
5054: Attribute <span class="nomattribut">rotate</span>:
5055: <div class="indentation">optional<br>type: <a href="#real-or-perl_0">real-or-perl</a><br>
5056:
1.2 ! damieng 5057: <div class="documentation"> Rotation of label (degrees)
1.1 damieng 5058: </div>
5059:
5060: </div>
5061: </div>
5062: <hr>
5063: <a name="lonplot--tics_0"></a><h3>Complex type <span class="nomtitre">lonplot--tics</span>
5064: </h3>
5065: <div class="indentation">
5066:
5067: <div class="documentation">Plot tics</div>
5068:
5069: Choice between:<ul><li>
5070: <a name="tic_0"></a><h3>Element <span class="nomtitre">tic</span>
5071: </h3>
5072:
1.2 ! damieng 5073: <div class="documentation"> The <tic> element allows users to specify exact Tic positions and labels for each axis.
1.1 damieng 5074: In this version we only support level 0 tics (major tic).
5075: Each tic has associated with it a position and a label $current_tics is a reference to the current tick description hash.
5076: We add elements to an array in that has: ticspecs whose elements are 'pos' - the tick position and 'label' - the tic label.
5077: </div>
5078:
5079: Can contain text<br><div class="indentation">
5080: Attribute <span class="nomattribut">location</span>:
5081: <div class="indentation">required<br>type: <a href="#real-or-perl_0">real-or-perl</a><br>
5082: </div>
5083: </div>
5084: <br>
5085: </li></ul>
5086: Attribute <span class="nomattribut">location</span>:
5087: <div class="indentation">optional<br>
5088:
1.2 ! damieng 5089: <div class="documentation"> Location of major tic marks
1.1 damieng 5090: </div>
5091:
5092:
1.2 ! damieng 5093: Union of types<ul>
! 5094: <li><a href="#perl_0">perl</a></li>
! 5095: <li>
1.1 damieng 5096: Value restriction based on xs:string<ul>
5097: <li><tt>border</tt></li>
5098: <li><tt>axis</tt></li>
5099: </ul>
1.2 ! damieng 5100: </li>
! 5101: </ul>
1.1 damieng 5102:
5103: </div>
5104: Attribute <span class="nomattribut">mirror</span>:
5105: <div class="indentation">optional<br>type: <a href="#onoff-or-perl_0">onoff-or-perl</a><br>
5106:
1.2 ! damieng 5107: <div class="documentation"> Mirror tics on opposite axis?
1.1 damieng 5108: 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.
5109: </div>
5110:
5111: </div>
5112: Attribute <span class="nomattribut">start</span>:
5113: <div class="indentation">optional<br>type: <a href="#real-or-perl_0">real-or-perl</a><br>
5114:
1.2 ! damieng 5115: <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 5116: </div>
5117:
5118: </div>
5119: Attribute <span class="nomattribut">increment</span>:
5120: <div class="indentation">optional<br>type: <a href="#real-or-perl_0">real-or-perl</a><br>
5121:
1.2 ! damieng 5122: <div class="documentation"> The span, in graph coordinates, between each major tic mark.
1.1 damieng 5123: </div>
5124:
5125: </div>
5126: Attribute <span class="nomattribut">end</span>:
5127: <div class="indentation">optional<br>type: <a href="#real-or-perl_0">real-or-perl</a><br>
5128:
1.2 ! damieng 5129: <div class="documentation"> Stop major tics at.
1.1 damieng 5130: This may be less than or greater than the upper limit for the axis.
5131: </div>
5132:
5133: </div>
5134: Attribute <span class="nomattribut">minorfreq</span>:
5135: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
5136:
1.2 ! damieng 5137: <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 5138: </div>
5139:
5140: </div>
5141: Attribute <span class="nomattribut">rotate</span>:
5142: <div class="indentation">optional<br>type: <a href="#onoff-or-perl_0">onoff-or-perl</a><br>
5143:
1.2 ! damieng 5144: <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 5145: </div>
5146:
5147: </div>
5148: </div>
5149: <hr>
5150: <a name="lonplot--xtics_0"></a><h3>Complex type <span class="nomtitre">lonplot--xtics</span>
5151: </h3>
5152: <div class="indentation">
5153:
5154: <div class="documentation">Plot xtics</div>
5155:
5156:
5157:
5158:
5159: </div>
5160: <hr>
5161: <a name="lonplot--ytics_0"></a><h3>Complex type <span class="nomtitre">lonplot--ytics</span>
5162: </h3>
5163: <div class="indentation">
5164:
5165: <div class="documentation">Plot ytics</div>
5166:
5167:
5168:
5169:
5170: </div>
5171: <hr>
5172: <a name="lonplot--xlabel_0"></a><h3>Simple type <span class="nomtitre">lonplot--xlabel</span>
5173: </h3>
5174:
5175: <div class="documentation">Plot x-label</div>
5176:
5177: Value restriction based on xs:string
5178: <hr>
5179: <a name="lonplot--ylabel_0"></a><h3>Simple type <span class="nomtitre">lonplot--ylabel</span>
5180: </h3>
5181:
5182: <div class="documentation">Plot y-label</div>
5183:
5184: Value restriction based on xs:string
5185: <hr>
5186: <a name="lonplot--block_0"></a><h3>Complex type <span class="nomtitre">lonplot--block</span>
5187: </h3>
5188: <div class="indentation">
5189:
1.2 ! damieng 5190: <div class="documentation"> Conditional Block
1.1 damieng 5191:
5192: 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.
5193:
5194: When found inside the gnuplot element, a block can only have gnuplot children inside, with no text.
5195: </div>
5196:
5197: Choice between:<ul><li>
5198: <a href="#gnuplot-children_0">gnuplot-children</a><br>
5199: </li></ul>
5200: Attribute <span class="nomattribut">condition</span>:
5201: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
5202:
1.2 ! damieng 5203: <div class="documentation"> Test Condition
1.1 damieng 5204: </div>
5205:
5206: </div>
5207: </div>
5208: <hr>
5209:
5210:
1.2 ! damieng 5211: <div class="documentation"> Task
1.1 damieng 5212: </div>
1.2 ! damieng 5213: <hr>
1.1 damieng 5214:
5215: <a name="Task_0"></a><h3>Element <span class="nomtitre">Task</span>
5216: </h3>
5217:
5218: <div class="documentation">Root for .task (bridge task) documents</div>
5219:
5220: Can contain text<br><div class="indentation">
5221: Choice between:<ul>
5222: <li>
5223: <a href="#IntroParagraph_0">IntroParagraph</a><br>
5224: </li>
5225: <li>
5226: <a href="#Setup_0">Setup</a><br>
5227: </li>
5228: <li>
5229: <a href="#Question_0">Question</a><br>
5230: </li>
5231: <li>
5232: <a href="#Criteria_0">Criteria</a><br>
5233: </li>
5234: <li>
5235: <a href="#ClosingParagraph_0">ClosingParagraph</a><br>
5236: </li>
5237: </ul>
5238: Attribute <span class="nomattribut">OptionalRequired</span>:
5239: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
5240:
1.2 ! damieng 5241: <div class="documentation"> Required number of passed optional elements to pass the Task
1.1 damieng 5242: </div>
5243:
5244: </div>
5245: </div>
5246: <br><br><hr>
5247: <a name="IntroParagraph_0"></a><h3>Element <span class="nomtitre">IntroParagraph</span>
5248: </h3>
5249:
5250: <div class="documentation">Introductory Information</div>
5251:
5252: Can contain text<br><div class="indentation">
5253: Choice between:<ul>
5254: <li>
5255: <a href="#text-only_0">text-only</a><br>
5256: </li>
5257: <li>
5258: <a href="#parserlib_0">parserlib</a><br>
5259: </li>
5260: <li>
5261: <a href="#scriptlib_0">scriptlib</a><br>
5262: </li>
5263: </ul>
5264: </div>
1.2 ! damieng 5265: <br>Parents: <a href="#Task_0">Task</a><br><hr>
1.1 damieng 5266: <a name="ClosingParagraph_0"></a><h3>Element <span class="nomtitre">ClosingParagraph</span>
5267: </h3>
5268:
5269: <div class="documentation">Closing Information</div>
5270:
5271: Can contain text<br><div class="indentation">
5272: Choice between:<ul>
5273: <li>
5274: <a href="#text-only_0">text-only</a><br>
5275: </li>
5276: <li>
5277: <a href="#parserlib_0">parserlib</a><br>
5278: </li>
5279: <li>
5280: <a href="#scriptlib_0">scriptlib</a><br>
5281: </li>
5282: </ul>
5283: </div>
1.2 ! damieng 5284: <br>Parents: <a href="#Task_0">Task</a><br><hr>
1.1 damieng 5285: <a name="Question_0"></a><h3>Element <span class="nomtitre">Question</span>
5286: </h3>
5287:
5288: <div class="documentation">Question</div>
5289:
5290: <div class="indentation">
5291: Choice between:<ul>
5292: <li>
5293: <a href="#Instance_0">Instance</a><br>
5294: </li>
5295: <li>
5296: <a href="#QuestionText_0">QuestionText</a><br>
5297: </li>
5298: <li>
5299: <a href="#Question_0">Question</a><br>
5300: </li>
5301: <li>
5302: <a href="#Criteria_0">Criteria</a><br>
5303: </li>
5304: </ul>
5305: Attribute <span class="nomattribut">id</span>:
5306: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
5307: </div>
5308: Attribute <span class="nomattribut">Mandatory</span>:
5309: <div class="indentation">optional<br>
5310:
1.2 ! damieng 5311: <div class="documentation"> Passing is Mandatory
1.1 damieng 5312: </div>
5313:
5314:
1.2 ! damieng 5315: Union of types<ul>
! 5316: <li><a href="#perl_0">perl</a></li>
! 5317: <li>
1.1 damieng 5318: Value restriction based on xs:string<ul>
5319: <li><tt>Y</tt></li>
5320: <li><tt>N</tt></li>
5321: </ul>
1.2 ! damieng 5322: </li>
! 5323: </ul>
1.1 damieng 5324:
5325: </div>
5326: Attribute <span class="nomattribut">OptionalRequired</span>:
5327: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
5328:
1.2 ! damieng 5329: <div class="documentation"> Required number of passed optional elements to pass
1.1 damieng 5330: </div>
5331:
5332: </div>
5333: </div>
1.2 ! damieng 5334: <br>Parents: <a href="#Task_0">Task</a>, <a href="#Question_0">Question</a><br><hr>
1.1 damieng 5335: <a name="QuestionText_0"></a><h3>Element <span class="nomtitre">QuestionText</span>
5336: </h3>
5337:
5338: <div class="documentation">Question Information</div>
5339:
5340: Can contain text<br><div class="indentation">
5341: Choice between:<ul>
5342: <li>
5343: <a href="#text-only_0">text-only</a><br>
5344: </li>
5345: <li>
5346: <a href="#parserlib_0">parserlib</a><br>
5347: </li>
5348: <li>
5349: <a href="#scriptlib_0">scriptlib</a><br>
5350: </li>
5351: </ul>
5352: </div>
1.2 ! damieng 5353: <br>Parents: <a href="#Question_0">Question</a><br><hr>
1.1 damieng 5354: <a name="Setup_0"></a><h3>Element <span class="nomtitre">Setup</span>
5355: </h3>
5356:
5357: <div class="documentation">Setup....</div>
5358:
5359: <div class="indentation">
5360: Choice between:<ul><li>
5361: <a href="#Instance_0">Instance</a><br>
5362: </li></ul>
5363: Attribute <span class="nomattribut">id</span>:
5364: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
5365: </div>
5366: </div>
1.2 ! damieng 5367: <br>Parents: <a href="#Task_0">Task</a><br><hr>
1.1 damieng 5368: <a name="Instance_0"></a><h3>Element <span class="nomtitre">Instance</span>
5369: </h3>
5370:
5371: <div class="documentation">Specific Question Instance</div>
5372:
5373: <div class="indentation">
5374: Choice between:<ul>
5375: <li>
5376: <a href="#InstanceText_0">InstanceText</a><br>
5377: </li>
5378: <li>
5379: <a href="#Criteria_0">Criteria</a><br>
5380: </li>
5381: </ul>
5382: Attribute <span class="nomattribut">id</span>:
5383: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
5384: </div>
5385: Attribute <span class="nomattribut">Disabled</span>:
5386: <div class="indentation">optional<br>type: <a href="#yesno-or-perl_0">yesno-or-perl</a><br>
5387:
1.2 ! damieng 5388: <div class="documentation"> Instance is Disabled
1.1 damieng 5389: </div>
5390:
5391: </div>
5392: Attribute <span class="nomattribut">OptionalRequired</span>:
5393: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
5394:
1.2 ! damieng 5395: <div class="documentation"> Required number of passed optional elements to pass the Instance
1.1 damieng 5396: </div>
5397:
5398: </div>
5399: </div>
1.2 ! damieng 5400: <br>Parents: <a href="#Question_0">Question</a>, <a href="#Setup_0">Setup</a><br><hr>
1.1 damieng 5401: <a name="InstanceText_0"></a><h3>Element <span class="nomtitre">InstanceText</span>
5402: </h3>
5403:
5404: <div class="documentation">Information for the Instance</div>
5405:
5406: Can contain text<br><div class="indentation">
5407: Choice between:<ul>
5408: <li>
5409: <a href="#text-only_0">text-only</a><br>
5410: </li>
5411: <li>
5412: <a href="#parserlib_0">parserlib</a><br>
5413: </li>
5414: <li>
5415: <a href="#scriptlib_0">scriptlib</a><br>
5416: </li>
5417: </ul>
5418: </div>
1.2 ! damieng 5419: <br>Parents: <a href="#Instance_0">Instance</a><br><hr>
1.1 damieng 5420: <a name="Criteria_0"></a><h3>Element <span class="nomtitre">Criteria</span>
5421: </h3>
5422:
5423: <div class="documentation">Question Criteria</div>
5424:
5425: Can contain text<br><div class="indentation">
5426: Choice between:<ul>
5427: <li>
5428: <a href="#GraderNote_0">GraderNote</a><br>
5429: </li>
5430: <li>
5431: <a href="#CriteriaText_0">CriteriaText</a><br>
5432: </li>
5433: </ul>
5434: Attribute <span class="nomattribut">id</span>:
5435: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
5436: </div>
5437: Attribute <span class="nomattribut">Mandatory</span>:
5438: <div class="indentation">optional<br>
5439:
1.2 ! damieng 5440: <div class="documentation"> Passing is Mandatory
1.1 damieng 5441: </div>
5442:
5443:
1.2 ! damieng 5444: Union of types<ul>
! 5445: <li><a href="#perl_0">perl</a></li>
! 5446: <li>
1.1 damieng 5447: Value restriction based on xs:string<ul>
5448: <li><tt>Y</tt></li>
5449: <li><tt>N</tt></li>
5450: </ul>
1.2 ! damieng 5451: </li>
! 5452: </ul>
1.1 damieng 5453:
5454: </div>
5455: </div>
1.2 ! damieng 5456: <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 5457: <a name="CriteriaText_0"></a><h3>Element <span class="nomtitre">CriteriaText</span>
5458: </h3>
5459:
5460: <div class="documentation">Criteria Information</div>
5461:
5462: Can contain text<br><div class="indentation">
5463: Choice between:<ul>
5464: <li>
5465: <a href="#text-only_0">text-only</a><br>
5466: </li>
5467: <li>
5468: <a href="#parserlib_0">parserlib</a><br>
5469: </li>
5470: <li>
5471: <a href="#scriptlib_0">scriptlib</a><br>
5472: </li>
5473: </ul>
5474: </div>
1.2 ! damieng 5475: <br>Parents: <a href="#Criteria_0">Criteria</a><br><hr>
1.1 damieng 5476: <a name="GraderNote_0"></a><h3>Element <span class="nomtitre">GraderNote</span>
5477: </h3>
5478:
5479: <div class="documentation">Text to display to Grader</div>
5480:
5481: Can contain text<br><div class="indentation">
5482: Choice between:<ul>
5483: <li>
5484: <a href="#text-only_0">text-only</a><br>
5485: </li>
5486: <li>
5487: <a href="#parserlib_0">parserlib</a><br>
5488: </li>
5489: <li>
5490: <a href="#scriptlib_0">scriptlib</a><br>
5491: </li>
5492: </ul>
5493: </div>
1.2 ! damieng 5494: <br>Parents: <a href="#Criteria_0">Criteria</a><br><hr>
1.1 damieng 5495:
5496:
1.2 ! damieng 5497: <div class="documentation"> Problem block elements that cannot be used anywhere text is used.
1.1 damieng 5498: </div>
1.2 ! damieng 5499: <hr>
1.1 damieng 5500:
5501: <a name="part_0"></a><h3>Element <span class="nomtitre">part</span>
5502: </h3>
5503:
1.2 ! damieng 5504: <div class="documentation"> Problem Part
1.1 damieng 5505:
5506: 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.
5507: </div>
5508:
5509: Can contain text<br><div class="indentation">
5510: Choice between:<ul>
5511: <li>
5512: <a href="#text-with-responses_0">text-with-responses</a><br>
5513: </li>
5514: <li>
5515: <a href="#inserts_0">inserts</a><br>
5516: </li>
5517: <li>
5518: <a href="#parameter_0">parameter</a><br>
5519: </li>
5520: <li>
5521: <a href="#parserlib_0">parserlib</a><br>
5522: </li>
5523: <li>
5524: <a href="#scriptlib_0">scriptlib</a><br>
5525: </li>
5526: </ul>
5527: Attribute <span class="nomattribut">id</span>:
5528: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
5529:
1.2 ! damieng 5530: <div class="documentation"> Part ID
1.1 damieng 5531: </div>
5532:
5533: </div>
5534: Attribute <span class="nomattribut">display</span>:
5535: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
5536:
1.2 ! damieng 5537: <div class="documentation"> Displayed Part Description
1.1 damieng 5538: </div>
5539:
5540: </div>
5541: </div>
1.2 ! damieng 5542: <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 5543: <a name="allow_0"></a><h3>Element <span class="nomtitre">allow</span>
5544: </h3>
5545:
5546: <div class="documentation">File Dependencies</div>
5547:
5548: <div class="indentation">
5549: Attribute <span class="nomattribut">src</span>:
5550: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
5551:
1.2 ! damieng 5552: <div class="documentation"> Path to the file
1.1 damieng 5553: </div>
5554:
5555: </div>
5556: </div>
1.2 ! damieng 5557: <br>Parents: <a href="#problem_0">problem</a>, <a href="#html_0">html</a><br><hr>
1.1 damieng 5558: <a name="parserlib_0"></a><h3>Element <span class="nomtitre">parserlib</span>
5559: </h3>type: <tt>xs:anyURI</tt><br>
5560:
1.2 ! damieng 5561: <div class="documentation"> Import Tag Definitions
1.1 damieng 5562:
5563: The enclosed filename contains definitions for new tags.
5564: </div>
5565:
1.2 ! damieng 5566: <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 5567: <a name="scriptlib_0"></a><h3>Element <span class="nomtitre">scriptlib</span>
5568: </h3>type: <tt>xs:anyURI</tt><br>
5569:
1.2 ! damieng 5570: <div class="documentation"> Import Script Library
1.1 damieng 5571:
5572: The enclosed filename contains Perl code to run in the safe space.
5573: </div>
5574:
1.2 ! damieng 5575: <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 5576: <a name="meta_0"></a><h3>Element <span class="nomtitre">meta</span>
5577: </h3>
5578:
1.2 ! damieng 5579: <div class="documentation"> Custom Metadata for LON-CAPA (as opposed to the HTML meta which should be inside <head>).
1.1 damieng 5580:
5581: Recognized names:
5582: 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.
5583: </div>
5584:
5585: <div class="indentation">
5586: Attribute <span class="nomattribut">name</span>:
5587: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
5588: </div>
5589: Attribute <span class="nomattribut">content</span>:
5590: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
5591: </div>
5592: </div>
1.2 ! damieng 5593: <br>Parents: <a href="#problem_0">problem</a><br><hr>
1.1 damieng 5594: <a name="parameter_0"></a><h3>Element <span class="nomtitre">parameter</span>
5595: </h3>
5596:
1.2 ! damieng 5597: <div class="documentation"> Parameter for a part
1.1 damieng 5598:
5599: parameter is exactly the same as responseparam, but should appear outside of a response element.
5600: </div>
5601:
5602: <div class="indentation">
5603: Attribute <span class="nomattribut">id</span>:
5604: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
5605: </div>
5606: Attribute <span class="nomattribut">name</span>:
5607: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
5608: </div>
5609: Attribute <span class="nomattribut">type</span>:
5610: <div class="indentation">required<br>type: <tt>xs:string</tt><br>
5611: </div>
5612: Attribute <span class="nomattribut">description</span>:
5613: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
5614: </div>
5615: Attribute <span class="nomattribut">default</span>:
5616: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
5617: </div>
5618: Attribute <span class="nomattribut">display</span>:
5619: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
5620:
1.2 ! damieng 5621: <div class="documentation"> Title displayed on the parameter setting screen.
1.1 damieng 5622: </div>
5623:
5624: </div>
5625: </div>
1.2 ! damieng 5626: <br>Parents: <a href="#problem_0">problem</a>, <a href="#part_0">part</a><br><hr>
1.1 damieng 5627: <a name="displaytitle_0"></a><h3>Element <span class="nomtitre">displaytitle</span>
5628: </h3>
5629:
1.2 ! damieng 5630: <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 5631: </div>
5632:
5633: <div class="indentation">
5634: Attribute <span class="nomattribut">style</span>:
5635: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
5636: </div>
5637: </div>
1.2 ! damieng 5638: <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 5639: <a name="displayduedate_0"></a><h3>Element <span class="nomtitre">displayduedate</span>
5640: </h3>
5641:
1.2 ! damieng 5642: <div class="documentation"> This will insert the current due date if one is set in the document.
1.1 damieng 5643: It is generated to be inside a table of 1x1 elements.
5644: </div>
5645:
5646: <div class="indentation">
5647: Attribute <span class="nomattribut">style</span>:
5648: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
5649:
1.2 ! damieng 5650: <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 5651: </div>
5652:
5653: </div>
5654: Attribute <span class="nomattribut">format</span>:
5655: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
5656:
1.2 ! damieng 5657: <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 5658:
5659: %a Replaced by the abbreviated weekday name according to the current locale.
5660: %A Replaced by the full weekday name according to the current locale.
5661: %b The abbreviated month name according to the current locale.
5662: %B The full month name according to the current locale.
5663: %c The preferred date and time representation for the current locale (the default format string is just this).
5664: %C The century number as a two digit integer
5665: %d The day of the month as a decimal number. Leading zeroes are shown for single digit day numbers.
5666: %D Equivalent to %m/%d/%y
5667: %e Like %d but a leadnig zero is replaced by a space.
5668: %F Equivalent to %Y-%m-%d
5669: %G The four digit year number.
5670: %g The two digit year numbger.
5671: %H The hour as a two digit number in the range 00 thorugh 23.
5672: %I The hour as a two digit number in the range 00 through 12.
5673: %j The day your the year in the range 001 through 366.
5674: %k The hour (24 hour clock), single digits are preceded by a blank.
5675: %l Like %k but using a 12 hour clock.
5676: %m The month as a two digit decimal number in the range 01 through 12.
5677: %M The minute as a two digit decimal number in the range 00 through 59.
5678: %n A newline character.
5679: %p AM or PM depending on the time value.
5680: %P am or pm.
5681: %r The time in am or pm notation.
5682: %R Time in 24 hour notatinon (%H:%M). See also %T below.
5683: %s Number of seconds since midnight of January 1, 1970.
5684: %S The second as a decimal number int the range 00 through 59.
5685: %t A horizontal tab character.
5686: %T The time in 24 hour notation (%H:%M:%S).
5687: %u Day of the week as a decimal number with Monday as 1.
5688: %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.
5689: %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.
5690: %w Day of the week as a decimal integer in the range 0 through 7, Sunday is 0.
5691: %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.
5692: %x The preferred date notation in the current locale without the time.
5693: %X The preferred time notation in the current locale without the date.
5694: %y The year as a decimal number without the century (range 00 through 99).
5695: %Y The year as a decimal number including the century.
5696: %% A % character.
5697: %+ Date and time in the form returned by the Unix date command.
5698: </div>
5699:
5700: </div>
5701: </div>
1.2 ! damieng 5702: <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 5703: <a name="preduedate_0"></a><h3>Element <span class="nomtitre">preduedate</span>
5704: </h3>
5705:
1.2 ! damieng 5706: <div class="documentation"> Before Due Date Block
1.1 damieng 5707:
5708: Everything inside is skipped if the problem is after the due date.
5709: </div>
5710:
5711: Can contain text<br><div class="indentation">
5712: Choice between:<ul>
5713: <li>
5714: <a href="#text-with-responses_0">text-with-responses</a><br>
5715: </li>
5716: <li>
5717: <a href="#displayduedate_0">displayduedate</a><br>
5718: </li>
5719: <li>
5720: <a href="#displaytitle_0">displaytitle</a><br>
5721: </li>
5722: <li>
5723: <a href="#parserlib_0">parserlib</a><br>
5724: </li>
5725: <li>
5726: <a href="#scriptlib_0">scriptlib</a><br>
5727: </li>
5728: </ul>
5729: </div>
1.2 ! damieng 5730: <br>Parents: <a href="#inserts_0">inserts</a><br><hr>
1.1 damieng 5731: <a name="postanswerdate_0"></a><h3>Element <span class="nomtitre">postanswerdate</span>
5732: </h3>
5733:
1.2 ! damieng 5734: <div class="documentation"> After Answer Date Block
1.1 damieng 5735:
5736: Everything inside is skipped if the problem is before the answer date.
5737: </div>
5738:
5739: Can contain text<br><div class="indentation">
5740: Choice between:<ul>
5741: <li>
5742: <a href="#text-only_0">text-only</a><br>
5743: </li>
5744: <li>
5745: <a href="#displayduedate_0">displayduedate</a><br>
5746: </li>
5747: <li>
5748: <a href="#displaytitle_0">displaytitle</a><br>
5749: </li>
5750: <li>
5751: <a href="#parserlib_0">parserlib</a><br>
5752: </li>
5753: <li>
5754: <a href="#scriptlib_0">scriptlib</a><br>
5755: </li>
5756: </ul>
5757: </div>
1.2 ! damieng 5758: <br>Parents: <a href="#inserts_0">inserts</a><br><hr>
1.1 damieng 5759: <a name="solved_0"></a><h3>Element <span class="nomtitre">solved</span>
5760: </h3>
5761:
1.2 ! damieng 5762: <div class="documentation"> Block For After Solved
1.1 damieng 5763:
5764: Everything inside is skipped if the problem part is “not solved”.
5765:
5766: Should not be used outside of parts in a problem using parts.
5767: </div>
5768:
5769: Can contain text<br><div class="indentation">
5770: Choice between:<ul>
5771: <li>
5772: <a href="#text-only_0">text-only</a><br>
5773: </li>
5774: <li>
5775: <a href="#inserts_0">inserts</a><br>
5776: </li>
5777: <li>
5778: <a href="#parserlib_0">parserlib</a><br>
5779: </li>
5780: <li>
5781: <a href="#scriptlib_0">scriptlib</a><br>
5782: </li>
5783: </ul>
5784: </div>
1.2 ! damieng 5785: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a><br><hr>
1.1 damieng 5786: <a name="notsolved_0"></a><h3>Element <span class="nomtitre">notsolved</span>
5787: </h3>
5788:
1.2 ! damieng 5789: <div class="documentation"> Block For When Not Solved
1.1 damieng 5790:
5791: Everything inside is skipped if the problem part is “solved”.
5792: </div>
5793:
5794: Can contain text<br><div class="indentation">
5795: Choice between:<ul>
5796: <li>
5797: <a href="#text-with-responses_0">text-with-responses</a><br>
5798: </li>
5799: <li>
5800: <a href="#inserts_0">inserts</a><br>
5801: </li>
5802: <li>
5803: <a href="#parserlib_0">parserlib</a><br>
5804: </li>
5805: <li>
5806: <a href="#scriptlib_0">scriptlib</a><br>
5807: </li>
5808: </ul>
5809: </div>
1.2 ! damieng 5810: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a><br><hr>
1.1 damieng 5811:
5812:
1.2 ! damieng 5813: <div class="documentation"> Non-HTML block elements mixed with text
1.1 damieng 5814: </div>
1.2 ! damieng 5815: <hr>
1.1 damieng 5816:
5817: <a name="import_0"></a><h3>Element <span class="nomtitre">import</span>
5818: </h3>
5819:
1.2 ! damieng 5820: <div class="documentation"> Import a File
1.1 damieng 5821:
5822: 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.
5823: </div>
5824:
5825: <div class="indentation">
5826:
5827:
5828: Attribute <span class="nomattribut">id</span>:
5829: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
5830: </div>
5831: Attribute <span class="nomattribut">importmode</span>:
5832: <div class="indentation">optional<br>
5833:
1.2 ! damieng 5834: <div class="documentation"> Import as
1.1 damieng 5835: </div>
5836:
5837:
1.2 ! damieng 5838: Union of types<ul>
! 5839: <li><a href="#perl_0">perl</a></li>
! 5840: <li>
1.1 damieng 5841: Value restriction based on xs:string<ul>
5842: <li><tt>problem</tt></li>
5843: <li><tt>part</tt></li>
5844: </ul>
1.2 ! damieng 5845: </li>
! 5846: </ul>
1.1 damieng 5847:
5848: </div>
5849:
5850:
5851: </div>
1.2 ! damieng 5852: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a>, <a href="#head.misc_0">head.misc</a><br><hr>
1.1 damieng 5853: <a name="block-base_0"></a><h3>Complex type <span class="nomtitre">block-base</span>
5854: </h3>Can contain text<br><div class="indentation">
5855:
1.2 ! damieng 5856: <div class="documentation"> Conditional Block
1.1 damieng 5857:
5858: 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.
5859: </div>
5860:
5861: Attribute <span class="nomattribut">condition</span>:
5862: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
5863:
1.2 ! damieng 5864: <div class="documentation"> Test Condition
1.1 damieng 5865: </div>
5866:
5867: </div>
5868: </div>
5869: <hr>
5870: <a name="block-with-parts_0"></a><h3>Complex type <span class="nomtitre">block-with-parts</span>
5871: </h3>Can contain text<br><div class="indentation">
5872:
5873:
5874: Choice between:<ul>
5875: <li>
5876: <a href="#text-with-parts_0">text-with-parts</a><br>
5877: </li>
5878: <li>
5879: <a href="#inserts_0">inserts</a><br>
5880: </li>
5881: <li>
5882: <a href="#parserlib_0">parserlib</a><br>
5883: </li>
5884: <li>
5885: <a href="#scriptlib_0">scriptlib</a><br>
5886: </li>
5887: </ul>
5888:
5889:
5890: </div>
5891: <hr>
5892: <a name="block-with-responses_0"></a><h3>Complex type <span class="nomtitre">block-with-responses</span>
5893: </h3>Can contain text<br><div class="indentation">
5894:
5895:
5896: Choice between:<ul>
5897: <li>
5898: <a href="#text-with-responses_0">text-with-responses</a><br>
5899: </li>
5900: <li>
5901: <a href="#inserts_0">inserts</a><br>
5902: </li>
5903: <li>
5904: <a href="#parserlib_0">parserlib</a><br>
5905: </li>
5906: <li>
5907: <a href="#scriptlib_0">scriptlib</a><br>
5908: </li>
5909: </ul>
5910:
5911:
5912: </div>
5913: <hr>
5914: <a name="block-with-text_0"></a><h3>Complex type <span class="nomtitre">block-with-text</span>
5915: </h3>Can contain text<br><div class="indentation">
5916:
5917:
5918: Choice between:<ul>
5919: <li>
5920: <a href="#text-only_0">text-only</a><br>
5921: </li>
5922: <li>
5923: <a href="#inserts_0">inserts</a><br>
5924: </li>
5925: <li>
5926: <a href="#parserlib_0">parserlib</a><br>
5927: </li>
5928: <li>
5929: <a href="#scriptlib_0">scriptlib</a><br>
5930: </li>
5931: </ul>
5932:
5933:
5934: </div>
5935: <hr>
5936:
1.2 ! damieng 5937: <div class="documentation"> see also: lonplot--block
1.1 damieng 5938: </div>
1.2 ! damieng 5939: <hr>
1.1 damieng 5940:
5941: <a name="while_0"></a><h3>Element <span class="nomtitre">while</span>
5942: </h3>
5943:
1.2 ! damieng 5944: <div class="documentation"> While Loop Block
1.1 damieng 5945:
5946: 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.
5947: </div>
5948:
5949: Can contain text<br><div class="indentation">
5950: Choice between:<ul>
5951: <li>
5952: <a href="#text-only_0">text-only</a><br>
5953: </li>
5954: <li>
5955: <a href="#inserts_0">inserts</a><br>
5956: </li>
5957: <li>
5958: <a href="#parserlib_0">parserlib</a><br>
5959: </li>
5960: <li>
5961: <a href="#scriptlib_0">scriptlib</a><br>
5962: </li>
5963: </ul>
5964: Attribute <span class="nomattribut">condition</span>:
5965: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
5966:
1.2 ! damieng 5967: <div class="documentation"> Test Condition
1.1 damieng 5968: </div>
5969:
5970: </div>
5971: </div>
1.2 ! damieng 5972: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a><br><hr>
1.1 damieng 5973: <a name="tex_0"></a><h3>Element <span class="nomtitre">tex</span>
5974: </h3>type: <tt>xs:string</tt><br>
5975:
1.2 ! damieng 5976: <div class="documentation"> Print Only Block (using only LaTeX)
1.1 damieng 5977: </div>
5978:
1.2 ! damieng 5979: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a>, <a href="#textfield_0">textfield</a><br><hr>
1.1 damieng 5980: <a name="print_0"></a><h3>Element <span class="nomtitre">print</span>
5981: </h3>
5982:
1.2 ! damieng 5983: <div class="documentation"> Print Only Block (using HTML)
1.1 damieng 5984: </div>
5985:
5986: Can contain text<br><div class="indentation">
5987: Choice between:<ul><li>
5988: <a href="#text-only_0">text-only</a><br>
5989: </li></ul>
5990: </div>
1.2 ! damieng 5991: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a><br><hr>
1.1 damieng 5992: <a name="web_0"></a><h3>Element <span class="nomtitre">web</span>
5993: </h3>
5994:
1.2 ! damieng 5995: <div class="documentation"> Web Only Block
1.1 damieng 5996: </div>
5997:
5998: Can contain text<br><div class="indentation">
5999: Choice between:<ul><li>
6000: <a href="#text-only_0">text-only</a><br>
6001: </li></ul>
6002: </div>
1.2 ! damieng 6003: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a>, <a href="#textfield_0">textfield</a><br><hr>
1.1 damieng 6004: <a name="standalone_0"></a><h3>Element <span class="nomtitre">standalone</span>
6005: </h3>
6006:
1.2 ! damieng 6007: <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 6008: </div>
6009:
6010: Can contain text<br><div class="indentation">
6011: Choice between:<ul><li>
6012: <a href="#text-only_0">text-only</a><br>
6013: </li></ul>
6014: </div>
1.2 ! damieng 6015: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a><br><hr>
1.1 damieng 6016: <a name="problemtype-base_0"></a><h3>Complex type <span class="nomtitre">problemtype-base</span>
6017: </h3>Can contain text<br><div class="indentation">
6018:
1.2 ! damieng 6019: <div class="documentation"> Problem Type Block
1.1 damieng 6020:
6021: Allows you to show or hide output based on what the problem-type parameter is set to in the course.
6022: Will only show the output text when the problem is set to the type of exam or survey in the course.
6023: </div>
6024:
6025: Attribute <span class="nomattribut">mode</span>:
6026: <div class="indentation">optional<br>
6027:
1.2 ! damieng 6028: Union of types<ul>
! 6029: <li><a href="#perl_0">perl</a></li>
! 6030: <li>
1.1 damieng 6031: Value restriction based on xs:string<ul>
6032: <li><tt>show</tt></li>
6033: <li><tt>hide</tt></li>
6034: </ul>
1.2 ! damieng 6035: </li>
! 6036: </ul>
1.1 damieng 6037:
6038: </div>
6039: Attribute <span class="nomattribut">for</span>:
6040: <div class="indentation">optional<br>
6041:
1.2 ! damieng 6042: <div class="documentation"> When used as type(s)
1.1 damieng 6043:
6044: Comma-separated list of values among:
6045: exam, survey, surveycred, anonsurvey, anonsurveycred, problem, practice, randomizetry
6046: </div>
6047:
6048:
1.2 ! damieng 6049: Union of types<ul>
! 6050: <li><a href="#perl_0">perl</a></li>
! 6051: <li>
1.1 damieng 6052: Value restriction based on xs:string<ul>
6053: <li><tt>(exam|survey|surveycred|anonsurvey|anonsurveycred|problem|practice|randomizetry)(\s*,\s*(exam|survey|surveycred|anonsurvey|anonsurveycred|problem|practice|randomizetry))*</tt></li>
6054: </ul>
1.2 ! damieng 6055: </li>
! 6056: </ul>
1.1 damieng 6057:
6058: </div>
6059: </div>
6060: <hr>
6061: <a name="problemtype-with-parts_0"></a><h3>Complex type <span class="nomtitre">problemtype-with-parts</span>
6062: </h3>Can contain text<br><div class="indentation">
6063:
6064:
6065: Choice between:<ul>
6066: <li>
6067: <a href="#text-with-parts_0">text-with-parts</a><br>
6068: </li>
6069: <li>
6070: <a href="#inserts_0">inserts</a><br>
6071: </li>
6072: <li>
6073: <a href="#parserlib_0">parserlib</a><br>
6074: </li>
6075: <li>
6076: <a href="#scriptlib_0">scriptlib</a><br>
6077: </li>
6078: </ul>
6079:
6080:
6081: </div>
6082: <hr>
6083: <a name="problemtype-with-responses_0"></a><h3>Complex type <span class="nomtitre">problemtype-with-responses</span>
6084: </h3>Can contain text<br><div class="indentation">
6085:
6086:
6087: Choice between:<ul>
6088: <li>
6089: <a href="#text-with-responses_0">text-with-responses</a><br>
6090: </li>
6091: <li>
6092: <a href="#inserts_0">inserts</a><br>
6093: </li>
6094: <li>
6095: <a href="#parserlib_0">parserlib</a><br>
6096: </li>
6097: <li>
6098: <a href="#scriptlib_0">scriptlib</a><br>
6099: </li>
6100: </ul>
6101:
6102:
6103: </div>
6104: <hr>
6105: <a name="problemtype-with-text_0"></a><h3>Complex type <span class="nomtitre">problemtype-with-text</span>
6106: </h3>Can contain text<br><div class="indentation">
6107:
6108:
6109: Choice between:<ul>
6110: <li>
6111: <a href="#text-only_0">text-only</a><br>
6112: </li>
6113: <li>
6114: <a href="#inserts_0">inserts</a><br>
6115: </li>
6116: <li>
6117: <a href="#parserlib_0">parserlib</a><br>
6118: </li>
6119: <li>
6120: <a href="#scriptlib_0">scriptlib</a><br>
6121: </li>
6122: </ul>
6123:
6124:
6125: </div>
6126: <hr>
6127: <a name="randomlist-base_0"></a><h3>Complex type <span class="nomtitre">randomlist-base</span>
6128: </h3>
6129: <div class="indentation">
6130:
1.2 ! damieng 6131: <div class="documentation"> Randomly Parsed Block
1.1 damieng 6132:
6133: 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.
6134: </div>
6135:
6136: Attribute <span class="nomattribut">show</span>:
6137: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
6138:
1.2 ! damieng 6139: <div class="documentation"> Maximum Tags to Show
1.1 damieng 6140: </div>
6141:
6142: </div>
6143: </div>
6144: <hr>
6145: <a name="randomlist-with-parts_0"></a><h3>Complex type <span class="nomtitre">randomlist-with-parts</span>
6146: </h3>
6147: <div class="indentation">
6148:
6149:
6150: Choice between:<ul>
6151: <li>
6152: <a href="#part_0">part</a><br>
6153: </li>
6154: <li>
6155: <a href="#responses_0">responses</a><br>
6156: </li>
6157: <li>
6158: <a href="#img_0">img</a><br>
6159: </li>
6160: <li>
6161: <a href="#postanswerdate_0">postanswerdate</a><br>
6162: </li>
6163: <li>
6164: <a href="#preduedate_0">preduedate</a><br>
6165: </li>
6166: <li>
6167: <a name="block_4"></a><h3>Element <span class="nomtitre">block</span>
6168: </h3>type: <a href="#block-with-parts_0">block-with-parts</a><br><br>
6169: </li>
6170: <li>
6171: <a href="#while_0">while</a><br>
6172: </li>
6173: <li>
6174: <a name="problemtype_3"></a><h3>Element <span class="nomtitre">problemtype</span>
6175: </h3>type: <a href="#problemtype-with-parts_0">problemtype-with-parts</a><br><br>
6176: </li>
6177: <li>
6178: <a href="#window_0">window</a><br>
6179: </li>
6180: <li>
6181: <a href="#display_3">display</a><br>
6182: </li>
6183: <li>
6184: <a href="#gnuplot_0">gnuplot</a><br>
6185: </li>
6186: <li>
6187: <a href="#organicstructure_0">organicstructure</a><br>
6188: </li>
6189: <li>
6190: <a href="#instructorcomment_0">instructorcomment</a><br>
6191: </li>
6192: <li>
6193: <a href="#drawimage_0">drawimage</a><br>
6194: </li>
6195: <li>
6196: <a href="#import_0">import</a><br>
6197: </li>
6198: <li>
6199: <a name="section_3"></a><h3>Element <span class="nomtitre">section</span>
6200: </h3>type: <a href="#section-with-parts_0">section-with-parts</a><br><br>
6201: </li>
6202: <li>
6203: <a name="ul_3"></a><h3>Element <span class="nomtitre">ul</span>
6204: </h3>type: <a href="#ul-with-parts_0">ul-with-parts</a><br><br>
6205: </li>
6206: <li>
6207: <a name="ol_3"></a><h3>Element <span class="nomtitre">ol</span>
6208: </h3>type: <a href="#ol-with-parts_0">ol-with-parts</a><br><br>
6209: </li>
6210: <li>
6211: <a name="table_3"></a><h3>Element <span class="nomtitre">table</span>
6212: </h3>type: <a href="#table-with-parts_0">table-with-parts</a><br><br>
6213: </li>
6214: <li>
6215: <a name="dl_3"></a><h3>Element <span class="nomtitre">dl</span>
6216: </h3>type: <a href="#dl-with-parts_0">dl-with-parts</a><br><br>
6217: </li>
6218: <li>
6219: <a href="#object_0">object</a><br>
6220: </li>
6221: <li>
6222: <a href="#applet_0">applet</a><br>
6223: </li>
6224: <li>
6225: <a href="#embed_0">embed</a><br>
6226: </li>
6227: <li>
6228: <a href="#video_0">video</a><br>
6229: </li>
6230: <li>
6231: <a href="#audio_0">audio</a><br>
6232: </li>
6233: <li>
6234: <a href="#canvas_0">canvas</a><br>
6235: </li>
6236: <li>
6237: <a href="#form_1">form</a><br>
6238: </li>
6239: <li>
6240: <a href="#iframe_0">iframe</a><br>
6241: </li>
6242: </ul>
6243:
6244:
6245: </div>
6246: <hr>
6247: <a name="randomlist-with-responses_0"></a><h3>Complex type <span class="nomtitre">randomlist-with-responses</span>
6248: </h3>
6249: <div class="indentation">
6250:
6251:
6252: Choice between:<ul>
6253: <li>
6254: <a href="#responses_0">responses</a><br>
6255: </li>
6256: <li>
6257: <a href="#img_0">img</a><br>
6258: </li>
6259: <li>
6260: <a href="#postanswerdate_0">postanswerdate</a><br>
6261: </li>
6262: <li>
6263: <a href="#preduedate_0">preduedate</a><br>
6264: </li>
6265: <li>
6266: <a name="block_5"></a><h3>Element <span class="nomtitre">block</span>
6267: </h3>type: <a href="#block-with-responses_0">block-with-responses</a><br><br>
6268: </li>
6269: <li>
6270: <a href="#while_0">while</a><br>
6271: </li>
6272: <li>
6273: <a name="problemtype_4"></a><h3>Element <span class="nomtitre">problemtype</span>
6274: </h3>type: <a href="#problemtype-with-responses_0">problemtype-with-responses</a><br><br>
6275: </li>
6276: <li>
6277: <a href="#window_0">window</a><br>
6278: </li>
6279: <li>
6280: <a href="#display_3">display</a><br>
6281: </li>
6282: <li>
6283: <a href="#gnuplot_0">gnuplot</a><br>
6284: </li>
6285: <li>
6286: <a href="#organicstructure_0">organicstructure</a><br>
6287: </li>
6288: <li>
6289: <a href="#instructorcomment_0">instructorcomment</a><br>
6290: </li>
6291: <li>
6292: <a href="#drawimage_0">drawimage</a><br>
6293: </li>
6294: <li>
6295: <a href="#import_0">import</a><br>
6296: </li>
6297: <li>
6298: <a name="section_4"></a><h3>Element <span class="nomtitre">section</span>
6299: </h3>type: <a href="#section-with-responses_0">section-with-responses</a><br><br>
6300: </li>
6301: <li>
6302: <a name="ul_4"></a><h3>Element <span class="nomtitre">ul</span>
6303: </h3>type: <a href="#ul-with-responses_0">ul-with-responses</a><br><br>
6304: </li>
6305: <li>
6306: <a name="ol_4"></a><h3>Element <span class="nomtitre">ol</span>
6307: </h3>type: <a href="#ol-with-responses_0">ol-with-responses</a><br><br>
6308: </li>
6309: <li>
6310: <a name="table_4"></a><h3>Element <span class="nomtitre">table</span>
6311: </h3>type: <a href="#table-with-responses_0">table-with-responses</a><br><br>
6312: </li>
6313: <li>
6314: <a name="dl_4"></a><h3>Element <span class="nomtitre">dl</span>
6315: </h3>type: <a href="#dl-with-responses_0">dl-with-responses</a><br><br>
6316: </li>
6317: <li>
6318: <a href="#object_0">object</a><br>
6319: </li>
6320: <li>
6321: <a href="#applet_0">applet</a><br>
6322: </li>
6323: <li>
6324: <a href="#embed_0">embed</a><br>
6325: </li>
6326: <li>
6327: <a href="#video_0">video</a><br>
6328: </li>
6329: <li>
6330: <a href="#audio_0">audio</a><br>
6331: </li>
6332: <li>
6333: <a href="#canvas_0">canvas</a><br>
6334: </li>
6335: <li>
6336: <a href="#form_1">form</a><br>
6337: </li>
6338: <li>
6339: <a href="#iframe_0">iframe</a><br>
6340: </li>
6341: </ul>
6342:
6343:
6344: </div>
6345: <hr>
6346: <a name="randomlist-with-text_0"></a><h3>Complex type <span class="nomtitre">randomlist-with-text</span>
6347: </h3>
6348: <div class="indentation">
6349:
6350:
6351: Choice between:<ul>
6352: <li>
6353: <a href="#img_0">img</a><br>
6354: </li>
6355: <li>
6356: <a href="#postanswerdate_0">postanswerdate</a><br>
6357: </li>
6358: <li>
6359: <a href="#preduedate_0">preduedate</a><br>
6360: </li>
6361: <li>
6362: <a name="block_6"></a><h3>Element <span class="nomtitre">block</span>
6363: </h3>type: <a href="#block-with-text_0">block-with-text</a><br><br>
6364: </li>
6365: <li>
6366: <a href="#while_0">while</a><br>
6367: </li>
6368: <li>
6369: <a name="problemtype_5"></a><h3>Element <span class="nomtitre">problemtype</span>
6370: </h3>type: <a href="#problemtype-with-text_0">problemtype-with-text</a><br><br>
6371: </li>
6372: <li>
6373: <a href="#window_0">window</a><br>
6374: </li>
6375: <li>
6376: <a href="#display_3">display</a><br>
6377: </li>
6378: <li>
6379: <a href="#gnuplot_0">gnuplot</a><br>
6380: </li>
6381: <li>
6382: <a href="#organicstructure_0">organicstructure</a><br>
6383: </li>
6384: <li>
6385: <a href="#instructorcomment_0">instructorcomment</a><br>
6386: </li>
6387: <li>
6388: <a href="#drawimage_0">drawimage</a><br>
6389: </li>
6390: <li>
6391: <a href="#import_0">import</a><br>
6392: </li>
6393: <li>
6394: <a name="section_5"></a><h3>Element <span class="nomtitre">section</span>
6395: </h3>type: <a href="#section-with-text_0">section-with-text</a><br><br>
6396: </li>
6397: <li>
6398: <a name="ul_5"></a><h3>Element <span class="nomtitre">ul</span>
6399: </h3>type: <a href="#ul-with-text_0">ul-with-text</a><br><br>
6400: </li>
6401: <li>
6402: <a name="ol_5"></a><h3>Element <span class="nomtitre">ol</span>
6403: </h3>type: <a href="#ol-with-text_0">ol-with-text</a><br><br>
6404: </li>
6405: <li>
6406: <a name="table_5"></a><h3>Element <span class="nomtitre">table</span>
6407: </h3>type: <a href="#table-with-text_0">table-with-text</a><br><br>
6408: </li>
6409: <li>
6410: <a name="dl_5"></a><h3>Element <span class="nomtitre">dl</span>
6411: </h3>type: <a href="#dl-with-text_0">dl-with-text</a><br><br>
6412: </li>
6413: <li>
6414: <a href="#object_0">object</a><br>
6415: </li>
6416: <li>
6417: <a href="#applet_0">applet</a><br>
6418: </li>
6419: <li>
6420: <a href="#embed_0">embed</a><br>
6421: </li>
6422: <li>
6423: <a href="#video_0">video</a><br>
6424: </li>
6425: <li>
6426: <a href="#audio_0">audio</a><br>
6427: </li>
6428: <li>
6429: <a href="#canvas_0">canvas</a><br>
6430: </li>
6431: <li>
6432: <a href="#form_1">form</a><br>
6433: </li>
6434: <li>
6435: <a href="#iframe_0">iframe</a><br>
6436: </li>
6437: </ul>
6438:
6439:
6440: </div>
6441: <hr>
6442: <a name="languageblock_0"></a><h3>Element <span class="nomtitre">languageblock</span>
6443: </h3>
6444:
1.2 ! damieng 6445: <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 6446: </div>
6447:
6448: Can contain text<br><div class="indentation">
6449: Choice between:<ul><li>
6450: <a href="#text-only_0">text-only</a><br>
6451: </li></ul>
6452: Attribute <span class="nomattribut">include</span>:
6453: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
6454: </div>
6455: Attribute <span class="nomattribut">exclude</span>:
6456: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
6457: </div>
6458: </div>
1.2 ! damieng 6459: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a><br><hr>
1.1 damieng 6460: <a name="translated_0"></a><h3>Element <span class="nomtitre">translated</span>
6461: </h3>
6462:
1.2 ! damieng 6463: <div class="documentation"> <translated> starts a block of a resource that has multiple translations.
1.1 damieng 6464: See the <lang> element as well.
6465: 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.
6466: Note that <lang> is only registered for the duration of the <translated>...</translated> block.
6467: </div>
6468:
6469: Can contain text<br><div class="indentation">
6470: Choice between:<ul>
6471: <li>
6472: <a href="#text-only_0">text-only</a><br>
6473: </li>
6474: <li>
6475: <a href="#lang_0">lang</a><br>
6476: </li>
6477: </ul>
6478: </div>
1.2 ! damieng 6479: <br>Parents: <a href="#inlines_0">inlines</a><br><hr>
1.1 damieng 6480: <a name="lang_0"></a><h3>Element <span class="nomtitre">lang</span>
6481: </h3>
6482:
1.2 ! damieng 6483: <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 6484: <lang which='senisoUS' other='senisoCA,senisoAU,seniso'>
6485: specifying that the block provides a translation for US (primary) Canadian, Australian and UK English.
6486: </div>
6487:
6488: Can contain text<br><div class="indentation">
6489: Choice between:<ul><li>
6490: <a href="#text-only_0">text-only</a><br>
6491: </li></ul>
6492: Attribute <span class="nomattribut">which</span>:
6493: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
6494: </div>
6495: Attribute <span class="nomattribut">other</span>:
6496: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
6497: </div>
6498: </div>
1.2 ! damieng 6499: <br>Parents: <a href="#translated_0">translated</a><br><hr>
1.1 damieng 6500: <a name="window_0"></a><h3>Element <span class="nomtitre">window</span>
6501: </h3>
6502:
1.2 ! damieng 6503: <div class="documentation"> Text In Separate Window
1.1 damieng 6504:
6505: 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.
6506: When printing, the included text will get turned into a real footnote.
6507: </div>
6508:
6509: Can contain text<br><div class="indentation">
6510: Choice between:<ul>
6511: <li>
6512: <a href="#text-only_0">text-only</a><br>
6513: </li>
6514: <li>
6515: <a href="#inserts_0">inserts</a><br>
6516: </li>
6517: </ul>
6518: Attribute <span class="nomattribut">linktext</span>:
6519: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
6520:
1.2 ! damieng 6521: <div class="documentation"> Text of Link
1.1 damieng 6522: </div>
6523:
6524: </div>
6525: Attribute <span class="nomattribut">height</span>:
6526: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
6527: </div>
6528: Attribute <span class="nomattribut">width</span>:
6529: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
6530: </div>
6531: Attribute <span class="nomattribut">printtext</span>:
6532: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
6533:
1.2 ! damieng 6534: <div class="documentation"> Printed text (optional)
1.1 damieng 6535: </div>
6536:
6537: </div>
6538: </div>
1.2 ! damieng 6539: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a><br><hr>
1.1 damieng 6540: <a name="windowlink_0"></a><h3>Element <span class="nomtitre">windowlink</span>
6541: </h3>
6542:
1.2 ! damieng 6543: <div class="documentation"> This creates a link to a resource that comes up in a pop-up window.
1.1 damieng 6544: The link will be the intervening information between the start and the end tag.
6545: By default the window will be 500 pixels wide and 200 pixels tall.
6546: </div>
6547:
6548: Can contain text<br><div class="indentation">
6549: Choice between:<ul><li>
6550: <a href="#text-only_0">text-only</a><br>
6551: </li></ul>
6552: Attribute <span class="nomattribut">href</span>:
6553: <div class="indentation">optional<br>type: <tt>xs:anyURI</tt><br>
6554: </div>
6555: Attribute <span class="nomattribut">height</span>:
6556: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
6557:
1.2 ! damieng 6558: <div class="documentation"> starting height of the popup window
1.1 damieng 6559: </div>
6560:
6561: </div>
6562: Attribute <span class="nomattribut">width</span>:
6563: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
6564:
1.2 ! damieng 6565: <div class="documentation"> starting width of the popup window
1.1 damieng 6566: </div>
6567:
6568: </div>
6569: </div>
1.2 ! damieng 6570: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a><br><hr>
1.1 damieng 6571: <a name="togglebox_0"></a><h3>Element <span class="nomtitre">togglebox</span>
6572: </h3>
6573:
1.2 ! damieng 6574: <div class="documentation"> This creates a toggling box that can be clicked open and close.
1.1 damieng 6575: When printing, the included text will be rendered in a visible box.
6576: </div>
6577:
6578: Can contain text<br><div class="indentation">
6579: Choice between:<ul><li>
6580: <a href="#text-only_0">text-only</a><br>
6581: </li></ul>
6582: Attribute <span class="nomattribut">heading</span>:
6583: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
6584:
1.2 ! damieng 6585: <div class="documentation"> heading text of the box, by default no heading
1.1 damieng 6586: </div>
6587:
6588: </div>
6589: Attribute <span class="nomattribut">headerbg</span>:
6590: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
6591:
1.2 ! damieng 6592: <div class="documentation"> background color of the header, by default white
1.1 damieng 6593: </div>
6594:
6595: </div>
6596: Attribute <span class="nomattribut">showtext</span>:
6597: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
6598:
1.2 ! damieng 6599: <div class="documentation"> the text that appears to make the box visible, by default the translation of ’show’
1.1 damieng 6600: </div>
6601:
6602: </div>
6603: Attribute <span class="nomattribut">hidetext</span>:
6604: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
6605:
1.2 ! damieng 6606: <div class="documentation"> the text that appears to hide the box again, by default the translation of ’hide’
1.1 damieng 6607: </div>
6608:
6609: </div>
6610: </div>
1.2 ! damieng 6611: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a><br><hr>
1.1 damieng 6612: <a name="instructorcomment_0"></a><h3>Element <span class="nomtitre">instructorcomment</span>
6613: </h3>
6614:
1.2 ! damieng 6615: <div class="documentation"> Comment that is hidden if form.instructor_comments='hide'.
1.1 damieng 6616: </div>
6617:
6618: Can contain text<br><div class="indentation">
6619: Choice between:<ul><li>
6620: <a href="#text-only_0">text-only</a><br>
6621: </li></ul>
6622: </div>
1.2 ! damieng 6623: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a><br><hr>
1.1 damieng 6624: <a name="comment_0"></a><h3>Element <span class="nomtitre">comment</span>
6625: </h3>
6626:
1.2 ! damieng 6627: <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 6628: The content is ignored.
6629: </div>
6630:
6631: Can contain text<br><div class="indentation">
6632: Choice between:<ul>
6633: <li>
6634: <a href="#part_0">part</a><br>
6635: </li>
6636: <li>
6637: <a href="#text-with-responses_0">text-with-responses</a><br>
6638: </li>
6639: </ul>
6640: </div>
1.2 ! damieng 6641: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a><br><hr>
1.1 damieng 6642: <a name="organicstructure_0"></a><h3>Element <span class="nomtitre">organicstructure</span>
6643: </h3>
6644:
6645: <div class="documentation">Organic Structure</div>
6646:
6647: <div class="indentation">
6648: Attribute <span class="nomattribut">width</span>:
6649: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
6650:
1.2 ! damieng 6651: <div class="documentation"> Width (pixels)
1.1 damieng 6652: </div>
6653:
6654: </div>
6655: Attribute <span class="nomattribut">texwidth</span>:
6656: <div class="indentation">optional<br>type: <a href="#decimal-or-perl_0">decimal-or-perl</a><br>
6657:
1.2 ! damieng 6658: <div class="documentation"> TeXwidth (mm)
1.1 damieng 6659: </div>
6660:
6661: </div>
6662: Attribute <span class="nomattribut">molecule</span>:
6663: <div class="indentation">required<br>type: <tt>xs:string</tt><br>
6664:
1.2 ! damieng 6665: <div class="documentation"> JME string
1.1 damieng 6666: </div>
6667:
6668: </div>
6669: Attribute <span class="nomattribut">options</span>:
6670: <div class="indentation">optional<br>
6671:
1.2 ! damieng 6672: <div class="documentation"> Comma-separated list of options:
1.1 damieng 6673: reaction: is a reaction (note: setting this option is only useful for the editor, it does not change the resulting image)
6674: border: draws a border around the image
6675: </div>
6676:
6677:
1.2 ! damieng 6678: Union of types<ul>
! 6679: <li><a href="#perl_0">perl</a></li>
! 6680: <li>
1.1 damieng 6681: Value restriction based on xs:string<ul>
6682: <li><tt>reaction|border|reaction\s*,\s*border|border\s*,\s*reaction</tt></li>
6683: </ul>
1.2 ! damieng 6684: </li>
! 6685: </ul>
1.1 damieng 6686:
6687: </div>
6688: </div>
1.2 ! damieng 6689: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a><br><hr>
1.1 damieng 6690: <a name="drawimage_0"></a><h3>Element <span class="nomtitre">drawimage</span>
6691: </h3>
6692:
1.2 ! damieng 6693: <div class="documentation"> Draws an image with the specified objects using pixel coordinates (text, line, rectangle, arc, fill, polygon, image).
1.1 damieng 6694: </div>
6695:
6696: <div class="indentation">
6697: Choice between:<ul>
6698: <li>
6699: <a name="text_1"></a><h3>Element <span class="nomtitre">text</span>
6700: </h3>
6701: Can contain text<br><div class="indentation">
6702: Attribute <span class="nomattribut">x</span>:
6703: <div class="indentation">required<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
6704: </div>
6705: Attribute <span class="nomattribut">y</span>:
6706: <div class="indentation">required<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
6707: </div>
6708: Attribute <span class="nomattribut">font</span>:
6709: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
6710: </div>
6711: Attribute <span class="nomattribut">color</span>:
6712: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
6713: </div>
6714: Attribute <span class="nomattribut">direction</span>:
6715: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
6716: </div>
6717: </div>
6718: <br>
6719: </li>
6720: <li>
6721: <a name="line_0"></a><h3>Element <span class="nomtitre">line</span>
6722: </h3>
6723: <div class="indentation">
6724: Attribute <span class="nomattribut">x1</span>:
6725: <div class="indentation">required<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
6726: </div>
6727: Attribute <span class="nomattribut">y1</span>:
6728: <div class="indentation">required<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
6729: </div>
6730: Attribute <span class="nomattribut">x2</span>:
6731: <div class="indentation">required<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
6732: </div>
6733: Attribute <span class="nomattribut">y2</span>:
6734: <div class="indentation">required<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
6735: </div>
6736: Attribute <span class="nomattribut">color</span>:
6737: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
6738: </div>
6739: Attribute <span class="nomattribut">thickness</span>:
6740: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
6741: </div>
6742: </div>
6743: <br>
6744: </li>
6745: <li>
6746: <a name="rectangle_1"></a><h3>Element <span class="nomtitre">rectangle</span>
6747: </h3>
6748: <div class="indentation">
6749: Attribute <span class="nomattribut">x1</span>:
6750: <div class="indentation">required<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
6751: </div>
6752: Attribute <span class="nomattribut">y1</span>:
6753: <div class="indentation">required<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
6754: </div>
6755: Attribute <span class="nomattribut">x2</span>:
6756: <div class="indentation">required<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
6757: </div>
6758: Attribute <span class="nomattribut">y2</span>:
6759: <div class="indentation">required<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
6760: </div>
6761: Attribute <span class="nomattribut">color</span>:
6762: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
6763: </div>
6764: Attribute <span class="nomattribut">thickness</span>:
6765: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
6766: </div>
6767: Attribute <span class="nomattribut">filled</span>:
6768: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
6769: </div>
6770: </div>
6771: <br>
6772: </li>
6773: <li>
6774: <a name="arc_0"></a><h3>Element <span class="nomtitre">arc</span>
6775: </h3>
6776: <div class="indentation">
6777: Attribute <span class="nomattribut">x</span>:
6778: <div class="indentation">required<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
6779: </div>
6780: Attribute <span class="nomattribut">y</span>:
6781: <div class="indentation">required<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
6782: </div>
6783: Attribute <span class="nomattribut">width</span>:
6784: <div class="indentation">required<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
6785: </div>
6786: Attribute <span class="nomattribut">height</span>:
6787: <div class="indentation">required<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
6788: </div>
6789: Attribute <span class="nomattribut">start</span>:
6790: <div class="indentation">optional<br>type: <a href="#real-or-perl_0">real-or-perl</a><br>
6791: </div>
6792: Attribute <span class="nomattribut">end</span>:
6793: <div class="indentation">optional<br>type: <a href="#real-or-perl_0">real-or-perl</a><br>
6794: </div>
6795: Attribute <span class="nomattribut">color</span>:
6796: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
6797: </div>
6798: Attribute <span class="nomattribut">thickness</span>:
6799: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
6800: </div>
6801: Attribute <span class="nomattribut">filled</span>:
6802: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
6803: </div>
6804: </div>
6805: <br>
6806: </li>
6807: <li>
6808: <a name="fill_0"></a><h3>Element <span class="nomtitre">fill</span>
6809: </h3>
6810: <div class="indentation">
6811: Attribute <span class="nomattribut">x</span>:
6812: <div class="indentation">required<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
6813: </div>
6814: Attribute <span class="nomattribut">y</span>:
6815: <div class="indentation">required<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
6816: </div>
6817: Attribute <span class="nomattribut">color</span>:
6818: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
6819: </div>
6820: </div>
6821: <br>
6822: </li>
6823: <li>
6824: <a name="polygon_1"></a><h3>Element <span class="nomtitre">polygon</span>
6825: </h3>
6826: <div class="indentation">
6827: Choice between:<ul><li>
6828: <a name="point_0"></a><h3>Element <span class="nomtitre">point</span>
6829: </h3>
6830: <div class="indentation">
6831: Attribute <span class="nomattribut">x</span>:
6832: <div class="indentation">required<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
6833: </div>
6834: Attribute <span class="nomattribut">y</span>:
6835: <div class="indentation">required<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
6836: </div>
6837: </div>
6838: <br>
6839: </li></ul>
6840: Attribute <span class="nomattribut">color</span>:
6841: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
6842: </div>
6843: Attribute <span class="nomattribut">filled</span>:
6844: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
6845: </div>
6846: Attribute <span class="nomattribut">open</span>:
6847: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
6848: </div>
6849: Attribute <span class="nomattribut">thickness</span>:
6850: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
6851: </div>
6852: </div>
6853: <br>
6854: </li>
6855: <li>
6856: <a name="image_1"></a><h3>Element <span class="nomtitre">image</span>
6857: </h3>
6858: <div class="indentation">
6859:
6860:
6861: Attribute <span class="nomattribut">x</span>:
6862: <div class="indentation">required<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
6863: </div>
6864: Attribute <span class="nomattribut">y</span>:
6865: <div class="indentation">required<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
6866: </div>
6867: Attribute <span class="nomattribut">clipx</span>:
6868: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
6869: </div>
6870: Attribute <span class="nomattribut">clipy</span>:
6871: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
6872: </div>
6873: Attribute <span class="nomattribut">clipwidth</span>:
6874: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
6875: </div>
6876: Attribute <span class="nomattribut">clipheight</span>:
6877: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
6878: </div>
6879: Attribute <span class="nomattribut">scaledwidth</span>:
6880: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
6881: </div>
6882: Attribute <span class="nomattribut">scaledheight</span>:
6883: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
6884: </div>
6885: Attribute <span class="nomattribut">transparent</span>:
6886: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
6887: </div>
6888:
6889:
6890: </div>
6891: <br>
6892: </li>
6893: </ul>
6894: Attribute <span class="nomattribut">width</span>:
6895: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
6896: </div>
6897: Attribute <span class="nomattribut">height</span>:
6898: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
6899: </div>
6900: Attribute <span class="nomattribut">bgcolor</span>:
6901: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
6902: </div>
6903: </div>
1.2 ! damieng 6904: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a><br><hr>
1.1 damieng 6905:
6906:
1.2 ! damieng 6907: <div class="documentation"> Non-HTML inline elements mixed with text
1.1 damieng 6908: </div>
1.2 ! damieng 6909: <hr>
1.1 damieng 6910:
6911: <a name="display_3"></a><h3>Element <span class="nomtitre">display</span>
6912: </h3>type: <tt>xs:string</tt><br>
6913:
1.2 ! damieng 6914: <div class="documentation"> Display Script Result Block
1.1 damieng 6915:
6916: The intervening Perl script is evaluated in the safe space and the return value of the script replaces the entire element.
6917: </div>
6918:
1.2 ! damieng 6919: <br>Parents: <a href="#inlines_0">inlines</a><br><hr>
1.1 damieng 6920: <a name="m_0"></a><h3>Element <span class="nomtitre">m</span>
6921: </h3>
6922:
1.2 ! damieng 6923: <div class="documentation"> The inside text is LaTeX, and is converted to HTML (or MathML) on the fly.
1.1 damieng 6924: This element is normally used for math, and the text should start and end with either $ or $$.
6925: </div>
6926:
6927: Can contain text<br><div class="indentation">
6928: Attribute <span class="nomattribut">display</span>:
6929: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
6930:
1.2 ! damieng 6931: <div class="documentation"> Option to force the math rendering for this element.
1.1 damieng 6932: </div>
6933:
6934: </div>
6935: Attribute <span class="nomattribut">eval</span>:
6936: <div class="indentation">optional<br>type: <a href="#onoff-or-perl_0">onoff-or-perl</a><br>
6937:
1.2 ! damieng 6938: <div class="documentation"> Perl variables inside the element will be evaluated if this attribute value is "on".
1.1 damieng 6939: </div>
6940:
6941: </div>
6942: </div>
1.2 ! damieng 6943: <br>Parents: <a href="#inlines_0">inlines</a><br><hr>
1.1 damieng 6944: <a name="lm_0"></a><h3>Element <span class="nomtitre">lm</span>
6945: </h3>
6946:
1.2 ! damieng 6947: <div class="documentation"> Inline math with the LON-CAPA syntax (use <m> for LaTeX math).
1.1 damieng 6948: Perl variables are evaluated.
6949: The expression is interpreted with implicit operators (for multiplication or units).
6950: </div>
6951:
6952: <div class="indentation">
6953:
6954:
6955: Attribute <span class="nomattribut">mode</span>:
6956: <div class="indentation">optional<br>
6957:
1.2 ! damieng 6958: <div class="documentation"> In symbols mode, names are interpreted as constants or variables.
1.1 damieng 6959: In units mode, names are interpreted as constants or units.
6960: </div>
6961:
6962:
6963: Value restriction based on xs:string<ul>
6964: <li><tt>symbols</tt></li>
6965: <li><tt>units</tt></li>
6966: </ul>
6967:
6968: </div>
6969:
6970:
6971: </div>
1.2 ! damieng 6972: <br>Parents: <a href="#inlines_0">inlines</a><br><hr>
1.1 damieng 6973: <a name="num_0"></a><h3>Element <span class="nomtitre">num</span>
6974: </h3>
6975:
1.2 ! damieng 6976: <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 6977:
6978: <num format="2E">31454678</num> results in 3.15 x 10^7
6979: <num format="2f">31454678</num> results in 31454678.00
6980: <num format="4g">31454678</num> results in 3.145 x 10^7
6981: <num format="4g">314.54678</num> results in 314.5
6982: <num format=",2f">31454678</num> results in 31,454,678.00
6983: <num format="$2f">31454678</num> results in $31,454,678.00
6984: <num format="2s">31454678</num> results in 31000000
6985: <num format=",2s">31454678</num> results in 31,000,000
6986: </div>
6987:
6988: Can contain text<br><div class="indentation">
6989: Attribute <span class="nomattribut">format</span>:
6990: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
6991: </div>
6992: </div>
1.2 ! damieng 6993: <br>Parents: <a href="#inlines_0">inlines</a><br><hr>
1.1 damieng 6994: <a name="algebra_0"></a><h3>Element <span class="nomtitre">algebra</span>
6995: </h3>
6996:
1.2 ! damieng 6997: <div class="documentation"> Typesets algebraic expressions.
1.1 damieng 6998: Expressions are displayed using the math expression display mechanism defined in the user’s preferences. The default is tth.
6999: </div>
7000:
7001: Can contain text<br><div class="indentation">
7002: Attribute <span class="nomattribut">style</span>:
7003: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
7004: </div>
7005: Attribute <span class="nomattribut">display</span>:
7006: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
7007:
1.2 ! damieng 7008: <div class="documentation"> Option to force the math rendering for this element.
1.1 damieng 7009: </div>
7010:
7011: </div>
7012: </div>
1.2 ! damieng 7013: <br>Parents: <a href="#inlines_0">inlines</a><br><hr>
1.1 damieng 7014: <a name="chem_0"></a><h3>Element <span class="nomtitre">chem</span>
7015: </h3>type: <tt>xs:string</tt><br>
7016:
1.2 ! damieng 7017: <div class="documentation"> Typesets chemical equation
1.1 damieng 7018: </div>
7019:
1.2 ! damieng 7020: <br>Parents: <a href="#inlines_0">inlines</a><br><hr>
1.1 damieng 7021: <a name="parse_0"></a><h3>Element <span class="nomtitre">parse</span>
7022: </h3>type: <tt>xs:string</tt><br>
7023:
1.2 ! damieng 7024: <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 7025:
7026: Warning: using this element (or the xmlparse function) will reduce the document future interoperability, because dynamically generated XML cannot be automatically converted.
7027: </div>
7028:
1.2 ! damieng 7029: <br>Parents: <a href="#inlines_0">inlines</a><br><hr>
1.1 damieng 7030: <a name="displayweight_0"></a><h3>Element <span class="nomtitre">displayweight</span>
7031: </h3>
7032:
1.2 ! damieng 7033: <div class="documentation"> Displays the number of points awarded for this problem or problem part.
1.1 damieng 7034: </div>
7035:
1.2 ! damieng 7036: <br>Parents: <a href="#inlines_0">inlines</a><br><hr>
1.1 damieng 7037: <a name="displaystudentphoto_0"></a><h3>Element <span class="nomtitre">displaystudentphoto</span>
7038: </h3>
7039: <div class="indentation">
7040: Attribute <span class="nomattribut">width</span>:
7041: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
7042: </div>
7043: Attribute <span class="nomattribut">height</span>:
7044: <div class="indentation">optional<br>type: <a href="#int-or-perl_0">int-or-perl</a><br>
7045: </div>
7046: Attribute <span class="nomattribut">align</span>:
7047: <div class="indentation">optional<br>
7048:
1.2 ! damieng 7049: <div class="documentation"> note: this attribute is not supported in HTML5, css should be used instead !
1.1 damieng 7050: </div>
7051:
7052:
1.2 ! damieng 7053: Union of types<ul>
! 7054: <li><a href="#perl_0">perl</a></li>
! 7055: <li>
1.1 damieng 7056: Value restriction based on xs:string<ul>
7057: <li><tt>left</tt></li>
7058: <li><tt>right</tt></li>
7059: <li><tt>middle</tt></li>
7060: <li><tt>top</tt></li>
7061: <li><tt>bottom</tt></li>
7062: </ul>
1.2 ! damieng 7063: </li>
! 7064: </ul>
1.1 damieng 7065:
7066: </div>
7067: </div>
1.2 ! damieng 7068: <br>Parents: <a href="#inlines_0">inlines</a><br><hr>
1.1 damieng 7069:
7070:
7071:
1.2 ! damieng 7072: <div class="documentation"> HTML
1.1 damieng 7073: </div>
1.2 ! damieng 7074: <hr>
1.1 damieng 7075:
7076: <a name="coreattrs_0"></a><h3>Attribute group: <span class="nomtitre">coreattrs</span>
7077: </h3>
7078:
1.2 ! damieng 7079: <div class="documentation"> core attributes common to most HTML elements
1.1 damieng 7080: </div>
7081:
7082: Attribute <span class="nomattribut">id</span>:
7083: <div class="indentation">optional<br>type: <tt>xs:ID</tt><br>
7084:
1.2 ! damieng 7085: <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 7086:
7087: Usage note:
7088: - 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.
7089: - 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.
7090: - 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.
7091: </div>
7092:
7093: </div>
7094: Attribute <span class="nomattribut">class</span>:
7095: <div class="indentation">optional<br>type: <tt>xs:NMTOKENS</tt><br>
7096:
1.2 ! damieng 7097: <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 7098:
7099: 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.
7100: </div>
7101:
7102: </div>
7103: Attribute <span class="nomattribut">style</span>:
7104: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
7105:
1.2 ! damieng 7106: <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 7107:
7108: 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.
7109: </div>
7110:
7111: </div>
1.2 ! damieng 7112: <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 7113: <a name="i18n_0"></a><h3>Attribute group: <span class="nomtitre">i18n</span>
7114: </h3>
7115:
1.2 ! damieng 7116: <div class="documentation"> internationalization attributes
1.1 damieng 7117: lang language code (backwards compatible)
7118: xml:lang language code (as per XML 1.0 spec)
7119: dir direction for weak/neutral text
7120: </div>
7121:
7122: Attribute <span class="nomattribut">lang</span>:
7123: <div class="indentation">optional<br>type: <tt>xs:language</tt><br>
7124: </div>
7125: Attribute <span class="nomattribut"></span>:
7126: <div class="indentation">optional<br>
7127: </div>
7128: Attribute <span class="nomattribut">dir</span>:
7129: <div class="indentation">optional<br>
7130:
7131: Value restriction based on xs:token<ul>
7132: <li><tt>ltr</tt></li>
7133: <li><tt>rtl</tt></li>
7134: </ul>
7135:
7136: </div>
1.2 ! damieng 7137: <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 7138: <a name="inlineBaseType_0"></a><h3>Complex type <span class="nomtitre">inlineBaseType</span>
7139: </h3>Can contain text<br><div class="indentation">
7140: Choice between:<ul><li>
7141: <a href="#inlines_0">inlines</a><br>
7142: </li></ul>
7143: </div>
7144: <hr>
7145: <a name="heading_1"></a><h3>Group <span class="nomtitre">heading</span>
7146: </h3>
7147: Choice between:<ul>
7148: <li>
7149: <a href="#h1_0">h1</a><br>
7150: </li>
7151: <li>
7152: <a href="#h2_0">h2</a><br>
7153: </li>
7154: <li>
7155: <a href="#h3_0">h3</a><br>
7156: </li>
7157: <li>
7158: <a href="#h4_0">h4</a><br>
7159: </li>
7160: <li>
7161: <a href="#h5_0">h5</a><br>
7162: </li>
7163: <li>
7164: <a href="#h6_0">h6</a><br>
7165: </li>
7166: </ul>
1.2 ! damieng 7167: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a><br><hr>
1.1 damieng 7168: <a name="headerContent_0"></a><h3>Complex type <span class="nomtitre">headerContent</span>
7169: </h3>Can contain text<br><div class="indentation">
7170: Choice between:<ul><li>
7171: <a href="#inlines_0">inlines</a><br>
7172: </li></ul>
7173: <a href="#coreattrs_0">coreattrs</a><br><br>
7174: Attribute <span class="nomattribut"></span>:
7175: <div class="indentation">optional<br>
7176: </div>
7177: </div>
7178: <hr>
7179:
7180: <a name="html_0"></a><h3>Element <span class="nomtitre">html</span>
7181: </h3>
7182:
1.2 ! damieng 7183: <div class="documentation"> The HTML root element (<html>) represents the root of an HTML document.
1.1 damieng 7184: </div>
7185:
7186: <div class="indentation">
7187: Sequence with:<ul>
7188: <li>
7189: <a href="#head_0">head</a><br>
7190: </li>
7191: <li>
7192: <a href="#body_0">body</a><br>
7193: </li>
7194: <li>
7195: <a href="#allow_0">allow</a><br>
7196: </li>
7197: </ul>
7198: <a href="#i18n_0">i18n</a><br><br>
7199: Attribute <span class="nomattribut">id</span>:
7200: <div class="indentation">optional<br>type: <tt>xs:ID</tt><br>
7201: </div>
7202: </div>
7203: <br><br><hr>
7204: <a name="head.misc_0"></a><h3>Group <span class="nomtitre">head.misc</span>
7205: </h3>
7206: Sequence with:<ul><li>Choice between:<ul>
7207: <li>
7208: <a href="#script_0">script</a><br>
7209: </li>
7210: <li>
7211: <a href="#style_4">style</a><br>
7212: </li>
7213: <li>
7214: <a name="meta_1"></a><h3>Element <span class="nomtitre">meta</span>
7215: </h3>type: <a href="#htmlMeta_0">htmlMeta</a><br><br>
7216: </li>
7217: <li>
7218: <a href="#link_0">link</a><br>
7219: </li>
7220: <li>
7221: <a href="#import_0">import</a><br>
7222: </li>
7223: </ul>
7224: </li></ul>
1.2 ! damieng 7225: <br>Parents: <a href="#head_0">head</a><br><hr>
1.1 damieng 7226: <a name="head_0"></a><h3>Element <span class="nomtitre">head</span>
7227: </h3>
7228:
1.2 ! damieng 7229: <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 7230: </div>
7231:
7232: <div class="indentation">
7233: Sequence with:<ul>
7234: <li>
7235: <a href="#head.misc_0">head.misc</a><br>
7236: </li>
7237: <li>Choice between:<ul>
7238: <li>Sequence with:<ul>
7239: <li>
7240: <a href="#title_2">title</a><br>
7241: </li>
7242: <li>
7243: <a href="#head.misc_0">head.misc</a><br>
7244: </li>
7245: <li>Sequence with:<ul>
7246: <li>
7247: <a href="#base_0">base</a><br>
7248: </li>
7249: <li>
7250: <a href="#head.misc_0">head.misc</a><br>
7251: </li>
7252: </ul>
7253: </li>
7254: </ul>
7255: </li>
7256: <li>Sequence with:<ul>
7257: <li>
7258: <a href="#base_0">base</a><br>
7259: </li>
7260: <li>
7261: <a href="#head.misc_0">head.misc</a><br>
7262: </li>
7263: <li>Sequence with:<ul>
7264: <li>
7265: <a href="#title_2">title</a><br>
7266: </li>
7267: <li>
7268: <a href="#head.misc_0">head.misc</a><br>
7269: </li>
7270: </ul>
7271: </li>
7272: </ul>
7273: </li>
7274: </ul>
7275: </li>
7276: </ul>
7277: <a href="#i18n_0">i18n</a><br><br>
7278: Attribute <span class="nomattribut">id</span>:
7279: <div class="indentation">optional<br>type: <tt>xs:ID</tt><br>
7280: </div>
7281: Attribute <span class="nomattribut">profile</span>:
7282: <div class="indentation">optional<br>type: <tt>xs:anyURI</tt><br>
7283:
1.2 ! damieng 7284: <div class="documentation"> The URIs of one or more metadata profiles, separated by white space.
1.1 damieng 7285:
7286: This attribute is obsolete in HTML5.
7287: </div>
7288:
7289: </div>
7290: </div>
1.2 ! damieng 7291: <br>Parents: <a href="#problem_0">problem</a>, <a href="#html_0">html</a><br><hr>
1.1 damieng 7292: <a name="title_2"></a><h3>Element <span class="nomtitre">title</span>
7293: </h3>
7294:
1.2 ! damieng 7295: <div class="documentation"> The title element is not considered part of the flow of text.
1.1 damieng 7296: It should be displayed, for example as the page header or
7297: window title. Exactly one title is required per document.
7298: </div>
7299:
7300: Can contain text<br><div class="indentation">
7301: <a href="#i18n_0">i18n</a><br><br>
7302: Attribute <span class="nomattribut">id</span>:
7303: <div class="indentation">optional<br>type: <tt>xs:ID</tt><br>
7304: </div>
7305: </div>
1.2 ! damieng 7306: <br>Parents: <a href="#head_0">head</a><br><hr>
1.1 damieng 7307: <a name="base_0"></a><h3>Element <span class="nomtitre">base</span>
7308: </h3>
7309:
1.2 ! damieng 7310: <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 7311: </div>
7312:
7313: <div class="indentation">
7314: Attribute <span class="nomattribut">href</span>:
7315: <div class="indentation">required<br>type: <tt>xs:anyURI</tt><br>
7316: </div>
7317: Attribute <span class="nomattribut">id</span>:
7318: <div class="indentation">optional<br>type: <tt>xs:ID</tt><br>
7319: </div>
7320: </div>
1.2 ! damieng 7321: <br>Parents: <a href="#head_0">head</a><br><hr>
1.1 damieng 7322: <a name="htmlMeta_0"></a><h3>Complex type <span class="nomtitre">htmlMeta</span>
7323: </h3>
7324: <div class="indentation">
7325:
1.2 ! damieng 7326: <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 7327:
7328: Depending on the attributes set, the kind of metadata can be one of the following:
7329: - If name is set, it is document-level metadata, applying to the whole page.
7330: - 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.
7331: - If charset is set, it is a charset declaration, i.e. the charset used for the serialized form of the webpage. HTML5
7332: - if the itemprop is set, a user-defined metadata, transparent for the user-agent as the semantics of the metadata is user-specific.
7333: </div>
7334:
7335: <a href="#i18n_0">i18n</a><br><br>
7336: Attribute <span class="nomattribut">id</span>:
7337: <div class="indentation">optional<br>type: <tt>xs:ID</tt><br>
7338: </div>
7339: Attribute <span class="nomattribut">http-equiv</span>:
7340: <div class="indentation">optional<br>
7341:
1.2 ! damieng 7342: <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 7343: - content-language (obsolete)
7344: - content-type (obsolete)
7345: - default-style
7346: - refresh
7347: - set-cookie (obsolete)
7348: </div>
7349:
7350: </div>
7351: Attribute <span class="nomattribut">name</span>:
7352: <div class="indentation">optional<br>
7353:
1.2 ! damieng 7354: <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 7355: </div>
7356:
7357: </div>
7358: Attribute <span class="nomattribut">content</span>:
7359: <div class="indentation">required<br>
7360:
1.2 ! damieng 7361: <div class="documentation"> This attribute gives the value associated with the http-equiv or name attribute, depending of the context.
1.1 damieng 7362: </div>
7363:
7364: </div>
7365: Attribute <span class="nomattribut">scheme</span>:
7366: <div class="indentation">optional<br>
7367:
1.2 ! damieng 7368: <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 7369:
7370: 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.
7371: </div>
7372:
7373: </div>
7374: </div>
7375: <hr>
7376: <a name="MediaDesc_0"></a><h3>Simple type <span class="nomtitre">MediaDesc</span>
7377: </h3>
7378:
1.2 ! damieng 7379: <div class="documentation"> Single or comma-separated list of media descriptors
1.1 damieng 7380: </div>
7381:
7382: Value restriction based on xs:string<ul>
7383: <li><tt>[^,]+(,\s*[^,]+)*</tt></li>
7384: </ul>
7385: <hr>
7386: <a name="link_0"></a><h3>Element <span class="nomtitre">link</span>
7387: </h3>
7388:
1.2 ! damieng 7389: <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 7390: </div>
7391:
7392: <div class="indentation">
7393: Attribute <span class="nomattribut">charset</span>:
7394: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
7395:
1.2 ! damieng 7396: <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 7397:
7398: 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.
7399: </div>
7400:
7401: </div>
7402: Attribute <span class="nomattribut">href</span>:
7403: <div class="indentation">optional<br>type: <tt>xs:anyURI</tt><br>
7404:
1.2 ! damieng 7405: <div class="documentation"> This attribute specifies the URL of the linked resource. A URL might be absolute or relative.
1.1 damieng 7406: </div>
7407:
7408: </div>
7409: Attribute <span class="nomattribut">hreflang</span>:
7410: <div class="indentation">optional<br>type: <tt>xs:language</tt><br>
7411:
1.2 ! damieng 7412: <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 7413: </div>
7414:
7415: </div>
7416: Attribute <span class="nomattribut">type</span>:
7417: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
7418:
1.2 ! damieng 7419: <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 7420: </div>
7421:
7422: </div>
7423: Attribute <span class="nomattribut">rel</span>:
7424: <div class="indentation">optional<br>type: <tt>xs:NMTOKENS</tt><br>
7425:
1.2 ! damieng 7426: <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 7427: </div>
7428:
7429: </div>
7430: Attribute <span class="nomattribut">rev</span>:
7431: <div class="indentation">optional<br>type: <tt>xs:NMTOKENS</tt><br>
7432:
1.2 ! damieng 7433: <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 7434:
7435: 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.
7436: </div>
7437:
7438: </div>
7439: Attribute <span class="nomattribut">media</span>:
7440: <div class="indentation">optional<br>type: <a href="#MediaDesc_0">MediaDesc</a><br>
7441:
1.2 ! damieng 7442: <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 7443:
7444: Usage note:
7445:
7446: - 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.
7447:
7448: - 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.
7449: </div>
7450:
7451: </div>
7452: </div>
1.2 ! damieng 7453: <br>Parents: <a href="#head.misc_0">head.misc</a><br><hr>
1.1 damieng 7454: <a name="style_4"></a><h3>Element <span class="nomtitre">style</span>
7455: </h3>
7456:
1.2 ! damieng 7457: <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 7458: </div>
7459:
7460: Can contain text<br><div class="indentation">
7461: <a href="#i18n_0">i18n</a><br><br>
7462: Attribute <span class="nomattribut">id</span>:
7463: <div class="indentation">optional<br>type: <tt>xs:ID</tt><br>
7464: </div>
7465: Attribute <span class="nomattribut">type</span>:
7466: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
7467: </div>
7468: Attribute <span class="nomattribut">media</span>:
7469: <div class="indentation">optional<br>type: <a href="#MediaDesc_0">MediaDesc</a><br>
7470: </div>
7471: Attribute <span class="nomattribut">title</span>:
7472: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
7473: </div>
7474: Attribute <span class="nomattribut"></span>:
7475: <div class="indentation">optional<br>
7476: </div>
7477: </div>
1.2 ! damieng 7478: <br>Parents: <a href="#head.misc_0">head.misc</a><br><hr>
1.1 damieng 7479: <a name="script_0"></a><h3>Element <span class="nomtitre">script</span>
7480: </h3>
7481:
1.2 ! damieng 7482: <div class="documentation"> Perl Script Block or Javascript
1.1 damieng 7483:
7484: 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.
7485:
7486: The HTML <script> element is used to embed or reference an executable script within an HTML or XHTML document.
7487:
7488: Scripts without async or defer attributes, as well as inline scripts, are fetched and executed immediately, before the browser continues to parse the page.
7489: </div>
7490:
7491: Can contain text<br><div class="indentation">
7492: Attribute <span class="nomattribut">id</span>:
7493: <div class="indentation">optional<br>type: <tt>xs:ID</tt><br>
7494: </div>
7495: Attribute <span class="nomattribut">charset</span>:
7496: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
7497: </div>
7498: Attribute <span class="nomattribut">src</span>:
7499: <div class="indentation">optional<br>type: <tt>xs:anyURI</tt><br>
7500:
1.2 ! damieng 7501: <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 7502: </div>
7503:
7504: </div>
7505: Attribute <span class="nomattribut">type</span>:
7506: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
7507:
1.2 ! damieng 7508: <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 7509:
7510: 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.
7511: </div>
7512:
7513: </div>
7514: Attribute <span class="nomattribut">language</span>:
7515: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
7516:
1.2 ! damieng 7517: <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 7518: </div>
7519:
7520: </div>
7521: Attribute <span class="nomattribut">defer</span>:
7522: <div class="indentation">optional<br>
7523:
1.2 ! damieng 7524: <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 7525: </div>
7526:
7527:
7528: Value restriction based on xs:token<ul>
7529: <li><tt>defer</tt></li>
7530: </ul>
7531:
7532: </div>
7533: Attribute <span class="nomattribut">async</span>:
7534: <div class="indentation">optional<br>
7535:
1.2 ! damieng 7536: <div class="documentation"> HTML5 only.
1.1 damieng 7537: 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).
7538: </div>
7539:
7540:
7541: Value restriction based on xs:token<ul>
7542: <li><tt>async</tt></li>
7543: </ul>
7544:
7545: </div>
7546: Attribute <span class="nomattribut"></span>:
7547: <div class="indentation">optional<br>
7548: </div>
7549: </div>
1.2 ! damieng 7550: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a>, <a href="#head.misc_0">head.misc</a><br><hr>
1.1 damieng 7551: <a name="noscript_0"></a><h3>Element <span class="nomtitre">noscript</span>
7552: </h3>
7553:
1.2 ! damieng 7554: <div class="documentation"> Alternate content container for non script-based rendering.
1.1 damieng 7555: </div>
7556:
7557: Can contain text<br><div class="indentation">
7558: Choice between:<ul><li>
7559: <a href="#blocks-with-text_0">blocks-with-text</a><br>
7560: </li></ul>
7561: </div>
1.2 ! damieng 7562: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a><br><hr>
1.1 damieng 7563: <a name="body_0"></a><h3>Element <span class="nomtitre">body</span>
7564: </h3>
7565:
1.2 ! damieng 7566: <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 7567: </div>
7568:
7569: <div class="indentation">
7570: Choice between:<ul><li>
7571: <a href="#blocks-with-text_0">blocks-with-text</a><br>
7572: </li></ul>
7573: <a href="#coreattrs_0">coreattrs</a><br><br>
7574: <a href="#i18n_0">i18n</a><br><br>
7575: Attribute <span class="nomattribut">onload</span>:
7576: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
7577: </div>
7578: Attribute <span class="nomattribut">onunload</span>:
7579: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
7580: </div>
7581: </div>
1.2 ! damieng 7582: <br>Parents: <a href="#html_0">html</a><br><hr>
1.1 damieng 7583: <a name="section-base_0"></a><h3>Complex type <span class="nomtitre">section-base</span>
7584: </h3>Can contain text<br><div class="indentation">
7585:
1.2 ! damieng 7586: <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 7587: </div>
7588:
7589: <a href="#coreattrs_0">coreattrs</a><br><br>
7590: </div>
7591: <hr>
7592: <a name="section-with-parts_0"></a><h3>Complex type <span class="nomtitre">section-with-parts</span>
7593: </h3>Can contain text<br><div class="indentation">
7594:
7595:
7596: Choice between:<ul><li>
7597: <a href="#text-with-parts_0">text-with-parts</a><br>
7598: </li></ul>
7599:
7600:
7601: </div>
7602: <hr>
7603: <a name="section-with-responses_0"></a><h3>Complex type <span class="nomtitre">section-with-responses</span>
7604: </h3>Can contain text<br><div class="indentation">
7605:
7606:
7607: Choice between:<ul><li>
7608: <a href="#text-with-responses_0">text-with-responses</a><br>
7609: </li></ul>
7610:
7611:
7612: </div>
7613: <hr>
7614: <a name="section-with-text_0"></a><h3>Complex type <span class="nomtitre">section-with-text</span>
7615: </h3>Can contain text<br><div class="indentation">
7616:
7617:
7618: Choice between:<ul><li>
7619: <a href="#text-only_0">text-only</a><br>
7620: </li></ul>
7621:
7622:
7623: </div>
7624: <hr>
7625: <a name="header_0"></a><h3>Element <span class="nomtitre">header</span>
7626: </h3>
7627:
1.2 ! damieng 7628: <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 7629:
7630: This element should have no <footer> or <header> descendants.
7631: </div>
7632:
7633: Can contain text<br><div class="indentation">
7634: Choice between:<ul><li>
7635: <a href="#text-only_0">text-only</a><br>
7636: </li></ul>
7637: <a href="#coreattrs_0">coreattrs</a><br><br>
7638: </div>
1.2 ! damieng 7639: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a><br><hr>
1.1 damieng 7640: <a name="footer_0"></a><h3>Element <span class="nomtitre">footer</span>
7641: </h3>
7642:
1.2 ! damieng 7643: <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 7644:
7645: This element should have no <footer> or <header> descendants.
7646: </div>
7647:
7648: Can contain text<br><div class="indentation">
7649: Choice between:<ul><li>
7650: <a href="#text-only_0">text-only</a><br>
7651: </li></ul>
7652: <a href="#coreattrs_0">coreattrs</a><br><br>
7653: </div>
1.2 ! damieng 7654: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a><br><hr>
1.1 damieng 7655: <a name="aside_0"></a><h3>Element <span class="nomtitre">aside</span>
7656: </h3>
7657:
1.2 ! damieng 7658: <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 7659: </div>
7660:
7661: Can contain text<br><div class="indentation">
7662: Choice between:<ul><li>
7663: <a href="#text-only_0">text-only</a><br>
7664: </li></ul>
7665: <a href="#coreattrs_0">coreattrs</a><br><br>
7666: </div>
1.2 ! damieng 7667: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a><br><hr>
1.1 damieng 7668: <a name="h1_0"></a><h3>Element <span class="nomtitre">h1</span>
7669: </h3>type: <a href="#headerContent_0">headerContent</a><br>
7670:
1.2 ! damieng 7671: <div class="documentation"> Level 1 title (most important).
1.1 damieng 7672:
7673: 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.
7674:
7675: 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.
7676: </div>
7677:
1.2 ! damieng 7678: <br>Parents: <a href="#heading_1">heading</a><br><hr>
1.1 damieng 7679: <a name="h2_0"></a><h3>Element <span class="nomtitre">h2</span>
7680: </h3>type: <a href="#headerContent_0">headerContent</a><br>
7681:
1.2 ! damieng 7682: <div class="documentation"> Level 2 title
1.1 damieng 7683:
7684: 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.
7685: </div>
7686:
1.2 ! damieng 7687: <br>Parents: <a href="#heading_1">heading</a><br><hr>
1.1 damieng 7688: <a name="h3_0"></a><h3>Element <span class="nomtitre">h3</span>
7689: </h3>type: <a href="#headerContent_0">headerContent</a><br>
7690:
1.2 ! damieng 7691: <div class="documentation"> Level 3 title
1.1 damieng 7692:
7693: 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.
7694: </div>
7695:
1.2 ! damieng 7696: <br>Parents: <a href="#heading_1">heading</a><br><hr>
1.1 damieng 7697: <a name="h4_0"></a><h3>Element <span class="nomtitre">h4</span>
7698: </h3>type: <a href="#headerContent_0">headerContent</a><br>
7699:
1.2 ! damieng 7700: <div class="documentation"> Level 4 title
1.1 damieng 7701:
7702: 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.
7703: </div>
7704:
1.2 ! damieng 7705: <br>Parents: <a href="#heading_1">heading</a><br><hr>
1.1 damieng 7706: <a name="h5_0"></a><h3>Element <span class="nomtitre">h5</span>
7707: </h3>type: <a href="#headerContent_0">headerContent</a><br>
7708:
1.2 ! damieng 7709: <div class="documentation"> Level 5 title
1.1 damieng 7710:
7711: 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.
7712: </div>
7713:
1.2 ! damieng 7714: <br>Parents: <a href="#heading_1">heading</a><br><hr>
1.1 damieng 7715: <a name="h6_0"></a><h3>Element <span class="nomtitre">h6</span>
7716: </h3>type: <a href="#headerContent_0">headerContent</a><br>
7717:
1.2 ! damieng 7718: <div class="documentation"> Level 6 title
1.1 damieng 7719:
7720: 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.
7721: </div>
7722:
1.2 ! damieng 7723: <br>Parents: <a href="#heading_1">heading</a><br><hr>
1.1 damieng 7724: <a name="div-base_0"></a><h3>Complex type <span class="nomtitre">div-base</span>
7725: </h3>Can contain text<br><div class="indentation">
7726:
1.2 ! damieng 7727: <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 7728: </div>
7729:
7730: <a href="#coreattrs_0">coreattrs</a><br><br>
7731: Attribute <span class="nomattribut">align</span>:
7732: <div class="indentation">optional<br>
7733:
1.2 ! damieng 7734: <div class="documentation"> In HTML5, the align attribute on <div> is obsolete.
1.1 damieng 7735: </div>
7736:
7737:
7738: Value restriction based on xs:string<ul>
7739: <li><tt>center</tt></li>
7740: <li><tt>left</tt></li>
7741: <li><tt>right</tt></li>
7742: </ul>
7743:
7744: </div>
7745: </div>
7746: <hr>
7747: <a name="div-with-parts_0"></a><h3>Complex type <span class="nomtitre">div-with-parts</span>
7748: </h3>Can contain text<br><div class="indentation">
7749:
7750:
7751: Choice between:<ul>
7752: <li>
7753: <a href="#text-with-parts_0">text-with-parts</a><br>
7754: </li>
7755: <li>
7756: <a href="#inserts_0">inserts</a><br>
7757: </li>
7758: <li>
7759: <a href="#allow_0">allow</a><br>
7760: </li>
7761: <li>
7762: <a href="#meta_0">meta</a><br>
7763: </li>
7764: <li>
7765: <a href="#parameter_0">parameter</a><br>
7766: </li>
7767: <li>
7768: <a href="#parserlib_0">parserlib</a><br>
7769: </li>
7770: <li>
7771: <a href="#scriptlib_0">scriptlib</a><br>
7772: </li>
7773: </ul>
7774:
7775:
7776: </div>
7777: <hr>
7778: <a name="div-with-responses_0"></a><h3>Complex type <span class="nomtitre">div-with-responses</span>
7779: </h3>Can contain text<br><div class="indentation">
7780:
7781:
7782: Choice between:<ul>
7783: <li>
7784: <a href="#text-with-responses_0">text-with-responses</a><br>
7785: </li>
7786: <li>
7787: <a href="#inserts_0">inserts</a><br>
7788: </li>
7789: <li>
7790: <a href="#allow_0">allow</a><br>
7791: </li>
7792: <li>
7793: <a href="#meta_0">meta</a><br>
7794: </li>
7795: <li>
7796: <a href="#parameter_0">parameter</a><br>
7797: </li>
7798: <li>
7799: <a href="#parserlib_0">parserlib</a><br>
7800: </li>
7801: <li>
7802: <a href="#scriptlib_0">scriptlib</a><br>
7803: </li>
7804: </ul>
7805:
7806:
7807: </div>
7808: <hr>
7809: <a name="div-with-text_0"></a><h3>Complex type <span class="nomtitre">div-with-text</span>
7810: </h3>Can contain text<br><div class="indentation">
7811:
7812:
7813: Choice between:<ul>
7814: <li>
7815: <a href="#text-only_0">text-only</a><br>
7816: </li>
7817: <li>
7818: <a href="#inserts_0">inserts</a><br>
7819: </li>
7820: <li>
7821: <a href="#meta_0">meta</a><br>
7822: </li>
7823: <li>
7824: <a href="#parameter_0">parameter</a><br>
7825: </li>
7826: <li>
7827: <a href="#parserlib_0">parserlib</a><br>
7828: </li>
7829: <li>
7830: <a href="#scriptlib_0">scriptlib</a><br>
7831: </li>
7832: </ul>
7833:
7834:
7835: </div>
7836: <hr>
7837: <a name="p-base_0"></a><h3>Complex type <span class="nomtitre">p-base</span>
7838: </h3>Can contain text<br><div class="indentation">
7839:
1.2 ! damieng 7840: <div class="documentation"> The HTML <p> element (or HTML Paragraph Element) represents a paragraph of text. Paragraphs are block-level elements.
1.1 damieng 7841: </div>
7842:
7843: <a href="#coreattrs_0">coreattrs</a><br><br>
7844: </div>
7845: <hr>
7846: <a name="p-with-responses_0"></a><h3>Complex type <span class="nomtitre">p-with-responses</span>
7847: </h3>Can contain text<br><div class="indentation">
7848:
7849:
7850: Choice between:<ul>
7851: <li>
7852: <a href="#inlines_0">inlines</a><br>
7853: </li>
7854: <li>
7855: <a href="#inlineResponses_0">inlineResponses</a><br>
7856: </li>
7857: </ul>
7858:
7859:
7860: </div>
7861: <hr>
7862: <a name="p-with-text_0"></a><h3>Complex type <span class="nomtitre">p-with-text</span>
7863: </h3>Can contain text<br><div class="indentation">
7864:
7865:
7866: Choice between:<ul><li>
7867: <a href="#inlines_0">inlines</a><br>
7868: </li></ul>
7869:
7870:
7871: </div>
7872: <hr>
7873: <a name="ul-base_0"></a><h3>Complex type <span class="nomtitre">ul-base</span>
7874: </h3>
7875: <div class="indentation">
7876:
1.2 ! damieng 7877: <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 7878:
7879: There is no limitation to the depth and imbrication of lists defined with the <ol> and <ul> elements.
7880: </div>
7881:
7882: <a href="#coreattrs_0">coreattrs</a><br><br>
7883: Attribute <span class="nomattribut">type</span>:
7884: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
7885:
1.2 ! damieng 7886: <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 7887: - circle,
7888: - disc,
7889: - and square.
7890:
7891: A fourth bullet type has been defined in the WebTV interface, but not all browsers support it: triangle.
7892:
7893: 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.
7894: Usage note: Do not use this attribute, as it has been deprecated; use the CSS list-style-type property instead.
7895: </div>
7896:
7897: </div>
7898: </div>
7899: <hr>
7900: <a name="ul-with-parts_0"></a><h3>Complex type <span class="nomtitre">ul-with-parts</span>
7901: </h3>
7902: <div class="indentation">
7903:
7904:
7905: Sequence with:<ul><li>
7906: <a name="li_0"></a><h3>Element <span class="nomtitre">li</span>
7907: </h3>type: <a href="#li-with-parts_0">li-with-parts</a><br><br>
7908: </li></ul>
7909:
7910:
7911: </div>
7912: <hr>
7913: <a name="ul-with-responses_0"></a><h3>Complex type <span class="nomtitre">ul-with-responses</span>
7914: </h3>
7915: <div class="indentation">
7916:
7917:
7918: Sequence with:<ul><li>
7919: <a name="li_1"></a><h3>Element <span class="nomtitre">li</span>
7920: </h3>type: <a href="#li-with-responses_0">li-with-responses</a><br><br>
7921: </li></ul>
7922:
7923:
7924: </div>
7925: <hr>
7926: <a name="ul-with-text_0"></a><h3>Complex type <span class="nomtitre">ul-with-text</span>
7927: </h3>
7928: <div class="indentation">
7929:
7930:
7931: Sequence with:<ul><li>
7932: <a name="li_2"></a><h3>Element <span class="nomtitre">li</span>
7933: </h3>type: <a href="#li-with-text_0">li-with-text</a><br><br>
7934: </li></ul>
7935:
7936:
7937: </div>
7938: <hr>
7939: <a name="ol-base_0"></a><h3>Complex type <span class="nomtitre">ol-base</span>
7940: </h3>
7941: <div class="indentation">
7942:
1.2 ! damieng 7943: <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 7944:
7945: There is no limitation to the depth and overlap of lists defined with the <ol> and <ul> elements.
7946: </div>
7947:
7948: <a href="#coreattrs_0">coreattrs</a><br><br>
7949: Attribute <span class="nomattribut">type</span>:
7950: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
7951:
1.2 ! damieng 7952: <div class="documentation"> Indicates the numbering type:
1.1 damieng 7953: - 'a' indicates lowercase letters,
7954: - 'A' indicates uppercase letters,
7955: - 'i' indicates lowercase Roman numerals,
7956: - 'I' indicates uppercase Roman numerals,
7957: - and '1' indicates numbers (default).
7958:
7959: The type set is used for the entire list unless a different type attribute is used within an enclosed <li> element.
7960:
7961: 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.
7962: </div>
7963:
7964: </div>
7965: </div>
7966: <hr>
7967: <a name="ol-with-parts_0"></a><h3>Complex type <span class="nomtitre">ol-with-parts</span>
7968: </h3>
7969: <div class="indentation">
7970:
7971:
7972: Sequence with:<ul><li>
7973: <a name="li_3"></a><h3>Element <span class="nomtitre">li</span>
7974: </h3>type: <a href="#li-with-parts_0">li-with-parts</a><br><br>
7975: </li></ul>
7976:
7977:
7978: </div>
7979: <hr>
7980: <a name="ol-with-responses_0"></a><h3>Complex type <span class="nomtitre">ol-with-responses</span>
7981: </h3>
7982: <div class="indentation">
7983:
7984:
7985: Sequence with:<ul><li>
7986: <a name="li_4"></a><h3>Element <span class="nomtitre">li</span>
7987: </h3>type: <a href="#li-with-responses_0">li-with-responses</a><br><br>
7988: </li></ul>
7989:
7990:
7991: </div>
7992: <hr>
7993: <a name="ol-with-text_0"></a><h3>Complex type <span class="nomtitre">ol-with-text</span>
7994: </h3>
7995: <div class="indentation">
7996:
7997:
7998: Sequence with:<ul><li>
7999: <a name="li_5"></a><h3>Element <span class="nomtitre">li</span>
8000: </h3>type: <a href="#li-with-text_0">li-with-text</a><br><br>
8001: </li></ul>
8002:
8003:
8004: </div>
8005: <hr>
8006: <a name="li-base_0"></a><h3>Complex type <span class="nomtitre">li-base</span>
8007: </h3>Can contain text<br><div class="indentation">
8008:
1.2 ! damieng 8009: <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 8010: </div>
8011:
8012: <a href="#coreattrs_0">coreattrs</a><br><br>
8013: Attribute <span class="nomattribut">type</span>:
8014: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
8015:
1.2 ! damieng 8016: <div class="documentation"> This character attributes indicates the numbering type:
1.1 damieng 8017:
8018: a: lowercase letters
8019: A: uppercase letters
8020: i: lowercase Roman numerals
8021: I: uppercase Roman numerals
8022: 1: numbers
8023:
8024: This type overrides the one used by its parent <ol> element, if any.
8025:
8026: Usage note: This attribute has been deprecated: use the CSS list-style-type property instead.
8027: </div>
8028:
8029: </div>
8030: Attribute <span class="nomattribut">value</span>:
8031: <div class="indentation">optional<br>type: <tt>xs:int</tt><br>
8032:
1.2 ! damieng 8033: <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 8034:
8035: Note: This attribute was deprecated in HTML4, but reintroduced in HTML5.
8036: </div>
8037:
8038: </div>
8039: </div>
8040: <hr>
8041: <a name="li-with-parts_0"></a><h3>Complex type <span class="nomtitre">li-with-parts</span>
8042: </h3>Can contain text<br><div class="indentation">
8043:
8044:
8045: Choice between:<ul><li>
8046: <a href="#text-with-parts_0">text-with-parts</a><br>
8047: </li></ul>
8048:
8049:
8050: </div>
8051: <hr>
8052: <a name="li-with-responses_0"></a><h3>Complex type <span class="nomtitre">li-with-responses</span>
8053: </h3>Can contain text<br><div class="indentation">
8054:
8055:
8056: Choice between:<ul><li>
8057: <a href="#text-with-responses_0">text-with-responses</a><br>
8058: </li></ul>
8059:
8060:
8061: </div>
8062: <hr>
8063: <a name="li-with-text_0"></a><h3>Complex type <span class="nomtitre">li-with-text</span>
8064: </h3>Can contain text<br><div class="indentation">
8065:
8066:
8067: Choice between:<ul><li>
8068: <a href="#text-only_0">text-only</a><br>
8069: </li></ul>
8070:
8071:
8072: </div>
8073: <hr>
8074: <a name="dl-base_0"></a><h3>Complex type <span class="nomtitre">dl-base</span>
8075: </h3>
8076: <div class="indentation">
8077:
1.2 ! damieng 8078: <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 8079:
8080: Prior to HTML5, <dl> was known as a Definition List.
8081: </div>
8082:
8083: <a href="#coreattrs_0">coreattrs</a><br><br>
8084: </div>
8085: <hr>
8086: <a name="dl-with-parts_0"></a><h3>Complex type <span class="nomtitre">dl-with-parts</span>
8087: </h3>
8088: <div class="indentation">
8089:
8090:
8091: Choice between:<ul>
8092: <li>
8093: <a href="#dt_0">dt</a><br>
8094: </li>
8095: <li>
8096: <a name="dd_0"></a><h3>Element <span class="nomtitre">dd</span>
8097: </h3>type: <a href="#dd-with-parts_0">dd-with-parts</a><br><br>
8098: </li>
8099: </ul>
8100:
8101:
8102: </div>
8103: <hr>
8104: <a name="dl-with-responses_0"></a><h3>Complex type <span class="nomtitre">dl-with-responses</span>
8105: </h3>
8106: <div class="indentation">
8107:
8108:
8109: Choice between:<ul>
8110: <li>
8111: <a href="#dt_0">dt</a><br>
8112: </li>
8113: <li>
8114: <a name="dd_1"></a><h3>Element <span class="nomtitre">dd</span>
8115: </h3>type: <a href="#dd-with-responses_0">dd-with-responses</a><br><br>
8116: </li>
8117: </ul>
8118:
8119:
8120: </div>
8121: <hr>
8122: <a name="dl-with-text_0"></a><h3>Complex type <span class="nomtitre">dl-with-text</span>
8123: </h3>
8124: <div class="indentation">
8125:
8126:
8127: Choice between:<ul>
8128: <li>
8129: <a href="#dt_0">dt</a><br>
8130: </li>
8131: <li>
8132: <a name="dd_2"></a><h3>Element <span class="nomtitre">dd</span>
8133: </h3>type: <a href="#dd-with-text_0">dd-with-text</a><br><br>
8134: </li>
8135: </ul>
8136:
8137:
8138: </div>
8139: <hr>
8140: <a name="dt_0"></a><h3>Element <span class="nomtitre">dt</span>
8141: </h3>type: <a href="#inlineBaseType_0">inlineBaseType</a><br>
8142:
1.2 ! damieng 8143: <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 8144: </div>
8145:
8146: <br><br><hr>
8147: <a name="dd-base_0"></a><h3>Complex type <span class="nomtitre">dd-base</span>
8148: </h3>Can contain text<br><div class="indentation">
8149:
1.2 ! damieng 8150: <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 8151: </div>
8152:
8153: </div>
8154: <hr>
8155: <a name="dd-with-parts_0"></a><h3>Complex type <span class="nomtitre">dd-with-parts</span>
8156: </h3>Can contain text<br><div class="indentation">
8157:
8158:
8159: Choice between:<ul><li>
8160: <a href="#text-with-parts_0">text-with-parts</a><br>
8161: </li></ul>
8162:
8163:
8164: </div>
8165: <hr>
8166: <a name="dd-with-responses_0"></a><h3>Complex type <span class="nomtitre">dd-with-responses</span>
8167: </h3>Can contain text<br><div class="indentation">
8168:
8169:
8170: Choice between:<ul><li>
8171: <a href="#text-with-responses_0">text-with-responses</a><br>
8172: </li></ul>
8173:
8174:
8175: </div>
8176: <hr>
8177: <a name="dd-with-text_0"></a><h3>Complex type <span class="nomtitre">dd-with-text</span>
8178: </h3>Can contain text<br><div class="indentation">
8179:
8180:
8181: Choice between:<ul><li>
8182: <a href="#text-only_0">text-only</a><br>
8183: </li></ul>
8184:
8185:
8186: </div>
8187: <hr>
8188: <a name="table-base_0"></a><h3>Complex type <span class="nomtitre">table-base</span>
8189: </h3>
8190: <div class="indentation">
8191:
1.2 ! damieng 8192: <div class="documentation"> The HTML Table Element (<table>) represents data in two dimensions or more.
1.1 damieng 8193: </div>
8194:
8195: <a href="#coreattrs_0">coreattrs</a><br><br>
8196: Attribute <span class="nomattribut">border</span>:
8197: <div class="indentation">optional<br>type: <tt>xs:int</tt><br>
8198:
1.2 ! damieng 8199: <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 8200: 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.
8201: </div>
8202:
8203: </div>
8204: Attribute <span class="nomattribut">cellpadding</span>:
8205: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
8206:
1.2 ! damieng 8207: <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 8208: 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>.
8209: </div>
8210:
8211: </div>
8212: Attribute <span class="nomattribut">cellspacing</span>:
8213: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
8214:
1.2 ! damieng 8215: <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 8216: 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.
8217: </div>
8218:
8219: </div>
8220: Attribute <span class="nomattribut">TeXwidth</span>:
8221: <div class="indentation">optional<br>
8222:
1.2 ! damieng 8223: <div class="documentation"> Width of the table in %
1.1 damieng 8224: </div>
8225:
8226:
1.2 ! damieng 8227: Union of types<ul>
! 8228: <li><a href="#perl_0">perl</a></li>
! 8229: <li>
1.1 damieng 8230: Value restriction based on xs:string<ul>
8231: <li><tt>[0-9]+\s*%</tt></li>
8232: </ul>
1.2 ! damieng 8233: </li>
! 8234: </ul>
1.1 damieng 8235:
8236: </div>
8237: Attribute <span class="nomattribut">TeXtheme</span>:
8238: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
8239: </div>
8240: Attribute <span class="nomattribut">align</span>:
8241: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
8242:
1.2 ! damieng 8243: <div class="documentation"> Deprecated attribute.
1.1 damieng 8244:
8245: This enumerated attribute indicates how the table must be aligned in regard of the containing document. It may have the following values:
8246:
8247: - left, meaning that the table is to be displayed to the left of the document;
8248: - center, meaning that the table is to be displayed centered in the document;
8249: - right, meaning that the table is to be displayed to the right of the document.
8250:
8251: Note:
8252: 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.
8253: </div>
8254:
8255: </div>
8256: Attribute <span class="nomattribut">rules</span>:
8257: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
8258:
1.2 ! damieng 8259: <div class="documentation"> Deprecated attribute.
1.1 damieng 8260:
8261: This enumerated attribute defines where rules, i.e. lines, should appear in a table. It can have the following values:
8262:
8263: - none, which indicates the no rules will be displayed; it is the default value;
8264: - 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;
8265: - rows, which will make the rules to be displayed between rows;
8266: - columns, which will make the rules to be displayed between columns;
8267: - all, which wil make the rules to be displayed between rows and columns.
8268:
8269: Note:
8270: The styling of the rules is browser-dependant and cannot be modified.
8271: 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.
8272: </div>
8273:
8274: </div>
8275: </div>
8276: <hr>
8277: <a name="table-with-parts_0"></a><h3>Complex type <span class="nomtitre">table-with-parts</span>
8278: </h3>
8279: <div class="indentation">
8280:
8281:
8282: Sequence with:<ul>
8283: <li>
8284: <a href="#caption_0">caption</a><br>
8285: </li>
8286: <li>
8287: <a href="#thead_0">thead</a><br>
8288: </li>
8289: <li>
8290: <a href="#tfoot_0">tfoot</a><br>
8291: </li>
8292: <li>Choice between:<ul>
8293: <li>
8294: <a name="tbody_0"></a><h3>Element <span class="nomtitre">tbody</span>
8295: </h3>type: <a href="#tbody-with-parts_0">tbody-with-parts</a><br><br>
8296: </li>
8297: <li>
8298: <a name="tr_0"></a><h3>Element <span class="nomtitre">tr</span>
8299: </h3>type: <a href="#tr-with-parts_0">tr-with-parts</a><br><br>
8300: </li>
8301: </ul>
8302: </li>
8303: </ul>
8304:
8305:
8306: </div>
8307: <hr>
8308: <a name="table-with-responses_0"></a><h3>Complex type <span class="nomtitre">table-with-responses</span>
8309: </h3>
8310: <div class="indentation">
8311:
8312:
8313: Sequence with:<ul>
8314: <li>
8315: <a href="#caption_0">caption</a><br>
8316: </li>
8317: <li>
8318: <a href="#thead_0">thead</a><br>
8319: </li>
8320: <li>
8321: <a href="#tfoot_0">tfoot</a><br>
8322: </li>
8323: <li>Choice between:<ul>
8324: <li>
8325: <a name="tbody_1"></a><h3>Element <span class="nomtitre">tbody</span>
8326: </h3>type: <a href="#tbody-with-responses_0">tbody-with-responses</a><br><br>
8327: </li>
8328: <li>
8329: <a name="tr_1"></a><h3>Element <span class="nomtitre">tr</span>
8330: </h3>type: <a href="#tr-with-responses_0">tr-with-responses</a><br><br>
8331: </li>
8332: </ul>
8333: </li>
8334: </ul>
8335:
8336:
8337: </div>
8338: <hr>
8339: <a name="table-with-text_0"></a><h3>Complex type <span class="nomtitre">table-with-text</span>
8340: </h3>
8341: <div class="indentation">
8342:
8343:
8344: Sequence with:<ul>
8345: <li>
8346: <a href="#caption_0">caption</a><br>
8347: </li>
8348: <li>
8349: <a href="#thead_0">thead</a><br>
8350: </li>
8351: <li>
8352: <a href="#tfoot_0">tfoot</a><br>
8353: </li>
8354: <li>Choice between:<ul>
8355: <li>
8356: <a name="tbody_2"></a><h3>Element <span class="nomtitre">tbody</span>
8357: </h3>type: <a href="#tbody-with-text_0">tbody-with-text</a><br><br>
8358: </li>
8359: <li>
8360: <a name="tr_2"></a><h3>Element <span class="nomtitre">tr</span>
8361: </h3>type: <a href="#tr-with-text_0">tr-with-text</a><br><br>
8362: </li>
8363: </ul>
8364: </li>
8365: </ul>
8366:
8367:
8368: </div>
8369: <hr>
8370: <a name="caption_0"></a><h3>Element <span class="nomtitre">caption</span>
8371: </h3>
8372:
1.2 ! damieng 8373: <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 8374: </div>
8375:
8376: Can contain text<br><div class="indentation">
8377: Choice between:<ul><li>
8378: <a href="#text-only_0">text-only</a><br>
8379: </li></ul>
8380: </div>
8381: <br><br><hr>
8382: <a name="thead_0"></a><h3>Element <span class="nomtitre">thead</span>
8383: </h3>
8384:
1.2 ! damieng 8385: <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 8386: </div>
8387:
8388: <div class="indentation">
8389: Sequence with:<ul><li>
8390: <a name="tr_3"></a><h3>Element <span class="nomtitre">tr</span>
8391: </h3>type: <a href="#tr-with-text_0">tr-with-text</a><br><br>
8392: </li></ul>
8393: Attribute <span class="nomattribut">align</span>:
8394: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
8395:
1.2 ! damieng 8396: <div class="documentation"> Deprecated attribute.
1.1 damieng 8397: </div>
8398:
8399: </div>
8400: </div>
8401: <br><br><hr>
8402: <a name="tfoot_0"></a><h3>Element <span class="nomtitre">tfoot</span>
8403: </h3>
8404:
1.2 ! damieng 8405: <div class="documentation"> The HTML Table Foot Element (<tfoot>) defines a set of rows summarizing the columns of the table.
1.1 damieng 8406: </div>
8407:
8408: <div class="indentation">
8409: Sequence with:<ul><li>
8410: <a name="tr_4"></a><h3>Element <span class="nomtitre">tr</span>
8411: </h3>type: <a href="#tr-with-text_0">tr-with-text</a><br><br>
8412: </li></ul>
8413: Attribute <span class="nomattribut">align</span>:
8414: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
8415:
1.2 ! damieng 8416: <div class="documentation"> Deprecated attribute.
1.1 damieng 8417: </div>
8418:
8419: </div>
8420: </div>
8421: <br><br><hr>
8422: <a name="tbody-with-parts_0"></a><h3>Complex type <span class="nomtitre">tbody-with-parts</span>
8423: </h3>
8424: <div class="indentation">
8425: Sequence with:<ul><li>Choice between:<ul><li>
8426: <a name="tr_5"></a><h3>Element <span class="nomtitre">tr</span>
8427: </h3>type: <a href="#tr-with-parts_0">tr-with-parts</a><br><br>
8428: </li></ul>
8429: </li></ul>
8430: Attribute <span class="nomattribut">align</span>:
8431: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
8432:
1.2 ! damieng 8433: <div class="documentation"> Deprecated attribute.
1.1 damieng 8434: </div>
8435:
8436: </div>
8437: </div>
8438: <hr>
8439: <a name="tbody-with-responses_0"></a><h3>Complex type <span class="nomtitre">tbody-with-responses</span>
8440: </h3>
8441: <div class="indentation">
8442: Sequence with:<ul><li>Choice between:<ul><li>
8443: <a name="tr_6"></a><h3>Element <span class="nomtitre">tr</span>
8444: </h3>type: <a href="#tr-with-responses_0">tr-with-responses</a><br><br>
8445: </li></ul>
8446: </li></ul>
8447: Attribute <span class="nomattribut">align</span>:
8448: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
8449: </div>
8450: </div>
8451: <hr>
8452: <a name="tbody-with-text_0"></a><h3>Complex type <span class="nomtitre">tbody-with-text</span>
8453: </h3>
8454: <div class="indentation">
8455: Sequence with:<ul><li>Choice between:<ul><li>
8456: <a name="tr_7"></a><h3>Element <span class="nomtitre">tr</span>
8457: </h3>type: <a href="#tr-with-text_0">tr-with-text</a><br><br>
8458: </li></ul>
8459: </li></ul>
8460: Attribute <span class="nomattribut">align</span>:
8461: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
8462:
1.2 ! damieng 8463: <div class="documentation"> Deprecated attribute.
1.1 damieng 8464: </div>
8465:
8466: </div>
8467: </div>
8468: <hr>
8469: <a name="tr-base_0"></a><h3>Complex type <span class="nomtitre">tr-base</span>
8470: </h3>
8471: <div class="indentation">
8472:
1.2 ! damieng 8473: <div class="documentation"> Table row
1.1 damieng 8474: </div>
8475:
8476: <a href="#coreattrs_0">coreattrs</a><br><br>
8477: Attribute <span class="nomattribut">align</span>:
8478: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
8479:
1.2 ! damieng 8480: <div class="documentation"> Deprecated attribute.
1.1 damieng 8481: </div>
8482:
8483: </div>
8484: </div>
8485: <hr>
8486: <a name="tr-with-parts_0"></a><h3>Complex type <span class="nomtitre">tr-with-parts</span>
8487: </h3>
8488: <div class="indentation">
8489:
8490:
8491: Choice between:<ul>
8492: <li>
8493: <a href="#th_0">th</a><br>
8494: </li>
8495: <li>
8496: <a name="td_0"></a><h3>Element <span class="nomtitre">td</span>
8497: </h3>type: <a href="#td-with-parts_0">td-with-parts</a><br><br>
8498: </li>
8499: </ul>
8500:
8501:
8502: </div>
8503: <hr>
8504: <a name="tr-with-responses_0"></a><h3>Complex type <span class="nomtitre">tr-with-responses</span>
8505: </h3>
8506: <div class="indentation">
8507:
8508:
8509: Choice between:<ul>
8510: <li>
8511: <a href="#th_0">th</a><br>
8512: </li>
8513: <li>
8514: <a name="td_1"></a><h3>Element <span class="nomtitre">td</span>
8515: </h3>type: <a href="#td-with-responses_0">td-with-responses</a><br><br>
8516: </li>
8517: </ul>
8518:
8519:
8520: </div>
8521: <hr>
8522: <a name="tr-with-text_0"></a><h3>Complex type <span class="nomtitre">tr-with-text</span>
8523: </h3>
8524: <div class="indentation">
8525:
8526:
8527: Choice between:<ul>
8528: <li>
8529: <a href="#th_0">th</a><br>
8530: </li>
8531: <li>
8532: <a name="td_2"></a><h3>Element <span class="nomtitre">td</span>
8533: </h3>type: <a href="#td-with-text_0">td-with-text</a><br><br>
8534: </li>
8535: </ul>
8536:
8537:
8538: </div>
8539: <hr>
8540: <a name="html-align_0"></a><h3>Simple type <span class="nomtitre">html-align</span>
8541: </h3>
8542: Value restriction based on xs:string<ul>
8543: <li><tt>left</tt></li>
8544: <li><tt>center</tt></li>
8545: <li><tt>right</tt></li>
8546: <li><tt>justify</tt></li>
8547: </ul>
8548: <hr>
8549: <a name="td-base_0"></a><h3>Complex type <span class="nomtitre">td-base</span>
8550: </h3>Can contain text<br><div class="indentation">
8551:
1.2 ! damieng 8552: <div class="documentation"> Table cell
1.1 damieng 8553: </div>
8554:
8555: <a href="#coreattrs_0">coreattrs</a><br><br>
8556: Attribute <span class="nomattribut">colspan</span>:
8557: <div class="indentation">optional<br>type: <tt>xs:int</tt><br>
8558:
1.2 ! damieng 8559: <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 8560: </div>
8561:
8562: </div>
8563: Attribute <span class="nomattribut">rowspan</span>:
8564: <div class="indentation">optional<br>type: <tt>xs:int</tt><br>
8565:
1.2 ! damieng 8566: <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 8567: </div>
8568:
8569: </div>
8570: Attribute <span class="nomattribut">align</span>:
8571: <div class="indentation">optional<br>type: <a href="#html-align_0">html-align</a><br>
8572: </div>
8573: Attribute <span class="nomattribut">TeXwidth</span>:
8574: <div class="indentation">optional<br>
8575:
1.2 ! damieng 8576: <div class="documentation"> Width of the cell in mm or another unit (cm, in, pt, pc)
1.1 damieng 8577: </div>
8578:
8579:
1.2 ! damieng 8580: Union of types<ul>
! 8581: <li><a href="#perl_0">perl</a></li>
! 8582: <li>
1.1 damieng 8583: Value restriction based on xs:string<ul>
8584: <li><tt>\d*(\s+(mm|cm|in|pt|pc))?</tt></li>
8585: </ul>
1.2 ! damieng 8586: </li>
! 8587: </ul>
1.1 damieng 8588:
8589: </div>
8590: </div>
8591: <hr>
8592: <a name="td-with-parts_0"></a><h3>Complex type <span class="nomtitre">td-with-parts</span>
8593: </h3>Can contain text<br><div class="indentation">
8594:
8595:
8596: Choice between:<ul><li>
8597: <a href="#text-with-parts_0">text-with-parts</a><br>
8598: </li></ul>
8599:
8600:
8601: </div>
8602: <hr>
8603: <a name="td-with-responses_0"></a><h3>Complex type <span class="nomtitre">td-with-responses</span>
8604: </h3>Can contain text<br><div class="indentation">
8605:
8606:
8607: Choice between:<ul><li>
8608: <a href="#text-with-responses_0">text-with-responses</a><br>
8609: </li></ul>
8610:
8611:
8612: </div>
8613: <hr>
8614: <a name="td-with-text_0"></a><h3>Complex type <span class="nomtitre">td-with-text</span>
8615: </h3>Can contain text<br><div class="indentation">
8616:
8617:
8618: Choice between:<ul><li>
8619: <a href="#text-only_0">text-only</a><br>
8620: </li></ul>
8621:
8622:
8623: </div>
8624: <hr>
8625: <a name="th_0"></a><h3>Element <span class="nomtitre">th</span>
8626: </h3>
8627:
1.2 ! damieng 8628: <div class="documentation"> Table header cell
1.1 damieng 8629: </div>
8630:
8631: Can contain text<br><div class="indentation">
8632: Choice between:<ul><li>
8633: <a href="#text-only_0">text-only</a><br>
8634: </li></ul>
8635: <a href="#coreattrs_0">coreattrs</a><br><br>
8636: Attribute <span class="nomattribut">colspan</span>:
8637: <div class="indentation">optional<br>type: <tt>xs:int</tt><br>
8638:
1.2 ! damieng 8639: <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 8640: </div>
8641:
8642: </div>
8643: Attribute <span class="nomattribut">rowspan</span>:
8644: <div class="indentation">optional<br>type: <tt>xs:int</tt><br>
8645:
1.2 ! damieng 8646: <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 8647: </div>
8648:
8649: </div>
8650: Attribute <span class="nomattribut">align</span>:
8651: <div class="indentation">optional<br>type: <a href="#html-align_0">html-align</a><br>
8652: </div>
8653: Attribute <span class="nomattribut">scope</span>:
8654: <div class="indentation">optional<br>
8655:
1.2 ! damieng 8656: <div class="documentation"> defines the cells that the header defined in this <th> element relates to
1.1 damieng 8657: </div>
8658:
8659:
8660: Value restriction based on xs:token<ul>
8661: <li><tt>row</tt></li>
8662: <li><tt>col</tt></li>
8663: <li><tt>rowgroup</tt></li>
8664: <li><tt>colgroup</tt></li>
8665: </ul>
8666:
8667: </div>
8668: Attribute <span class="nomattribut">TeXwidth</span>:
8669: <div class="indentation">optional<br>
8670:
1.2 ! damieng 8671: <div class="documentation"> Width of the cell in mm or another unit (cm, in, pt, pc)
1.1 damieng 8672: </div>
8673:
8674:
1.2 ! damieng 8675: Union of types<ul>
! 8676: <li><a href="#perl_0">perl</a></li>
! 8677: <li>
1.1 damieng 8678: Value restriction based on xs:string<ul>
8679: <li><tt>\d*(\s+(mm|cm|in|pt|pc))?</tt></li>
8680: </ul>
1.2 ! damieng 8681: </li>
! 8682: </ul>
1.1 damieng 8683:
8684: </div>
8685: </div>
8686: <br><br><hr>
8687: <a name="span_0"></a><h3>Element <span class="nomtitre">span</span>
8688: </h3>
8689:
1.2 ! damieng 8690: <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 8691: </div>
8692:
8693: Can contain text<br><div class="indentation">
8694: Choice between:<ul><li>
8695: <a href="#inlines_0">inlines</a><br>
8696: </li></ul>
8697: <a href="#coreattrs_0">coreattrs</a><br><br>
8698: </div>
1.2 ! damieng 8699: <br>Parents: <a href="#inlines_0">inlines</a><br><hr>
1.1 damieng 8700: <a name="a_0"></a><h3>Element <span class="nomtitre">a</span>
8701: </h3>
8702:
1.2 ! damieng 8703: <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 8704: </div>
8705:
8706: Can contain text<br><div class="indentation">
8707: Choice between:<ul><li>
8708: <a href="#inlines_0">inlines</a><br>
8709: </li></ul>
8710: <a href="#coreattrs_0">coreattrs</a><br><br>
8711: Attribute <span class="nomattribut">name</span>:
8712: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
8713:
1.2 ! damieng 8714: <div class="documentation"> HTML 4 only, Obsolete since HTML5.
1.1 damieng 8715:
8716: 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.
8717:
8718: Usage note: This attribute is obsolete in HTML5, use global attribute id instead.
8719: </div>
8720:
8721: </div>
8722: Attribute <span class="nomattribut">href</span>:
8723: <div class="indentation">optional<br>type: <tt>xs:anyURI</tt><br>
8724:
1.2 ! damieng 8725: <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 8726:
8727: 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.
8728: </div>
8729:
8730: </div>
8731: Attribute <span class="nomattribut">target</span>:
8732: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
8733:
1.2 ! damieng 8734: <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 8735:
8736: * _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.
8737: * _blank: Load the response into a new unnamed HTML4 window or HTML5 browsing context.
8738: * _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.
8739: * _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.
8740:
8741: Use this attribute only if the href attribute is present.
8742: </div>
8743:
8744: </div>
8745: Attribute <span class="nomattribut">title</span>:
8746: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
8747:
1.2 ! damieng 8748: <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 8749: </div>
8750:
8751: </div>
8752: Attribute <span class="nomattribut">rel</span>:
8753: <div class="indentation">optional<br>type: <tt>xs:NMTOKENS</tt><br>
8754:
1.2 ! damieng 8755: <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 8756: </div>
8757:
8758: </div>
8759: Attribute <span class="nomattribut">accesskey</span>:
8760: <div class="indentation">optional<br>
8761:
1.2 ! damieng 8762: <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 8763: </div>
8764:
8765:
8766: Value restriction based on xs:string<ul>
8767:
8768: </ul>
8769:
8770: </div>
8771: Attribute <span class="nomattribut">onclick</span>:
8772: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
8773:
1.2 ! damieng 8774: <div class="documentation"> Javascript event handler content attribute for the "click" event.
1.1 damieng 8775:
8776: 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.
8777:
8778: The EventTarget.addEventListener() function should be used instead to add a listener for the event.
8779: </div>
8780:
8781: </div>
8782: Attribute <span class="nomattribut">uriprint</span>:
8783: <div class="indentation">optional<br>
8784:
1.2 ! damieng 8785: <div class="documentation"> Attribute specific to LON-CAPA.
1.1 damieng 8786: Display the href attribute when printing.
8787: </div>
8788:
8789:
8790: Value restriction based on xs:string<ul>
8791: <li><tt>on</tt></li>
8792: <li><tt>uriprint</tt></li>
8793: <li><tt>yes</tt></li>
8794: <li><tt>1</tt></li>
8795: </ul>
8796:
8797: </div>
8798: Attribute <span class="nomattribut">anchorprint</span>:
8799: <div class="indentation">optional<br>
8800:
1.2 ! damieng 8801: <div class="documentation"> Attribute specific to LON-CAPA.
1.1 damieng 8802: Display the name attribute when printing.
8803: </div>
8804:
8805:
8806: Value restriction based on xs:string<ul>
8807: <li><tt>on</tt></li>
8808: <li><tt>anchorprint</tt></li>
8809: <li><tt>yes</tt></li>
8810: <li><tt>1</tt></li>
8811: </ul>
8812:
8813: </div>
8814: </div>
1.2 ! damieng 8815: <br>Parents: <a href="#inlines_0">inlines</a><br><hr>
1.1 damieng 8816: <a name="em_0"></a><h3>Element <span class="nomtitre">em</span>
8817: </h3>type: <a href="#inlineBaseType_0">inlineBaseType</a><br>
8818:
1.2 ! damieng 8819: <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 8820: </div>
8821:
1.2 ! damieng 8822: <br>Parents: <a href="#inlines_0">inlines</a><br><hr>
1.1 damieng 8823: <a name="strong_0"></a><h3>Element <span class="nomtitre">strong</span>
8824: </h3>type: <a href="#inlineBaseType_0">inlineBaseType</a><br>
8825:
1.2 ! damieng 8826: <div class="documentation"> The HTML Strong Element (<strong>) gives text strong importance, and is typically displayed in bold.
1.1 damieng 8827: </div>
8828:
1.2 ! damieng 8829: <br>Parents: <a href="#inlines_0">inlines</a><br><hr>
1.1 damieng 8830: <a name="b_0"></a><h3>Element <span class="nomtitre">b</span>
8831: </h3>type: <a href="#inlineBaseType_0">inlineBaseType</a><br>
8832:
1.2 ! damieng 8833: <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 8834: </div>
8835:
1.2 ! damieng 8836: <br>Parents: <a href="#inlines_0">inlines</a><br><hr>
1.1 damieng 8837: <a name="i_0"></a><h3>Element <span class="nomtitre">i</span>
8838: </h3>type: <a href="#inlineBaseType_0">inlineBaseType</a><br>
8839:
1.2 ! damieng 8840: <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 8841: </div>
8842:
1.2 ! damieng 8843: <br>Parents: <a href="#inlines_0">inlines</a><br><hr>
1.1 damieng 8844: <a name="sup_0"></a><h3>Element <span class="nomtitre">sup</span>
8845: </h3>type: <a href="#inlineBaseType_0">inlineBaseType</a><br>
8846:
1.2 ! damieng 8847: <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 8848: </div>
8849:
1.2 ! damieng 8850: <br>Parents: <a href="#inlines_0">inlines</a><br><hr>
1.1 damieng 8851: <a name="sub_0"></a><h3>Element <span class="nomtitre">sub</span>
8852: </h3>type: <a href="#inlineBaseType_0">inlineBaseType</a><br>
8853:
1.2 ! damieng 8854: <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 8855: </div>
8856:
1.2 ! damieng 8857: <br>Parents: <a href="#inlines_0">inlines</a><br><hr>
1.1 damieng 8858: <a name="pre_0"></a><h3>Element <span class="nomtitre">pre</span>
8859: </h3>
8860:
1.2 ! damieng 8861: <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 8862: </div>
8863:
8864: Can contain text<br><div class="indentation">
8865: Choice between:<ul><li>
8866: <a href="#inlines_0">inlines</a><br>
8867: </li></ul>
8868: Attribute <span class="nomattribut"></span>:
8869: <div class="indentation">optional<br>
8870: </div>
8871: </div>
1.2 ! damieng 8872: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a><br><hr>
1.1 damieng 8873: <a name="code_0"></a><h3>Element <span class="nomtitre">code</span>
8874: </h3>type: <a href="#inlineBaseType_0">inlineBaseType</a><br>
8875:
1.2 ! damieng 8876: <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 8877: </div>
8878:
1.2 ! damieng 8879: <br>Parents: <a href="#inlines_0">inlines</a><br><hr>
1.1 damieng 8880: <a name="kbd_0"></a><h3>Element <span class="nomtitre">kbd</span>
8881: </h3>type: <a href="#inlineBaseType_0">inlineBaseType</a><br>
8882:
1.2 ! damieng 8883: <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 8884: </div>
8885:
1.2 ! damieng 8886: <br>Parents: <a href="#inlines_0">inlines</a><br><hr>
1.1 damieng 8887: <a name="samp_0"></a><h3>Element <span class="nomtitre">samp</span>
8888: </h3>type: <a href="#inlineBaseType_0">inlineBaseType</a><br>
8889:
1.2 ! damieng 8890: <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 8891: </div>
8892:
1.2 ! damieng 8893: <br>Parents: <a href="#inlines_0">inlines</a><br><hr>
1.1 damieng 8894: <a name="cite_0"></a><h3>Element <span class="nomtitre">cite</span>
8895: </h3>type: <a href="#inlineBaseType_0">inlineBaseType</a><br>
8896:
1.2 ! damieng 8897: <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 8898:
8899: Usage Notes:
8900:
8901: 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.
8902: Use the cite attribute on a <blockquote> or <q> element to reference an online resource for a source.
8903:
8904:
8905: Style note:
8906:
8907: To avoid the default italic style from being used for the <cite> element use the CSS font-style property.
8908: </div>
8909:
1.2 ! damieng 8910: <br>Parents: <a href="#inlines_0">inlines</a><br><hr>
1.1 damieng 8911: <a name="q_0"></a><h3>Element <span class="nomtitre">q</span>
8912: </h3>
8913:
1.2 ! damieng 8914: <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 8915: </div>
8916:
8917: Can contain text<br><div class="indentation">
8918: Choice between:<ul><li>
8919: <a href="#inlines_0">inlines</a><br>
8920: </li></ul>
8921: Attribute <span class="nomattribut">cite</span>:
8922: <div class="indentation">optional<br>type: <tt>xs:anyURI</tt><br>
8923:
1.2 ! damieng 8924: <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 8925: </div>
8926:
8927: </div>
8928: </div>
1.2 ! damieng 8929: <br>Parents: <a href="#inlines_0">inlines</a><br><hr>
1.1 damieng 8930: <a name="tt_0"></a><h3>Element <span class="nomtitre">tt</span>
8931: </h3>type: <a href="#inlineBaseType_0">inlineBaseType</a><br>
8932:
1.2 ! damieng 8933: <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 8934:
8935: 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.
8936: </div>
8937:
1.2 ! damieng 8938: <br>Parents: <a href="#inlines_0">inlines</a><br><hr>
1.1 damieng 8939: <a name="ins_0"></a><h3>Element <span class="nomtitre">ins</span>
8940: </h3>
8941:
1.2 ! damieng 8942: <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 8943: </div>
8944:
8945: Can contain text<br><div class="indentation">
8946:
8947:
8948: Attribute <span class="nomattribut">cite</span>:
8949: <div class="indentation">optional<br>type: <tt>xs:anyURI</tt><br>
8950: </div>
8951: Attribute <span class="nomattribut">datetime</span>:
8952: <div class="indentation">optional<br>type: <tt>xs:dateTime</tt><br>
8953: </div>
8954:
8955:
8956: </div>
1.2 ! damieng 8957: <br>Parents: <a href="#inlines_0">inlines</a><br><hr>
1.1 damieng 8958: <a name="del_0"></a><h3>Element <span class="nomtitre">del</span>
8959: </h3>
8960:
1.2 ! damieng 8961: <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 8962: </div>
8963:
8964: Can contain text<br><div class="indentation">
8965:
8966:
8967: Attribute <span class="nomattribut">cite</span>:
8968: <div class="indentation">optional<br>type: <tt>xs:anyURI</tt><br>
8969: </div>
8970: Attribute <span class="nomattribut">datetime</span>:
8971: <div class="indentation">optional<br>type: <tt>xs:dateTime</tt><br>
8972: </div>
8973:
8974:
8975: </div>
1.2 ! damieng 8976: <br>Parents: <a href="#inlines_0">inlines</a><br><hr>
1.1 damieng 8977: <a name="var_0"></a><h3>Element <span class="nomtitre">var</span>
8978: </h3>type: <a href="#inlineBaseType_0">inlineBaseType</a><br>
8979:
1.2 ! damieng 8980: <div class="documentation"> The HTML Variable Element (<var>) represents a variable in a mathematical expression or a programming context.
1.1 damieng 8981: </div>
8982:
1.2 ! damieng 8983: <br>Parents: <a href="#inlines_0">inlines</a><br><hr>
1.1 damieng 8984: <a name="small_0"></a><h3>Element <span class="nomtitre">small</span>
8985: </h3>type: <a href="#inlineBaseType_0">inlineBaseType</a><br>
8986:
1.2 ! damieng 8987: <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 8988: </div>
8989:
1.2 ! damieng 8990: <br>Parents: <a href="#inlines_0">inlines</a><br><hr>
1.1 damieng 8991: <a name="big_0"></a><h3>Element <span class="nomtitre">big</span>
8992: </h3>type: <a href="#inlineBaseType_0">inlineBaseType</a><br>
8993:
1.2 ! damieng 8994: <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 8995: </div>
8996:
1.2 ! damieng 8997: <br>Parents: <a href="#inlines_0">inlines</a><br><hr>
1.1 damieng 8998: <a name="br_0"></a><h3>Element <span class="nomtitre">br</span>
8999: </h3>
9000:
1.2 ! damieng 9001: <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 9002: </div>
9003:
9004: <div class="indentation">
9005: </div>
1.2 ! damieng 9006: <br>Parents: <a href="#inlines_0">inlines</a><br><hr>
1.1 damieng 9007: <a name="hr_0"></a><h3>Element <span class="nomtitre">hr</span>
9008: </h3>
9009:
1.2 ! damieng 9010: <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 9011: </div>
9012:
9013: <div class="indentation">
9014: <a href="#coreattrs_0">coreattrs</a><br><br>
9015: </div>
1.2 ! damieng 9016: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a><br><hr>
1.1 damieng 9017: <a name="address_0"></a><h3>Element <span class="nomtitre">address</span>
9018: </h3>
9019:
1.2 ! damieng 9020: <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 9021: </div>
9022:
9023: Can contain text<br><div class="indentation">
9024: Choice between:<ul><li>
9025: <a href="#text-only_0">text-only</a><br>
9026: </li></ul>
9027: <a href="#coreattrs_0">coreattrs</a><br><br>
9028: </div>
1.2 ! damieng 9029: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a><br><hr>
1.1 damieng 9030: <a name="blockquote_0"></a><h3>Element <span class="nomtitre">blockquote</span>
9031: </h3>
9032:
1.2 ! damieng 9033: <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 9034: </div>
9035:
9036: Can contain text<br><div class="indentation">
9037: Choice between:<ul><li>
9038: <a href="#text-only_0">text-only</a><br>
9039: </li></ul>
9040: <a href="#coreattrs_0">coreattrs</a><br><br>
9041: Attribute <span class="nomattribut">cite</span>:
9042: <div class="indentation">optional<br>type: <tt>xs:anyURI</tt><br>
9043: </div>
9044: Attribute <span class="nomattribut">align</span>:
9045: <div class="indentation">optional<br>
9046:
9047: Value restriction based on xs:string<ul>
9048: <li><tt>center</tt></li>
9049: <li><tt>left</tt></li>
9050: <li><tt>right</tt></li>
9051: </ul>
9052:
9053: </div>
9054: </div>
1.2 ! damieng 9055: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a><br><hr>
1.1 damieng 9056: <a name="htmlLength_0"></a><h3>Simple type <span class="nomtitre">htmlLength</span>
9057: </h3>
9058:
1.2 ! damieng 9059: <div class="documentation"> nn for pixels or nn% for percentage length
1.1 damieng 9060: </div>
9061:
9062: Value restriction based on xs:string<ul>
9063: <li><tt>[\-+]?(\d+|\d+(\.\d+)?%)</tt></li>
9064: </ul>
9065: <hr>
9066: <a name="htmlLength-or-perl_0"></a><h3>Simple type <span class="nomtitre">htmlLength-or-perl</span>
9067: </h3>
1.2 ! damieng 9068: Union of types<ul>
! 9069: <li><a href="#htmlLength_0">htmlLength</a></li>
! 9070: <li><a href="#perl_0">perl</a></li>
! 9071: </ul>
1.1 damieng 9072: <hr>
9073: <a name="img_0"></a><h3>Element <span class="nomtitre">img</span>
9074: </h3>
9075:
1.2 ! damieng 9076: <div class="documentation"> The HTML <img> Element (or HTML Image Element) represents an image of the document.
1.1 damieng 9077:
9078: Usage note:
9079: 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.
9080: </div>
9081:
9082: <div class="indentation">
9083: <a href="#coreattrs_0">coreattrs</a><br><br>
9084: Attribute <span class="nomattribut">src</span>:
9085: <div class="indentation">required<br>type: <tt>xs:anyURI</tt><br>
9086:
1.2 ! damieng 9087: <div class="documentation"> Image URL.
1.1 damieng 9088: On browsers supporting srcset, src is ignored if this one is provided.
9089: </div>
9090:
9091: </div>
9092: Attribute <span class="nomattribut">alt</span>:
9093: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
9094:
1.2 ! damieng 9095: <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 9096:
9097: 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.
9098: </div>
9099:
9100: </div>
9101: Attribute <span class="nomattribut">width</span>:
9102: <div class="indentation">optional<br>type: <a href="#htmlLength-or-perl_0">htmlLength-or-perl</a><br>
9103:
1.2 ! damieng 9104: <div class="documentation"> The width of the image in pixels or percent.
1.1 damieng 9105: </div>
9106:
9107: </div>
9108: Attribute <span class="nomattribut">height</span>:
9109: <div class="indentation">optional<br>type: <a href="#htmlLength-or-perl_0">htmlLength-or-perl</a><br>
9110:
1.2 ! damieng 9111: <div class="documentation"> The height of the image in pixels or percent.
1.1 damieng 9112: </div>
9113:
9114: </div>
9115: Attribute <span class="nomattribut">TeXwidth</span>:
9116: <div class="indentation">optional<br>
9117:
1.2 ! damieng 9118: <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 9119: </div>
9120:
9121:
1.2 ! damieng 9122: Union of types<ul>
! 9123: <li><a href="#perl_0">perl</a></li>
! 9124: <li>
1.1 damieng 9125: Value restriction based on xs:string<ul>
9126: <li><tt>[0-9]+(\.[0-9]+)?(\s*%)?</tt></li>
9127: </ul>
1.2 ! damieng 9128: </li>
! 9129: </ul>
1.1 damieng 9130:
9131: </div>
9132: Attribute <span class="nomattribut">TeXheight</span>:
9133: <div class="indentation">optional<br>type: <a href="#decimal-or-perl_0">decimal-or-perl</a><br>
9134:
1.2 ! damieng 9135: <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 9136: </div>
9137:
9138: </div>
9139: Attribute <span class="nomattribut">align</span>:
9140: <div class="indentation">optional<br>
9141:
1.2 ! damieng 9142: <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 9143:
9144: Specifies the alignment of the image relative to the enclosing text paragraph:
9145: - bottom: The image will be aligned so that its bottom will be at the baseline of the surrounding text.
9146: - middle: The image will be aligned so that its center-line will be at the baseline of the surrounding text.
9147: - top: The image will be aligned so that its top will be at the baseline of the surrounding text.
9148: - 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.
9149: - 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.
9150: </div>
9151:
9152:
1.2 ! damieng 9153: Union of types<ul>
! 9154: <li><a href="#perl_0">perl</a></li>
! 9155: <li>
1.1 damieng 9156: Value restriction based on xs:string<ul>
9157: <li><tt>bottom</tt></li>
9158: <li><tt>middle</tt></li>
9159: <li><tt>top</tt></li>
9160: <li><tt>left</tt></li>
9161: <li><tt>right</tt></li>
9162: </ul>
1.2 ! damieng 9163: </li>
! 9164: </ul>
1.1 damieng 9165:
9166: </div>
9167: Attribute <span class="nomattribut">TeXwrap</span>:
9168: <div class="indentation">optional<br>
9169:
1.2 ! damieng 9170: <div class="documentation"> Allows you to select how the LaTeX document will attempt to wrap text around a horizontally aligned image.
1.1 damieng 9171: 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.
9172: 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.
9173: 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.
9174: </div>
9175:
9176:
1.2 ! damieng 9177: Union of types<ul>
! 9178: <li><a href="#perl_0">perl</a></li>
! 9179: <li>
1.1 damieng 9180: Value restriction based on xs:string<ul>
9181: <li><tt>none</tt></li>
9182: <li><tt>parbox</tt></li>
9183: <li><tt>parpic</tt></li>
9184: <li><tt>wrapfigure</tt></li>
9185: </ul>
1.2 ! damieng 9186: </li>
! 9187: </ul>
1.1 damieng 9188:
9189: </div>
9190: Attribute <span class="nomattribut">encrypturl</span>:
9191: <div class="indentation">optional<br>type: <a href="#yesno-or-perl_0">yesno-or-perl</a><br>
9192: </div>
9193: </div>
1.2 ! damieng 9194: <br>Parents: <a href="#inlines_0">inlines</a><br><hr>
1.1 damieng 9195: <a name="figure_0"></a><h3>Element <span class="nomtitre">figure</span>
9196: </h3>
9197:
1.2 ! damieng 9198: <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 9199:
9200: Usage note: A caption can be associated with the <figure> element by inserting a <figcaption> inside it (as the first or the last child).
9201: </div>
9202:
9203: Can contain text<br><div class="indentation">
9204: Choice between:<ul>
9205: <li>Sequence with:<ul>
9206: <li>
9207: <a href="#figcaption_0">figcaption</a><br>
9208: </li>
9209: <li>Choice between:<ul><li>
9210: <a href="#text-only_0">text-only</a><br>
9211: </li></ul>
9212: </li>
9213: </ul>
9214: </li>
9215: <li>Sequence with:<ul>
9216: <li>Choice between:<ul><li>
9217: <a href="#text-only_0">text-only</a><br>
9218: </li></ul>
9219: </li>
9220: <li>
9221: <a href="#figcaption_0">figcaption</a><br>
9222: </li>
9223: </ul>
9224: </li>
9225: </ul>
9226: <a href="#coreattrs_0">coreattrs</a><br><br>
9227: </div>
1.2 ! damieng 9228: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a><br><hr>
1.1 damieng 9229: <a name="figcaption_0"></a><h3>Element <span class="nomtitre">figcaption</span>
9230: </h3>
9231:
1.2 ! damieng 9232: <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 9233: </div>
9234:
9235: Can contain text<br><div class="indentation">
9236: Choice between:<ul><li>
9237: <a href="#text-only_0">text-only</a><br>
9238: </li></ul>
9239: </div>
1.2 ! damieng 9240: <br>Parents: <a href="#figure_0">figure</a><br><hr>
1.1 damieng 9241: <a name="object_0"></a><h3>Element <span class="nomtitre">object</span>
9242: </h3>
9243:
1.2 ! damieng 9244: <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 9245: </div>
9246:
9247: Can contain text<br><div class="indentation">
9248: Choice between:<ul>
9249: <li>
9250: <a href="#param_0">param</a><br>
9251: </li>
9252: <li>
9253: <a href="#text-only_0">text-only</a><br>
9254: </li>
9255: </ul>
9256: <a href="#coreattrs_0">coreattrs</a><br><br>
9257: Attribute <span class="nomattribut">classid</span>:
9258: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
9259:
1.2 ! damieng 9260: <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 9261: Obsolete since HTML5.
9262: </div>
9263:
9264: </div>
9265: Attribute <span class="nomattribut">codebase</span>:
9266: <div class="indentation">optional<br>type: <tt>xs:anyURI</tt><br>
9267:
1.2 ! damieng 9268: <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 9269: Obsolete since HTML5.
9270: </div>
9271:
9272: </div>
9273: Attribute <span class="nomattribut">data</span>:
9274: <div class="indentation">optional<br>type: <tt>xs:anyURI</tt><br>
9275:
1.2 ! damieng 9276: <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 9277: </div>
9278:
9279: </div>
9280: Attribute <span class="nomattribut">type</span>:
9281: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
9282:
1.2 ! damieng 9283: <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 9284: </div>
9285:
9286: </div>
9287: Attribute <span class="nomattribut">codetype</span>:
9288: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
9289:
1.2 ! damieng 9290: <div class="documentation"> The content type of the data specified by classid.
1.1 damieng 9291: Obsolete since HTML5.
9292: </div>
9293:
9294: </div>
9295: Attribute <span class="nomattribut">archive</span>:
9296: <div class="indentation">optional<br>
9297:
1.2 ! damieng 9298: <div class="documentation"> A space-separated list of URIs for archives of resources for the object.
1.1 damieng 9299: Obsolete since HTML5.
9300: </div>
9301:
9302:
9303:
9304:
9305: </div>
9306: Attribute <span class="nomattribut">standby</span>:
9307: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
9308:
1.2 ! damieng 9309: <div class="documentation"> A message that the browser can show while loading the object's implementation and data.
1.1 damieng 9310: Obsolete since HTML5.
9311: </div>
9312:
9313: </div>
9314: Attribute <span class="nomattribut">width</span>:
9315: <div class="indentation">optional<br>type: <a href="#htmlLength-or-perl_0">htmlLength-or-perl</a><br>
9316:
1.2 ! damieng 9317: <div class="documentation"> The width of the display resource, in CSS pixels.
1.1 damieng 9318: </div>
9319:
9320: </div>
9321: Attribute <span class="nomattribut">height</span>:
9322: <div class="indentation">optional<br>type: <a href="#htmlLength-or-perl_0">htmlLength-or-perl</a><br>
9323:
1.2 ! damieng 9324: <div class="documentation"> The height of the displayed resource, in CSS pixels.
1.1 damieng 9325: </div>
9326:
9327: </div>
9328: Attribute <span class="nomattribut">usemap</span>:
9329: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
9330:
1.2 ! damieng 9331: <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 9332: </div>
9333:
9334: </div>
9335: Attribute <span class="nomattribut">name</span>:
9336: <div class="indentation">optional<br>type: <tt>xs:NMTOKEN</tt><br>
9337:
1.2 ! damieng 9338: <div class="documentation"> The name of valid browsing context (HTML5), or the name of the control (HTML 4).
1.1 damieng 9339: </div>
9340:
9341: </div>
9342: </div>
1.2 ! damieng 9343: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a><br><hr>
1.1 damieng 9344: <a name="param_0"></a><h3>Element <span class="nomtitre">param</span>
9345: </h3>
9346:
1.2 ! damieng 9347: <div class="documentation"> The HTML <param> element is used to supply a named property value.
1.1 damieng 9348: </div>
9349:
9350: <div class="indentation">
9351: Attribute <span class="nomattribut">id</span>:
9352: <div class="indentation">optional<br>type: <tt>xs:ID</tt><br>
9353: </div>
9354: Attribute <span class="nomattribut">name</span>:
9355: <div class="indentation">optional<br>
9356:
1.2 ! damieng 9357: <div class="documentation"> Name of the parameter.
1.1 damieng 9358: </div>
9359:
9360: </div>
9361: Attribute <span class="nomattribut">value</span>:
9362: <div class="indentation">optional<br>
9363:
1.2 ! damieng 9364: <div class="documentation"> Specifies the value of the parameter.
1.1 damieng 9365: </div>
9366:
9367: </div>
9368: Attribute <span class="nomattribut">valuetype</span>:
9369: <div class="indentation">optional<br>
9370:
1.2 ! damieng 9371: <div class="documentation"> Obsolete in HTML5.
1.1 damieng 9372:
9373: Specifies the type of the value attribute.
9374: </div>
9375:
9376:
9377: Value restriction based on xs:token<ul>
9378: <li><tt>data</tt></li>
9379: <li><tt>ref</tt></li>
9380: <li><tt>object</tt></li>
9381: </ul>
9382:
9383: </div>
9384: Attribute <span class="nomattribut">type</span>:
9385: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
9386:
1.2 ! damieng 9387: <div class="documentation"> Obsolete in HTML5.
1.1 damieng 9388:
9389: Only used if the valuetype is set to "ref". Specifies the MIME type of values found at the URI specified by value.
9390: </div>
9391:
9392: </div>
9393: </div>
1.2 ! damieng 9394: <br>Parents: <a href="#object_0">object</a>, <a href="#applet_0">applet</a><br><hr>
1.1 damieng 9395: <a name="embed_0"></a><h3>Element <span class="nomtitre">embed</span>
9396: </h3>
9397:
1.2 ! damieng 9398: <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 9399: </div>
9400:
9401: <div class="indentation">
9402: Attribute <span class="nomattribut">id</span>:
9403: <div class="indentation">optional<br>type: <tt>xs:ID</tt><br>
9404: </div>
9405: Attribute <span class="nomattribut">src</span>:
9406: <div class="indentation">optional<br>type: <tt>xs:anyURI</tt><br>
9407:
1.2 ! damieng 9408: <div class="documentation"> The URL of the resource being embedded.
1.1 damieng 9409: </div>
9410:
9411: </div>
9412: Attribute <span class="nomattribut">type</span>:
9413: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
9414:
1.2 ! damieng 9415: <div class="documentation"> The MIME type to use to select the plug-in to instantiate.
1.1 damieng 9416: </div>
9417:
9418: </div>
9419: Attribute <span class="nomattribut">width</span>:
9420: <div class="indentation">optional<br>type: <a href="#non-negative-int-or-perl_0">non-negative-int-or-perl</a><br>
9421:
1.2 ! damieng 9422: <div class="documentation"> The displayed width of the resource, in CSS pixels.
1.1 damieng 9423: </div>
9424:
9425: </div>
9426: Attribute <span class="nomattribut">height</span>:
9427: <div class="indentation">optional<br>type: <a href="#non-negative-int-or-perl_0">non-negative-int-or-perl</a><br>
9428:
1.2 ! damieng 9429: <div class="documentation"> The displayed height of the resource, in CSS pixels.
1.1 damieng 9430: </div>
9431:
9432: </div>
9433: </div>
1.2 ! damieng 9434: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a><br><hr>
1.1 damieng 9435: <a name="applet_0"></a><h3>Element <span class="nomtitre">applet</span>
9436: </h3>
9437:
1.2 ! damieng 9438: <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 9439: </div>
9440:
9441: Can contain text<br><div class="indentation">
9442: Choice between:<ul>
9443: <li>
9444: <a href="#param_0">param</a><br>
9445: </li>
9446: <li>
9447: <a href="#text-only_0">text-only</a><br>
9448: </li>
9449: </ul>
9450: Attribute <span class="nomattribut">id</span>:
9451: <div class="indentation">optional<br>type: <tt>xs:ID</tt><br>
9452: </div>
9453: Attribute <span class="nomattribut">codebase</span>:
9454: <div class="indentation">optional<br>type: <tt>xs:anyURI</tt><br>
9455: </div>
9456: Attribute <span class="nomattribut">archive</span>:
9457: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
9458:
1.2 ! damieng 9459: <div class="documentation"> Comma-separated list of URIs for archives containing classes and other resources that will be "preloaded".
1.1 damieng 9460: </div>
9461:
9462: </div>
9463: Attribute <span class="nomattribut">code</span>:
9464: <div class="indentation">optional<br>
9465: </div>
9466: Attribute <span class="nomattribut">object</span>:
9467: <div class="indentation">optional<br>
9468: </div>
9469: Attribute <span class="nomattribut">alt</span>:
9470: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
9471: </div>
9472: Attribute <span class="nomattribut">name</span>:
9473: <div class="indentation">optional<br>type: <tt>xs:NMTOKEN</tt><br>
9474: </div>
9475: Attribute <span class="nomattribut">width</span>:
9476: <div class="indentation">required<br>type: <a href="#non-negative-int-or-perl_0">non-negative-int-or-perl</a><br>
9477: </div>
9478: Attribute <span class="nomattribut">height</span>:
9479: <div class="indentation">required<br>type: <a href="#non-negative-int-or-perl_0">non-negative-int-or-perl</a><br>
9480: </div>
9481: Attribute <span class="nomattribut">align</span>:
9482: <div class="indentation">optional<br>
9483:
9484: Value restriction based on xs:token<ul>
9485: <li><tt>top</tt></li>
9486: <li><tt>middle</tt></li>
9487: <li><tt>bottom</tt></li>
9488: <li><tt>left</tt></li>
9489: <li><tt>right</tt></li>
9490: </ul>
9491:
9492: </div>
9493: Attribute <span class="nomattribut">hspace</span>:
9494: <div class="indentation">optional<br>type: <tt>xs:nonNegativeInteger</tt><br>
9495: </div>
9496: Attribute <span class="nomattribut">vspace</span>:
9497: <div class="indentation">optional<br>type: <tt>xs:nonNegativeInteger</tt><br>
9498: </div>
9499: </div>
1.2 ! damieng 9500: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a><br><hr>
1.1 damieng 9501: <a name="video_0"></a><h3>Element <span class="nomtitre">video</span>
9502: </h3>
9503:
1.2 ! damieng 9504: <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 9505: </div>
9506:
9507: Can contain text<br><div class="indentation">
9508: Choice between:<ul><li>
9509: <a href="#source_0">source</a><br>
9510: </li></ul>
9511: <a href="#coreattrs_0">coreattrs</a><br><br>
9512: Attribute <span class="nomattribut">src</span>:
9513: <div class="indentation">optional<br>type: <tt>xs:anyURI</tt><br>
9514: </div>
9515: Attribute <span class="nomattribut">width</span>:
9516: <div class="indentation">optional<br>type: <a href="#non-negative-int-or-perl_0">non-negative-int-or-perl</a><br>
9517: </div>
9518: Attribute <span class="nomattribut">height</span>:
9519: <div class="indentation">optional<br>type: <a href="#non-negative-int-or-perl_0">non-negative-int-or-perl</a><br>
9520: </div>
9521: Attribute <span class="nomattribut">autoplay</span>:
9522: <div class="indentation">optional<br>
9523:
9524: Value restriction based on xs:string<ul>
9525: <li><tt>autoplay</tt></li>
9526: </ul>
9527:
9528: </div>
9529: Attribute <span class="nomattribut">controls</span>:
9530: <div class="indentation">optional<br>
9531:
9532: Value restriction based on xs:string<ul>
9533: <li><tt>controls</tt></li>
9534: </ul>
9535:
9536: </div>
9537: Attribute <span class="nomattribut">loop</span>:
9538: <div class="indentation">optional<br>
9539:
9540: Value restriction based on xs:string<ul>
9541: <li><tt>loop</tt></li>
9542: </ul>
9543:
9544: </div>
9545: </div>
1.2 ! damieng 9546: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a><br><hr>
1.1 damieng 9547: <a name="source_0"></a><h3>Element <span class="nomtitre">source</span>
9548: </h3>
9549:
1.2 ! damieng 9550: <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 9551: </div>
9552:
9553: <div class="indentation">
9554: Attribute <span class="nomattribut">src</span>:
9555: <div class="indentation">required<br>type: <tt>xs:anyURI</tt><br>
9556: </div>
9557: Attribute <span class="nomattribut">type</span>:
9558: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
9559: </div>
9560: </div>
1.2 ! damieng 9561: <br>Parents: <a href="#video_0">video</a>, <a href="#audio_0">audio</a><br><hr>
1.1 damieng 9562: <a name="audio_0"></a><h3>Element <span class="nomtitre">audio</span>
9563: </h3>
9564:
1.2 ! damieng 9565: <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 9566: </div>
9567:
9568: Can contain text<br><div class="indentation">
9569: Choice between:<ul><li>
9570: <a href="#source_0">source</a><br>
9571: </li></ul>
9572: <a href="#coreattrs_0">coreattrs</a><br><br>
9573: Attribute <span class="nomattribut">src</span>:
9574: <div class="indentation">optional<br>type: <tt>xs:anyURI</tt><br>
9575: </div>
9576: Attribute <span class="nomattribut">autoplay</span>:
9577: <div class="indentation">optional<br>
9578:
9579: Value restriction based on xs:string<ul>
9580: <li><tt>autoplay</tt></li>
9581: </ul>
9582:
9583: </div>
9584: Attribute <span class="nomattribut">controls</span>:
9585: <div class="indentation">optional<br>
9586:
9587: Value restriction based on xs:string<ul>
9588: <li><tt>controls</tt></li>
9589: </ul>
9590:
9591: </div>
9592: Attribute <span class="nomattribut">loop</span>:
9593: <div class="indentation">optional<br>
9594:
9595: Value restriction based on xs:string<ul>
9596: <li><tt>loop</tt></li>
9597: </ul>
9598:
9599: </div>
9600: </div>
1.2 ! damieng 9601: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a><br><hr>
1.1 damieng 9602:
9603: <a name="map_0"></a><h3>Element <span class="nomtitre">map</span>
9604: </h3>
9605:
1.2 ! damieng 9606: <div class="documentation"> The HTML <map> element is used with <area> elements to define an image map (a clickable link area).
1.1 damieng 9607: </div>
9608:
9609: <div class="indentation">
9610: Choice between:<ul>
9611: <li>Choice between:<ul><li>
9612: <a href="#blocks-with-text_0">blocks-with-text</a><br>
9613: </li></ul>
9614: </li>
9615: <li>
9616: <a href="#area_0">area</a><br>
9617: </li>
9618: </ul>
9619: Attribute <span class="nomattribut">id</span>:
9620: <div class="indentation">required<br>type: <tt>xs:ID</tt><br>
9621: </div>
9622: Attribute <span class="nomattribut">class</span>:
9623: <div class="indentation">optional<br>type: <tt>xs:NMTOKENS</tt><br>
9624: </div>
9625: Attribute <span class="nomattribut">style</span>:
9626: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
9627: </div>
9628: Attribute <span class="nomattribut">title</span>:
9629: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
9630: </div>
9631: Attribute <span class="nomattribut">name</span>:
9632: <div class="indentation">optional<br>type: <tt>xs:NMTOKEN</tt><br>
9633: </div>
9634: </div>
1.2 ! damieng 9635: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a><br><hr>
1.1 damieng 9636: <a name="area_0"></a><h3>Element <span class="nomtitre">area</span>
9637: </h3>
9638:
1.2 ! damieng 9639: <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 9640: </div>
9641:
9642: <div class="indentation">
9643: Attribute <span class="nomattribut">shape</span>:
9644: <div class="indentation">optional<br>
9645:
1.2 ! damieng 9646: <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 9647: Many browsers, notably Internet Explorer 4 and higher, support circ, polygon, and rectangle as valid values for shape; these values are *not standard*.
9648: </div>
9649:
9650:
9651: Value restriction based on xs:token<ul>
9652: <li><tt>rect</tt></li>
9653: <li><tt>circle</tt></li>
9654: <li><tt>poly</tt></li>
9655: <li><tt>default</tt></li>
9656: </ul>
9657:
9658: </div>
9659: Attribute <span class="nomattribut">coords</span>:
9660: <div class="indentation">optional<br>
9661:
1.2 ! damieng 9662: <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 9663: </div>
9664:
9665:
9666: Value restriction based on xs:string<ul>
9667: <li><tt>[\-+]?(\d+|\d+(\.\d+)?%)(,\s*[\-+]?(\d+|\d+(\.\d+)?%))*</tt></li>
9668: </ul>
9669:
9670: </div>
9671: Attribute <span class="nomattribut">href</span>:
9672: <div class="indentation">optional<br>type: <tt>xs:anyURI</tt><br>
9673:
1.2 ! damieng 9674: <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 9675: </div>
9676:
9677: </div>
9678: Attribute <span class="nomattribut">nohref</span>:
9679: <div class="indentation">optional<br>
9680:
1.2 ! damieng 9681: <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 9682:
9683: Usage note: This attribute is obsolete in HTML5, instead omitting the href attribute is sufficient.
9684: </div>
9685:
9686:
9687: Value restriction based on xs:token<ul>
9688: <li><tt>nohref</tt></li>
9689: </ul>
9690:
9691: </div>
9692: Attribute <span class="nomattribut">alt</span>:
9693: <div class="indentation">required<br>type: <tt>xs:string</tt><br>
9694:
1.2 ! damieng 9695: <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 9696: </div>
9697:
9698: </div>
9699: </div>
1.2 ! damieng 9700: <br>Parents: <a href="#map_0">map</a><br><hr>
1.1 damieng 9701: <a name="canvas_0"></a><h3>Element <span class="nomtitre">canvas</span>
9702: </h3>
9703:
1.2 ! damieng 9704: <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 9705: </div>
9706:
9707: Can contain text<br><div class="indentation">
9708: Choice between:<ul>
9709: <li>
9710: <a href="#blocks-with-text_0">blocks-with-text</a><br>
9711: </li>
9712: <li>
9713: <a href="#inlines_0">inlines</a><br>
9714: </li>
9715: </ul>
9716: <a href="#coreattrs_0">coreattrs</a><br><br>
9717: Attribute <span class="nomattribut">width</span>:
9718: <div class="indentation">optional<br>type: <a href="#htmlLength-or-perl_0">htmlLength-or-perl</a><br>
9719:
1.2 ! damieng 9720: <div class="documentation"> The width of the coordinate space in CSS pixels.
1.1 damieng 9721: </div>
9722:
9723: </div>
9724: Attribute <span class="nomattribut">height</span>:
9725: <div class="indentation">optional<br>type: <a href="#htmlLength-or-perl_0">htmlLength-or-perl</a><br>
9726:
1.2 ! damieng 9727: <div class="documentation"> The height of the coordinate space in CSS pixels.
1.1 damieng 9728: </div>
9729:
9730: </div>
9731: </div>
1.2 ! damieng 9732: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a><br><hr>
1.1 damieng 9733:
9734: <a name="form_1"></a><h3>Element <span class="nomtitre">form</span>
9735: </h3>
9736:
1.2 ! damieng 9737: <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 9738: </div>
9739:
9740: <div class="indentation">
9741: Choice between:<ul><li>
9742: <a href="#blocks-with-text_0">blocks-with-text</a><br>
9743: </li></ul>
9744: <a href="#coreattrs_0">coreattrs</a><br><br>
9745: Attribute <span class="nomattribut">action</span>:
9746: <div class="indentation">optional<br>type: <tt>xs:anyURI</tt><br>
9747:
1.2 ! damieng 9748: <div class="documentation"> The URI of a program that processes the form information.
1.1 damieng 9749:
9750: In HTML5, the action attribute is no longer required.
9751: </div>
9752:
9753: </div>
9754: Attribute <span class="nomattribut">method</span>:
9755: <div class="indentation">optional<br>
9756:
1.2 ! damieng 9757: <div class="documentation"> The HTTP method that the browser uses to submit the form. Possible values are:
1.1 damieng 9758:
9759: - post: Corresponds to the HTTP POST method ; form data are included in the body of the form and sent to the server.
9760:
9761: - 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.
9762: </div>
9763:
9764:
9765: Value restriction based on xs:token<ul>
9766: <li><tt>get</tt></li>
9767: <li><tt>post</tt></li>
9768: </ul>
9769:
9770: </div>
9771: Attribute <span class="nomattribut">enctype</span>:
9772: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
9773:
1.2 ! damieng 9774: <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 9775:
9776: - application/x-www-form-urlencoded: The default value if the attribute is not specified.
9777: - multipart/form-data: The value used for an <input> element with the type attribute set to "file".
9778: - text/plain (HTML5)
9779: </div>
9780:
9781: </div>
9782: Attribute <span class="nomattribut">accept-charset</span>:
9783: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
9784:
1.2 ! damieng 9785: <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 9786:
9787: In previous versions of HTML, the different character encodings could be delimited by spaces or commas. In HTML5, only spaces are allowed as delimiters.
9788: </div>
9789:
9790: </div>
9791: Attribute <span class="nomattribut">name</span>:
9792: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
9793:
1.2 ! damieng 9794: <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 9795: </div>
9796:
9797: </div>
9798: Attribute <span class="nomattribut">accept</span>:
9799: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
9800:
1.2 ! damieng 9801: <div class="documentation"> A comma-separated list of content types that the server accepts.
1.1 damieng 9802:
9803: 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.
9804: </div>
9805:
9806: </div>
9807: Attribute <span class="nomattribut">onsubmit</span>:
9808: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
9809: </div>
9810: Attribute <span class="nomattribut">onreset</span>:
9811: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
9812: </div>
9813: </div>
1.2 ! damieng 9814: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a><br><hr>
1.1 damieng 9815: <a name="label_6"></a><h3>Element <span class="nomtitre">label</span>
9816: </h3>
9817:
1.2 ! damieng 9818: <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 9819: </div>
9820:
9821: Can contain text<br><div class="indentation">
9822:
9823:
9824: Attribute <span class="nomattribut">for</span>:
9825: <div class="indentation">optional<br>type: <tt>xs:IDREF</tt><br>
9826:
1.2 ! damieng 9827: <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 9828: </div>
9829:
9830: </div>
9831: Attribute <span class="nomattribut">accesskey</span>:
9832: <div class="indentation">optional<br>
9833:
1.2 ! damieng 9834: <div class="documentation"> A shortcut key to access this element from the keyboard.
1.1 damieng 9835: </div>
9836:
9837:
9838: Value restriction based on xs:string<ul>
9839:
9840: </ul>
9841:
9842: </div>
9843: Attribute <span class="nomattribut">form</span>:
9844: <div class="indentation">optional<br>type: <tt>xs:IDREF</tt><br>
9845:
1.2 ! damieng 9846: <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 9847: </div>
9848:
9849: </div>
9850: Attribute <span class="nomattribut">onfocus</span>:
9851: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
9852: </div>
9853: Attribute <span class="nomattribut">onblur</span>:
9854: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
9855: </div>
9856:
9857:
9858: </div>
1.2 ! damieng 9859: <br>Parents: <a href="#inlines_0">inlines</a><br><hr>
1.1 damieng 9860: <a name="InputType_0"></a><h3>Simple type <span class="nomtitre">InputType</span>
9861: </h3>
9862: Value restriction based on xs:token<ul>
9863: <li><tt>text</tt></li>
9864: <li><tt>password</tt></li>
9865: <li><tt>checkbox</tt></li>
9866: <li><tt>radio</tt></li>
9867: <li><tt>submit</tt></li>
9868: <li><tt>reset</tt></li>
9869: <li><tt>file</tt></li>
9870: <li><tt>hidden</tt></li>
9871: <li><tt>image</tt></li>
9872: <li><tt>button</tt></li>
9873: </ul>
9874: <hr>
9875: <a name="input_0"></a><h3>Element <span class="nomtitre">input</span>
9876: </h3>
9877:
1.2 ! damieng 9878: <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 9879: </div>
9880:
9881: <div class="indentation">
9882: <a href="#coreattrs_0">coreattrs</a><br><br>
9883: Attribute <span class="nomattribut">type</span>:
9884: <div class="indentation">optional<br>type: <a href="#InputType_0">InputType</a><br>
9885: </div>
9886: Attribute <span class="nomattribut">name</span>:
9887: <div class="indentation">optional<br>
9888:
1.2 ! damieng 9889: <div class="documentation"> the name attribute is required for all but submit & reset
1.1 damieng 9890: </div>
9891:
9892: </div>
9893: Attribute <span class="nomattribut">value</span>:
9894: <div class="indentation">optional<br>
9895: </div>
9896: Attribute <span class="nomattribut">checked</span>:
9897: <div class="indentation">optional<br>
9898:
9899: Value restriction based on xs:token<ul>
9900: <li><tt>checked</tt></li>
9901: </ul>
9902:
9903: </div>
9904: Attribute <span class="nomattribut">disabled</span>:
9905: <div class="indentation">optional<br>
9906:
9907: Value restriction based on xs:token<ul>
9908: <li><tt>disabled</tt></li>
9909: </ul>
9910:
9911: </div>
9912: Attribute <span class="nomattribut">readonly</span>:
9913: <div class="indentation">optional<br>
9914:
9915: Value restriction based on xs:token<ul>
9916: <li><tt>readonly</tt></li>
9917: </ul>
9918:
9919: </div>
9920: Attribute <span class="nomattribut">size</span>:
9921: <div class="indentation">optional<br>
9922: </div>
9923: Attribute <span class="nomattribut">maxlength</span>:
9924: <div class="indentation">optional<br>type: <tt>xs:nonNegativeInteger</tt><br>
9925: </div>
9926: Attribute <span class="nomattribut">src</span>:
9927: <div class="indentation">optional<br>type: <tt>xs:anyURI</tt><br>
9928: </div>
9929: Attribute <span class="nomattribut">alt</span>:
9930: <div class="indentation">optional<br>
9931: </div>
9932: Attribute <span class="nomattribut">usemap</span>:
9933: <div class="indentation">optional<br>type: <tt>xs:anyURI</tt><br>
9934: </div>
9935: Attribute <span class="nomattribut">onselect</span>:
9936: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
9937: </div>
9938: Attribute <span class="nomattribut">onchange</span>:
9939: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
9940: </div>
9941: Attribute <span class="nomattribut">accept</span>:
9942: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
9943: </div>
9944: Attribute <span class="nomattribut">onclick</span>:
9945: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
9946:
1.2 ! damieng 9947: <div class="documentation"> Javascript event handler content attribute for the "click" event.
1.1 damieng 9948:
9949: 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.
9950:
9951: The EventTarget.addEventListener() function should be used instead to add a listener for the event.
9952: </div>
9953:
9954: </div>
9955: </div>
1.2 ! damieng 9956: <br>Parents: <a href="#inlines_0">inlines</a><br><hr>
1.1 damieng 9957: <a name="select_0"></a><h3>Element <span class="nomtitre">select</span>
9958: </h3>
9959:
1.2 ! damieng 9960: <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 9961: </div>
9962:
9963: <div class="indentation">
9964: Choice between:<ul>
9965: <li>
9966: <a href="#optgroup_0">optgroup</a><br>
9967: </li>
9968: <li>
9969: <a href="#option_0">option</a><br>
9970: </li>
9971: </ul>
9972: Attribute <span class="nomattribut">name</span>:
9973: <div class="indentation">optional<br>
9974: </div>
9975: Attribute <span class="nomattribut">size</span>:
9976: <div class="indentation">optional<br>type: <tt>xs:nonNegativeInteger</tt><br>
9977: </div>
9978: Attribute <span class="nomattribut">multiple</span>:
9979: <div class="indentation">optional<br>
9980:
9981: Value restriction based on xs:token<ul>
9982: <li><tt>multiple</tt></li>
9983: </ul>
9984:
9985: </div>
9986: Attribute <span class="nomattribut">disabled</span>:
9987: <div class="indentation">optional<br>
9988:
9989: Value restriction based on xs:token<ul>
9990: <li><tt>disabled</tt></li>
9991: </ul>
9992:
9993: </div>
9994: Attribute <span class="nomattribut">tabindex</span>:
9995: <div class="indentation">optional<br>type: <tt>xs:nonNegativeInteger</tt><br>
9996: </div>
9997: Attribute <span class="nomattribut">onfocus</span>:
9998: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
9999: </div>
10000: Attribute <span class="nomattribut">onblur</span>:
10001: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
10002: </div>
10003: Attribute <span class="nomattribut">onchange</span>:
10004: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
10005: </div>
10006: </div>
1.2 ! damieng 10007: <br>Parents: <a href="#inlines_0">inlines</a><br><hr>
1.1 damieng 10008: <a name="optgroup_0"></a><h3>Element <span class="nomtitre">optgroup</span>
10009: </h3>
10010:
1.2 ! damieng 10011: <div class="documentation"> In a Web form, the HTML <optgroup> element creates a grouping of options within a <select> element.
1.1 damieng 10012: </div>
10013:
10014: <div class="indentation">
10015: Sequence with:<ul><li>
10016: <a href="#option_0">option</a><br>
10017: </li></ul>
10018: Attribute <span class="nomattribut">disabled</span>:
10019: <div class="indentation">optional<br>
10020:
10021: Value restriction based on xs:token<ul>
10022: <li><tt>disabled</tt></li>
10023: </ul>
10024:
10025: </div>
10026: Attribute <span class="nomattribut">label</span>:
10027: <div class="indentation">required<br>type: <tt>xs:string</tt><br>
10028: </div>
10029: </div>
1.2 ! damieng 10030: <br>Parents: <a href="#select_0">select</a><br><hr>
1.1 damieng 10031: <a name="option_0"></a><h3>Element <span class="nomtitre">option</span>
10032: </h3>
10033:
1.2 ! damieng 10034: <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 10035: </div>
10036:
10037: Can contain text<br><div class="indentation">
10038: Attribute <span class="nomattribut">selected</span>:
10039: <div class="indentation">optional<br>
10040:
10041: Value restriction based on xs:token<ul>
10042: <li><tt>selected</tt></li>
10043: </ul>
10044:
10045: </div>
10046: Attribute <span class="nomattribut">disabled</span>:
10047: <div class="indentation">optional<br>
10048:
10049: Value restriction based on xs:token<ul>
10050: <li><tt>disabled</tt></li>
10051: </ul>
10052:
10053: </div>
10054: Attribute <span class="nomattribut">label</span>:
10055: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
10056: </div>
10057: Attribute <span class="nomattribut">value</span>:
10058: <div class="indentation">optional<br>
10059: </div>
10060: </div>
1.2 ! damieng 10061: <br>Parents: <a href="#select_0">select</a>, <a href="#optgroup_0">optgroup</a><br><hr>
1.1 damieng 10062: <a name="textarea_0"></a><h3>Element <span class="nomtitre">textarea</span>
10063: </h3>
10064:
1.2 ! damieng 10065: <div class="documentation"> The HTML <textarea> element represents a multi-line plain-text editing control.
1.1 damieng 10066: </div>
10067:
10068: Can contain text<br><div class="indentation">
10069: Attribute <span class="nomattribut">name</span>:
10070: <div class="indentation">optional<br>
10071: </div>
10072: Attribute <span class="nomattribut">rows</span>:
10073: <div class="indentation">required<br>type: <tt>xs:nonNegativeInteger</tt><br>
10074: </div>
10075: Attribute <span class="nomattribut">cols</span>:
10076: <div class="indentation">required<br>type: <tt>xs:nonNegativeInteger</tt><br>
10077: </div>
10078: Attribute <span class="nomattribut">disabled</span>:
10079: <div class="indentation">optional<br>
10080:
10081: Value restriction based on xs:token<ul>
10082: <li><tt>disabled</tt></li>
10083: </ul>
10084:
10085: </div>
10086: Attribute <span class="nomattribut">readonly</span>:
10087: <div class="indentation">optional<br>
10088:
10089: Value restriction based on xs:token<ul>
10090: <li><tt>readonly</tt></li>
10091: </ul>
10092:
10093: </div>
10094: Attribute <span class="nomattribut">onselect</span>:
10095: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
10096: </div>
10097: Attribute <span class="nomattribut">onchange</span>:
10098: <div class="indentation">optional<br>type: <tt>xs:string</tt><br>
10099: </div>
10100: </div>
1.2 ! damieng 10101: <br>Parents: <a href="#inlines_0">inlines</a><br><hr>
1.1 damieng 10102: <a name="fieldset_0"></a><h3>Element <span class="nomtitre">fieldset</span>
10103: </h3>
10104:
1.2 ! damieng 10105: <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 10106:
10107: Only one legend element should occur in the content, and if present should only be preceded by whitespace.
10108: </div>
10109:
10110: Can contain text<br><div class="indentation">
10111: Sequence with:<ul>
10112: <li>
10113: <a href="#legend_0">legend</a><br>
10114: </li>
10115: <li>Choice between:<ul><li>
10116: <a href="#text-only_0">text-only</a><br>
10117: </li></ul>
10118: </li>
10119: </ul>
10120: </div>
1.2 ! damieng 10121: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a><br><hr>
1.1 damieng 10122: <a name="legend_0"></a><h3>Element <span class="nomtitre">legend</span>
10123: </h3>
10124:
1.2 ! damieng 10125: <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 10126: </div>
10127:
10128: Can contain text<br><div class="indentation">
10129:
10130:
10131: Attribute <span class="nomattribut">accesskey</span>:
10132: <div class="indentation">optional<br>
10133:
10134: Value restriction based on xs:string<ul>
10135:
10136: </ul>
10137:
10138: </div>
10139:
10140:
10141: </div>
1.2 ! damieng 10142: <br>Parents: <a href="#fieldset_0">fieldset</a><br><hr>
1.1 damieng 10143: <a name="button_0"></a><h3>Element <span class="nomtitre">button</span>
10144: </h3>
10145:
1.2 ! damieng 10146: <div class="documentation"> The HTML <button> Element represents a clickable button.
1.1 damieng 10147: </div>
10148:
10149: Can contain text<br><div class="indentation">
10150: Choice between:<ul><li>
10151: <a href="#text-only_0">text-only</a><br>
10152: </li></ul>
10153: Attribute <span class="nomattribut">name</span>:
10154: <div class="indentation">optional<br>
10155: </div>
10156: Attribute <span class="nomattribut">value</span>:
10157: <div class="indentation">optional<br>
10158: </div>
10159: Attribute <span class="nomattribut">type</span>:
10160: <div class="indentation">optional<br>
10161:
10162: Value restriction based on xs:token<ul>
10163: <li><tt>button</tt></li>
10164: <li><tt>submit</tt></li>
10165: <li><tt>reset</tt></li>
10166: </ul>
10167:
10168: </div>
10169: Attribute <span class="nomattribut">disabled</span>:
10170: <div class="indentation">optional<br>
10171:
10172: Value restriction based on xs:token<ul>
10173: <li><tt>disabled</tt></li>
10174: </ul>
10175:
10176: </div>
10177: </div>
1.2 ! damieng 10178: <br>Parents: <a href="#inlines_0">inlines</a><br><hr>
1.1 damieng 10179:
10180: <a name="iframe_0"></a><h3>Element <span class="nomtitre">iframe</span>
10181: </h3>
10182:
1.2 ! damieng 10183: <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 10184: </div>
10185:
10186: Can contain text<br><div class="indentation">
10187: Choice between:<ul><li>
10188: <a href="#blocks-with-text_0">blocks-with-text</a><br>
10189: </li></ul>
10190: <a href="#coreattrs_0">coreattrs</a><br><br>
10191: Attribute <span class="nomattribut">name</span>:
10192: <div class="indentation">optional<br>type: <tt>xs:NMTOKEN</tt><br>
10193: </div>
10194: Attribute <span class="nomattribut">src</span>:
10195: <div class="indentation">optional<br>type: <tt>xs:anyURI</tt><br>
10196: </div>
10197: Attribute <span class="nomattribut">frameborder</span>:
10198: <div class="indentation">optional<br>
10199:
1.2 ! damieng 10200: <div class="documentation"> Warning: HTML 4 only
1.1 damieng 10201:
10202: The value 1 (the default) tells the browser to draw a border between this frame and every other frame.
10203: The value 0 tells the browser not to draw a border between this frame and other frames.
10204: </div>
10205:
10206:
10207: Value restriction based on xs:token<ul>
10208: <li><tt>1</tt></li>
10209: <li><tt>0</tt></li>
10210: </ul>
10211:
10212: </div>
10213: Attribute <span class="nomattribut">height</span>:
10214: <div class="indentation">optional<br>type: <a href="#htmlLength_0">htmlLength</a><br>
10215: </div>
10216: Attribute <span class="nomattribut">width</span>:
10217: <div class="indentation">optional<br>type: <a href="#htmlLength_0">htmlLength</a><br>
10218: </div>
10219: Attribute <span class="nomattribut">allowfullscreen</span>:
10220: <div class="indentation">optional<br>
10221:
10222: Value restriction based on xs:string<ul>
10223: <li><tt>allowfullscreen</tt></li>
10224: </ul>
10225:
10226: </div>
10227: </div>
1.2 ! damieng 10228: <br>Parents: <a href="#universal-blocks_0">universal-blocks</a><br><hr>
1.1 damieng 10229:
10230: <br><a name="index"></a><h3>Index</h3>
10231: <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>
10232: (under caparesponse--answergroup)
10233: <br><a href="#answer_4">answer</a>
10234: (under mathresponse)
10235: <br><a href="#answer_5">answer</a>
10236: (under functionplotcustomrule)
10237: <br><a href="#answer_8">answer</a>
10238: (under customresponse)
10239: <br><a href="#answer_15">answer</a>
10240: (under mathhint)
10241: <br><a href="#answer_18">answer</a>
10242: (under customhint)
10243: <br><a href="#answergroup_0">answergroup</a>
10244: (under numericalresponse)
10245: <br><a href="#answergroup_1">answergroup</a>
10246: (under formularesponse)
10247: <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>
10248: (under randomlabel)
10249: <br><a href="#big_0">big</a><br><a href="#block_0">block</a>
10250: (under blocks-with-parts)
10251: <br><a href="#block_1">block</a>
10252: (under blocks-with-responses)
10253: <br><a href="#block_2">block</a>
10254: (under blocks-with-text)
10255: <br><a href="#block_3">block</a>
10256: (under gnuplot-children)
10257: <br><a href="#block_4">block</a>
10258: (under randomlist-with-parts)
10259: <br><a href="#block_5">block</a>
10260: (under randomlist-with-responses)
10261: <br><a href="#block_6">block</a>
10262: (under randomlist-with-text)
10263: <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>
10264: (under radiobuttonresponse--foilgroup)
10265: <br><a href="#conceptgroup_1">conceptgroup</a>
10266: (under optionresponse--foilgroup)
10267: <br><a href="#conceptgroup_2">conceptgroup</a>
10268: (under matchresponse--foilgroup)
10269: <br><a href="#conceptgroup_3">conceptgroup</a>
10270: (under rankresponse--foilgroup)
10271: <br><a href="#conceptgroup_4">conceptgroup</a>
10272: (under imageresponse--foilgroup)
10273: <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>
10274: (under lonplot--curve)
10275: <br><a href="#dataresponse_0">dataresponse</a><br><a href="#dd_0">dd</a>
10276: (under dl-with-parts)
10277: <br><a href="#dd_1">dd</a>
10278: (under dl-with-responses)
10279: <br><a href="#dd_2">dd</a>
10280: (under dl-with-text)
10281: <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>
10282: (under blocks-with-parts)
10283: <br><a href="#div_1">div</a>
10284: (under blocks-with-responses)
10285: <br><a href="#div_2">div</a>
10286: (under blocks-with-text)
10287: <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>
10288: (under blocks-with-parts)
10289: <br><a href="#dl_1">dl</a>
10290: (under blocks-with-responses)
10291: <br><a href="#dl_2">dl</a>
10292: (under blocks-with-text)
10293: <br><a href="#dl_3">dl</a>
10294: (under randomlist-with-parts)
10295: <br><a href="#dl_4">dl</a>
10296: (under randomlist-with-responses)
10297: <br><a href="#dl_5">dl</a>
10298: (under randomlist-with-text)
10299: <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>
10300: (under radiobuttonresponse--foilgroup)
10301: <br><a href="#foil_1">foil</a>
10302: (under radiobuttonresponse--conceptgroup)
10303: <br><a href="#foil_2">foil</a>
10304: (under optionresponse--foilgroup)
10305: <br><a href="#foil_3">foil</a>
10306: (under optionresponse--conceptgroup)
10307: <br><a href="#foil_4">foil</a>
10308: (under matchresponse--foilgroup)
10309: <br><a href="#foil_5">foil</a>
10310: (under matchresponse--conceptgroup)
10311: <br><a href="#foil_6">foil</a>
10312: (under rankresponse--foilgroup)
10313: <br><a href="#foil_7">foil</a>
10314: (under rankresponse--conceptgroup)
10315: <br><a href="#foil_8">foil</a>
10316: (under imageresponse--foilgroup)
10317: <br><a href="#foil_9">foil</a>
10318: (under imageresponse--conceptgroup)
10319: <br><a href="#foilgroup_0">foilgroup</a>
10320: (under radiobuttonresponse)
10321: <br><a href="#foilgroup_1">foilgroup</a>
10322: (under optionresponse)
10323: <br><a href="#foilgroup_2">foilgroup</a>
10324: (under matchresponse)
10325: <br><a href="#foilgroup_3">foilgroup</a>
10326: (under rankresponse)
10327: <br><a href="#foilgroup_4">foilgroup</a>
10328: (under imageresponse)
10329: <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>
10330: (under lonplot--curve)
10331: <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>
10332: (under imageresponse--foil)
10333: <br><a href="#image_1">image</a>
10334: (under drawimage)
10335: <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>
10336: (under randomlabel--labelgroup)
10337: <br><a href="#label_5">label</a>
10338: (under gnuplot-children)
10339: <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>
10340: (under ul-with-parts)
10341: <br><a href="#li_1">li</a>
10342: (under ul-with-responses)
10343: <br><a href="#li_2">li</a>
10344: (under ul-with-text)
10345: <br><a href="#li_3">li</a>
10346: (under ol-with-parts)
10347: <br><a href="#li_4">li</a>
10348: (under ol-with-responses)
10349: <br><a href="#li_5">li</a>
10350: (under ol-with-text)
10351: <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>
10352: (under randomlabel--labelgroup)
10353: <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>
10354: (under head.misc)
10355: <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>
10356: (under blocks-with-parts)
10357: <br><a href="#ol_1">ol</a>
10358: (under blocks-with-responses)
10359: <br><a href="#ol_2">ol</a>
10360: (under blocks-with-text)
10361: <br><a href="#ol_3">ol</a>
10362: (under randomlist-with-parts)
10363: <br><a href="#ol_4">ol</a>
10364: (under randomlist-with-responses)
10365: <br><a href="#ol_5">ol</a>
10366: (under randomlist-with-text)
10367: <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>
10368: (under blocks-with-parts)
10369: <br><a href="#p_1">p</a>
10370: (under blocks-with-responses)
10371: <br><a href="#p_2">p</a>
10372: (under blocks-with-text)
10373: <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>
10374: (under imageresponse--foil)
10375: <br><a href="#polygon_1">polygon</a>
10376: (under drawimage)
10377: <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>
10378: (under blocks-with-parts)
10379: <br><a href="#problemtype_1">problemtype</a>
10380: (under blocks-with-responses)
10381: <br><a href="#problemtype_2">problemtype</a>
10382: (under blocks-with-text)
10383: <br><a href="#problemtype_3">problemtype</a>
10384: (under randomlist-with-parts)
10385: <br><a href="#problemtype_4">problemtype</a>
10386: (under randomlist-with-responses)
10387: <br><a href="#problemtype_5">problemtype</a>
10388: (under randomlist-with-text)
10389: <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>
10390: (under blocks-with-parts)
10391: <br><a href="#randomlist_1">randomlist</a>
10392: (under blocks-with-responses)
10393: <br><a href="#randomlist_2">randomlist</a>
10394: (under blocks-with-text)
10395: <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>
10396: (under imageresponse--foil)
10397: <br><a href="#rectangle_1">rectangle</a>
10398: (under drawimage)
10399: <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>
10400: (under blocks-with-parts)
10401: <br><a href="#section_1">section</a>
10402: (under blocks-with-responses)
10403: <br><a href="#section_2">section</a>
10404: (under blocks-with-text)
10405: <br><a href="#section_3">section</a>
10406: (under randomlist-with-parts)
10407: <br><a href="#section_4">section</a>
10408: (under randomlist-with-responses)
10409: <br><a href="#section_5">section</a>
10410: (under randomlist-with-text)
10411: <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>
10412: (under blocks-with-parts)
10413: <br><a href="#table_1">table</a>
10414: (under blocks-with-responses)
10415: <br><a href="#table_2">table</a>
10416: (under blocks-with-text)
10417: <br><a href="#table_3">table</a>
10418: (under randomlist-with-parts)
10419: <br><a href="#table_4">table</a>
10420: (under randomlist-with-responses)
10421: <br><a href="#table_5">table</a>
10422: (under randomlist-with-text)
10423: <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>
10424: (under table-with-parts)
10425: <br><a href="#tbody_1">tbody</a>
10426: (under table-with-responses)
10427: <br><a href="#tbody_2">tbody</a>
10428: (under table-with-text)
10429: <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>
10430: (under tr-with-parts)
10431: <br><a href="#td_1">td</a>
10432: (under tr-with-responses)
10433: <br><a href="#td_2">td</a>
10434: (under tr-with-text)
10435: <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>
10436: (under imageresponse--foil)
10437: <br><a href="#text_1">text</a>
10438: (under drawimage)
10439: <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>
10440: (under gnuplot-children)
10441: <br><a href="#title_2">title</a><br><a href="#togglebox_0">togglebox</a><br><a href="#tr_0">tr</a>
10442: (under table-with-parts)
10443: <br><a href="#tr_1">tr</a>
10444: (under table-with-responses)
10445: <br><a href="#tr_2">tr</a>
10446: (under table-with-text)
10447: <br><a href="#tr_3">tr</a>
10448: (under thead)
10449: <br><a href="#tr_4">tr</a>
10450: (under tfoot)
10451: <br><a href="#tr_5">tr</a>
10452: (under tbody-with-parts)
10453: <br><a href="#tr_6">tr</a>
10454: (under tbody-with-responses)
10455: <br><a href="#tr_7">tr</a>
10456: (under tbody-with-text)
10457: <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>
10458: (under blocks-with-parts)
10459: <br><a href="#ul_1">ul</a>
10460: (under blocks-with-responses)
10461: <br><a href="#ul_2">ul</a>
10462: (under blocks-with-text)
10463: <br><a href="#ul_3">ul</a>
10464: (under randomlist-with-parts)
10465: <br><a href="#ul_4">ul</a>
10466: (under randomlist-with-responses)
10467: <br><a href="#ul_5">ul</a>
10468: (under randomlist-with-text)
10469: <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>
10470: (under caparesponse--answer)
10471: <br><a href="#var_0">var</a><br><a href="#vector_0">vector</a>
10472: (under caparesponse--answer)
10473: <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>
10474: (under gnuplot-children)
10475: <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>
10476: (under gnuplot-children)
10477: <br><a href="#ytics_0">ytics</a><br>
10478: </body>
10479: </html>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>