Annotation of Amaya/amaya/HTML.S, revision 1.160
1.139 quint 1: { I. Vatton November 1994-2002 }
1.68 cvs 2:
1.1 cvs 3: STRUCTURE HTML;
4:
5: DEFPRES HTMLP;
1.44 cvs 6:
1.1 cvs 7: ATTR
1.59 cvs 8: { coreattrs }
1.63 cvs 9: ID = Text; { id }
10: Class = Text; { class }
11: PseudoClass = Text;
12: Style\240 = Text; { style }
13: Title = Text; { title }
1.59 cvs 14: { i18n }
1.137 quint 15: dir = ltr_, rtl_; { dir }
1.59 cvs 16: { events }
1.63 cvs 17: onclick = Text; { onclick }
18: ondblclick = Text; { ondblclick }
19: onmousedown = Text; { onmousedown }
20: onmouseup = Text; { onmouseup }
21: onmouseover = Text; { onmouseover }
22: onmousemove = Text; { onmousemove }
23: onmouseout = Text; { onmouseout }
24: onkeypress = Text; { onkeypress }
25: onkeydown = Text; { onkeydown }
26: onkeyup = Text; { onkeyup }
1.59 cvs 27:
1.63 cvs 28: Invalid_attribute = Text;
1.127 cvs 29: Unknown_attribute = Text;
1.63 cvs 30: Ghost_restruct = Text;
1.114 cvs 31: Highlight = Yes_; { to show the HTML element corresponding to the
32: current selection in the source view }
1.100 cvs 33: IntEntity = Yes_; { do not translate & into & in output file }
34: EntityName = Text; { the content of the element is the name of an entity }
1.110 cvs 35: xml_space = xml_space_default, xml_space_preserve; { xml:space }
1.1 cvs 36:
37: CONST
1.59 cvs 38:
1.1 cvs 39: C_Empty = ' ';
40: C_Foot = ' ';
41: C_Head = ' ';
1.64 cvs 42: C_BR = '\12';
1.1 cvs 43:
44: STRUCT
1.59 cvs 45:
1.63 cvs 46: HTML { HTML }
1.150 vatton 47: (ATTR SectionNumbering = Yes_; ShowAreas = Yes_; NoImages = Yes_;
1.143 cvs 48: PrintURL = Yes_; PI = Text;
1.101 cvs 49: Namespaces = Text; RealLang = Yes_; Charset = Text) =
1.17 cvs 50: BEGIN
1.1 cvs 51: HEAD;
1.109 cvs 52: ? BODY; { only one of BODY, document type }
1.72 cvs 53: ? FRAMESET;
1.140 cvs 54: END + (Invalid_element, Unknown_namespace, Comment\240, XMLPI, CDATA);
1.136 cvs 55:
1.59 cvs 56: BODY { BODY }
1.63 cvs 57: (ATTR onload = Text; onunload = Text;
58: { onload onunload }
59: background_ = Text; BackgroundColor = Text;
60: { background bgcolor }
61: TextColor = Text; LinkColor = Text;
62: { text link }
63: VisitedLinkColor = Text; ActiveLinkColor = Text) =
64: { vlink alink }
65: LIST OF (Element) + (INS, DEL);
1.1 cvs 66:
1.11 cvs 67: Invalid_element (ATTR Error_type = UnknownTag, BadPosition) = TEXT;
1.113 cvs 68:
1.127 cvs 69: Unknown_namespace = TEXT;
70:
1.1 cvs 71: Comment\240 = LIST OF (Comment_line = TEXT);
72:
1.113 cvs 73: XMLPI = LIST OF (PI_line = TEXT);
1.140 cvs 74:
75: CDATA = LIST OF (CDATA_line = TEXT);
1.136 cvs 76:
77: DOCTYPE = LIST OF (DOCTYPE_line = TEXT);
1.113 cvs 78:
1.77 cvs 79: Head_misc =
80: CASE OF
81: STYLE_;
1.138 vatton 82: SCRIPT_;
1.77 cvs 83: META;
84: LINK;
85: END;
1.63 cvs 86: HEAD { HEAD }
87: (ATTR profile = Text) =
88: AGGREGATE
1.77 cvs 89: Document_URL = TEXT - (Head_misc);
1.81 cvs 90: TITLE = TEXT - (Head_misc); { TITLE }
1.63 cvs 91: ? ISINDEX (ATTR Prompt = Text) = CONSTANT C_Empty; { ISINDEX }
92: { prompt }
93: ? BASE; { BASE }
1.77 cvs 94: END + (Object, Head_misc);
1.63 cvs 95:
1.64 cvs 96: STYLE_ { STYLE }
97: (ATTR Notation = Text; media = Text) =
98: { type media }
99: TEXT;
100:
1.138 vatton 101: SCRIPT_ { SCRIPT }
1.63 cvs 102: (ATTR charset = Text; !content_type = Text;
103: { charset type }
1.160 ! cvs 104: script_language = Text; script_src = Text;
! 105: { language src }
1.63 cvs 106: defer = Yes_; event = Text; for_ = Text) =
107: { defer event for }
108: TEXT;
1.59 cvs 109:
110: META { META }
1.63 cvs 111: (ATTR http_equiv = Text;
112: { http-equiv }
1.96 cvs 113: meta_name = Text; meta_content = Text;
114: { name content }
1.63 cvs 115: scheme = Text) =
116: { scheme }
117: CONSTANT C_Empty;
1.1 cvs 118:
1.63 cvs 119: LINK { LINK }
120: (ATTR charset; HREF_ = Text; hreflang = Text;
121: { charset href hreflang }
122: Link_type = Text; REL = Text; REV = Text;
123: { type rel rev }
124: media; target_ = Text) =
125: { media target }
126: CONSTANT C_Empty;
127:
128: BASE { BASE }
129: (ATTR !HREF_; target_) =
130: { href target }
131: CONSTANT C_Empty;
1.1 cvs 132:
1.59 cvs 133: Element = CASE OF { block }
134: Paragraph; { P }
1.20 cvs 135: Pseudo_paragraph;
1.59 cvs 136: Heading; { heading }
137: List_; { list + DL }
138: Preformatted; { PRE preformatted }
139: Division; { DIV }
140: Center; { CENTER }
1.62 cvs 141: NOSCRIPT = LIST OF (Element); { NOSCRIPT }
1.63 cvs 142: Block_Quote; { BLOCKQUOTE }
1.59 cvs 143: Form; { FORM }
144: ISINDEX; { ISINDEX }
1.63 cvs 145: Horizontal_Rule; { HR }
1.59 cvs 146: Table; { TABLE }
147: Address = LIST OF (AddressContent); { ADDRESS }
148: PICTURE { IMG }
1.63 cvs 149: (ATTR SRC = Text; ALT = Text; longdesc = Text;
150: { src alt longdesc }
1.129 vatton 151: Height_ = Text; Width__ = Text;
1.59 cvs 152: { height width }
1.63 cvs 153: IntWidthPercent = Integer; IntWidthPxl = Integer;
1.129 vatton 154: IntHeightPercent = Integer; IntHeightPxl = Integer;
1.94 cvs 155: USEMAP = Text; ISMAP = Yes_;
1.63 cvs 156: { usemap ismap }
1.94 cvs 157: IsInput = Yes_; NAME = Text;
158: { input type=IMAGE name }
1.63 cvs 159: Alignment = Top_, Middle_, Bottom_, Left_, Right_;
160: { align top middle bottom left right }
161: Img_border = Integer;
162: { border }
163: hspace = Integer; vspace = Integer);
164: { hspace vspace }
1.59 cvs 165: Object; { OBJECT }
1.60 cvs 166: Applet; { APPLET }
1.108 cvs 167: MathML; { MATH }
1.126 vatton 168: SVG; { SVG }
1.125 vatton 169: map; MAP; { MAP }
1.111 kahan 170: XLink; { Annotations }
1.123 cvs 171: SVG_Image { GRAPHIC }
172: (ATTR SRC; ALT; longdesc;
173: { src alt longdesc }
174: Height_; Width__;
175: { height width }
176: IntWidthPercent; IntWidthPxl;
1.129 vatton 177: IntHeightPercent; IntHeightPxl;
1.123 cvs 178: USEMAP; ISMAP;
179: { usemap ismap }
180: IsInput; NAME;
181: { input type=IMAGE name }
182: Alignment;
183: { align top middle bottom left right }
184: Img_border;
185: { border }
186: hspace; vspace) =
187: { hspace vspace }
188: SVG_ImageContent;
1.141 quint 189: Embed_ { EMBED }
1.128 cvs 190: (ATTR SRC;
191: Alignment;
192: { align top bottom left right }
193: Height_; Width__;
194: { height width }
195: EmbedHidden = Yes_, No_;
1.154 quint 196: { hidden yes no }
1.148 cvs 197: EmbedName = Text;
1.154 quint 198: { name }
1.148 cvs 199: hspace; vspace;
1.128 cvs 200: { hspace vspace }
1.148 cvs 201: Embed_type = Text;
1.154 quint 202: { type }
1.148 cvs 203: ) =
1.145 quint 204: BEGIN
205: Embed_Content;
206: END;
1.1 cvs 207: END;
208:
1.52 cvs 209: HTMLfragment = LIST OF (Element);
1.145 quint 210: SVG_ImageContent = SVG;
211: Embed_Content = NATURE;
1.52 cvs 212:
1.63 cvs 213: Block_Quote { BLOCKQUOTE }
214: (ATTR cite = Text;
215: { cite }
216: InternalLink = Reference(Any); ExternalLink = Yes_) =
217: LIST OF (Element);
218:
219: Horizontal_Rule { HR }
220: (ATTR Align = left_, center_, right_;
221: { align left center right }
222: NoShade = NoShade_; Size_ = Integer; Width__;
223: { noshade size width }
224: IntWidthPercent; IntWidthPxl) =
225: CONSTANT C_Empty;
226:
1.67 cvs 227: Basic_Set = LIST OF (Basic_Elem);
228:
1.1 cvs 229: AddressContent = CASE OF
230: Basic_Elem;
1.59 cvs 231: Paragraph; { P }
1.20 cvs 232: Pseudo_paragraph;
1.1 cvs 233: END;
234:
1.59 cvs 235: Paragraph { P }
1.63 cvs 236: (ATTR TextAlign = left_, center_, right_, justify_) =
237: { align left center right justify }
238: Basic_Set;
239:
1.59 cvs 240: Pseudo_paragraph = Basic_Set;
241:
242: Heading = CASE OF { heading }
243: H1 (ATTR TextAlign) = Basic_Set; { H1 }
244: { align }
245: H2 (ATTR TextAlign) = Basic_Set; { H2 }
246: H3 (ATTR TextAlign) = Basic_Set; { H3 }
247: H4 (ATTR TextAlign) = Basic_Set; { H4 }
248: H5 (ATTR TextAlign) = Basic_Set; { H5 }
249: H6 (ATTR TextAlign) = Basic_Set; { H6 }
1.1 cvs 250: END;
251:
1.63 cvs 252: Preformatted { PRE }
253: (ATTR Width__; IntWidthPercent; IntWidthPxl) =
254: { width }
255: Basic_Set
1.59 cvs 256: - (PICTURE, Object, Applet,
257: Big_text, Small_text, Subscript, Superscript,
1.123 cvs 258: Font_, BaseFont, SVG_Image);
1.59 cvs 259:
1.63 cvs 260: Anchor { A }
1.94 cvs 261: (ATTR charset; Link_type; NAME;
1.63 cvs 262: { charset type name }
263: HREF_; hreflang; target_;
264: { href hreflang target}
265: REL; REV; accesskey = Text;
266: { rel rev accesskey }
267: shape = rectangle, circle, polygon, default_;
268: { shape rect cirecle poly default }
269: coords = Text; tabindex = Integer;
270: { coords tabindex }
271: onfocus = Text; onblur = Text;
1.76 cvs 272: { onfocus onblur }
1.89 cvs 273: InternalLink; ExternalLink;
1.112 kahan 274: { InternalLink ExternalLink }) =
1.63 cvs 275: Basic_Set;
1.1 cvs 276:
1.63 cvs 277: Basic_Elem = CASE OF { special }
1.1 cvs 278: TEXT;
1.63 cvs 279: Font; { fontstyle }
280: Phrase; { phrase }
1.61 cvs 281: Anchor; { A }
282: PICTURE; { IMG }
283: Applet; { APPLET }
284: Font_; { FONT }
285: BaseFont; { BASEFONT }
1.63 cvs 286: BR; { BR }
1.138 vatton 287: SCRIPT_; { SCRIPT }
1.63 cvs 288: Quotation; { Q }
1.61 cvs 289: Subscript = Basic_Set; { SUB }
290: Superscript = Basic_Set; { SUP }
291: Span = Basic_Set; { SPAN }
292: BDO = Basic_Set; { BDO }
1.77 cvs 293: Object; { OBJECT }
1.141 quint 294: Embed_; { EMBED }
1.61 cvs 295: IFRAME; { IFRAME }
1.121 cvs 296: ruby; { ruby }
1.108 cvs 297: MathML; { MATH }
1.111 kahan 298: XLink; { Annotations }
1.123 cvs 299: SVG_Image; { GRAPHIC }
1.59 cvs 300: END;
301:
1.60 cvs 302: BaseFont { BASEFONT }
1.63 cvs 303: (ATTR BaseFontSize = Integer; BaseFontColor = Text;
304: { size color }
305: BaseFontFace = Text) =
306: { face }
307: CONSTANT C_Empty;
308:
309: BR { BR }
1.159 quint 310: (ATTR Clear_ = Left_, Right_, All_, None_) =
311: { clear left right all none }
1.63 cvs 312: CONSTANT C_BR;
313:
314: Quotation { Q }
315: (ATTR cite; InternalLink; ExternalLink) =
316: { cite }
317: Basic_Set;
1.59 cvs 318:
1.60 cvs 319: Font = CASE OF { fontstyle }
320: Teletype_text = Basic_Set; { TT }
1.59 cvs 321: Italic_text = Basic_Set; { I }
322: Bold_text = Basic_Set; { B }
323: Underlined_text = Basic_Set; { U }
1.60 cvs 324: Struck_text = Basic_Set; { S or STRIKE }
1.59 cvs 325: Big_text = Basic_Set; { BIG }
326: Small_text = Basic_Set; { SMALL }
327: END;
328:
1.60 cvs 329: Phrase = CASE OF { phrase }
1.59 cvs 330: Emphasis = Basic_Set; { EM }
331: Strong = Basic_Set; { STRONG }
332: Def = Basic_Set; { DFN }
333: Code = Basic_Set; { CODE }
334: Sample = Basic_Set; { SAMP }
335: Keyboard = Basic_Set; { KBD }
1.152 quint 336: Variable_ = Basic_Set; { VAR }
1.59 cvs 337: Cite = Basic_Set; { CITE }
1.60 cvs 338: ABBR = Basic_Set; { ABBR }
339: ACRONYM = Basic_Set; { ACRONYM }
1.59 cvs 340: END;
341:
1.63 cvs 342: Font_ { FONT }
343: (ATTR Font_size = Text; color = Text; face = Text;
344: { size color face }
345: IntSizeIncr = Integer; IntSizeDecr = Integer;
346: IntSizeRel = Integer) =
347: Basic_Set;
348:
349: Applet { APPLET }
350: (ATTR codebase = Text; archive = Text; code = Text;
351: { codebase archive code }
352: object = Text; alt = Text; applet_name = Text;
353: { object alt name }
1.129 vatton 354: Width__; IntWidthPercent; IntWidthPxl;
355: Height_; IntHeightPercent; IntHeightPxl;
1.63 cvs 356: { width height }
357: Alignment; hspace; vspace) =
358: { align hspace vspace }
1.1 cvs 359: LIST OF (Applet_Content = CASE OF
1.59 cvs 360: Parameter; { PARAM }
1.1 cvs 361: Basic_Set;
362: END);
1.63 cvs 363: Parameter { PARAM }
364: (ATTR Param_name = Text; Param_value = Text;
365: { name value }
366: valuetype = data_, ref, object_;
367: { valuetype data ref object }
368: Param_type = Text) =
369: { type }
1.59 cvs 370: CONSTANT C_Empty;
371:
372: Object { OBJECT }
1.145 quint 373: (ATTR declare = declare_; classid = Text; codebase;
374: { declare classid codebase }
1.63 cvs 375: data = Text; Object_type = Text;
376: { data type }
377: codetype = Text; archive; standby = Text;
378: { codetype archive standby }
1.157 quint 379: Height_; Width__;
1.129 vatton 380: IntWidthPercent; IntWidthPxl;
381: IntHeightPercent; IntHeightPxl;
1.63 cvs 382: { height width }
383: USEMAP; NAME; tabindex; Alignment; Img_border;
384: { usemap name tabindex align border }
385: hspace; vspace) =
386: { hspace vspace }
1.10 cvs 387: BEGIN
1.13 cvs 388: PICTURE;
1.145 quint 389: Object_Content = LIST OF (ElemOrParam = CASE OF
390: Element; Parameter; END); { PARAM }
1.157 quint 391: END;
1.61 cvs 392:
1.63 cvs 393: INS { INS }
1.72 cvs 394: (ATTR cite; datetime = Text; InternalLink; ExternalLink) =
1.63 cvs 395: { cite datetime }
396: Basic_Set;
397:
398: DEL { DEL }
1.72 cvs 399: (ATTR cite; datetime; InternalLink; ExternalLink) =
1.63 cvs 400: { cite datetime }
401: Basic_Set;
1.1 cvs 402:
1.59 cvs 403: Block = CASE OF { block }
404: Paragraph; { P }
1.20 cvs 405: Pseudo_paragraph;
1.59 cvs 406: Heading; { heading }
407: List_; { list + DL }
408: Block_Quote; { BLOCKQUOTE }
409: Preformatted; { PRE }
410: Division; { DIV }
1.63 cvs 411: Center; { CENTER }
1.1 cvs 412: Form;
1.73 cvs 413: Horizontal_Rule; { HR }
414: Table; { TABLE }
415: Address; { ADDRESS }
1.1 cvs 416: END;
417:
1.63 cvs 418: Division { DIV }
419: (ATTR TextAlign) =
420: { align }
421: LIST OF (Element);
422:
423: Center = { CENTER }
424: LIST OF (Element);
1.1 cvs 425:
1.59 cvs 426: List_ = CASE OF { list }
1.63 cvs 427: Unnumbered_List; { UL }
428: Numbered_List; { OL }
429: Directory; { DIR }
430: Menu; { MENU }
431: Definition_List; { DL }
432: END;
433:
434: Unnumbered_List { UL }
435: (ATTR BulletStyle = disc, circle, square;
436: { type disc circle square }
437: COMPACT = Yes_) =
438: { compact }
439: LIST OF (List_Item);
440:
441: Numbered_List { OL }
442: (ATTR NumberStyle = Arabic_, LowerAlpha, UpperAlpha,
443: { type 1 a A }
444: LowerRoman, UpperRoman;
445: { i I }
446: Start = Integer; COMPACT) =
447: { start compact }
448: LIST OF (List_Item) with Start ?= 1;
449:
450: Directory { DIR }
451: (ATTR COMPACT) =
452: { compact }
453: LIST OF (List_Item);
454:
455: Menu { MENU }
456: (ATTR COMPACT) =
457: { compact }
458: LIST OF (List_Item);
459:
460: Definition_List { DL }
461: (ATTR COMPACT) =
462: { compact }
463: LIST OF (Definition_Item);
464:
465: List_Item { LI }
466: (ATTR ItemStyle = disc, circle, square, Arabic_,
467: { type disc circle square 1 }
468: LowerAlpha, UpperAlpha, LowerRoman, UpperRoman;
469: { a A i I }
470: IntItemStyle = disc, circle, square, Arabic_,
471: LowerAlpha, UpperAlpha, LowerRoman, UpperRoman;
472: ItemValue = Integer) =
473: { value }
1.1 cvs 474: LIST OF (Block);
475:
1.59 cvs 476: Definition_Item = BEGIN
477: Term_List = LIST OF (Term = Basic_Set); { DT }
1.132 cvs 478: ? Definitions = LIST OF (Definition = LIST OF (Block)); { DD }
1.1 cvs 479: END;
480:
1.63 cvs 481: Form { FORM }
482: (ATTR !Script_URL = Text; METHOD = Get_, Post_;
483: { action method }
484: ENCTYPE = Text; onsubmit = Text; onreset = Text;
485: { enctype onsubmit onreset }
486: target_; accept_charset = Text) =
487: { target accept-charset }
1.1 cvs 488: LIST OF (Form_Element) + (Input) with METHOD ?= Get_;
489:
490: Form_Element = CASE OF
1.59 cvs 491: Paragraph; { P }
1.20 cvs 492: Pseudo_paragraph;
1.80 cvs 493: FIELDSET; { FIELDSET }
1.59 cvs 494: Option_Menu; { SELECT }
1.63 cvs 495: Text_Area; { TEXTAREA }
1.59 cvs 496: Heading; { heading }
497: List_; { list + DL }
498: Horizontal_Rule; { HR }
499: Block_Quote; { BLOCKQUOTE }
500: Preformatted; { PRE }
501: Division; { DIV }
502: Table; { TABLE }
503: Center; { CENTER }
504: ISINDEX; { ISINDEX }
1.1 cvs 505: END;
506:
1.63 cvs 507: Option_Menu { SELECT }
508: (ATTR !NAME; MenuSize = Integer; Multiple = Yes_;
509: { name size multiple }
510: disabled = Yes_; tabindex; onfocus; onblur;
511: { disabled tabindex onfocus onblur}
512: onchange = Text) =
513: { onchange }
1.91 cvs 514: LIST OF (Option_item = CASE OF Option; OptGroup; END) - (Input);
1.63 cvs 515:
516: Option { OPTION }
517: (ATTR Selected = Yes_; DefaultSelected = Yes_;
518: { selected }
519: disabled; label = Text; !Value_ = Text) =
520: { disabled label value }
1.1 cvs 521: TEXT;
1.76 cvs 522:
523: OptGroup { OPTGROUP }
1.78 cvs 524: (ATTR disabled; !label) =
525: { disabled label }
1.76 cvs 526: LIST OF (Option);
1.1 cvs 527:
1.63 cvs 528: Text_Area { TEXTAREA }
529: (ATTR !NAME; Rows = Integer; Columns = Integer;
530: { name rows cols }
531: disabled; readonly = Yes_; tabindex; accesskey;
532: { disabled readonly tabindex accesskey }
533: onfocus; onblur; onselect = Text; onchange;
534: { onfocus onblur onselect onchange }
535: Default_Value = Text) =
1.68 cvs 536: Text_With_Frame - (Input) with Rows ?= 4, Columns ?= 20;
1.63 cvs 537:
1.79 cvs 538: FIELDSET = { FIELDSET }
539: BEGIN
540: LEGEND;
541: Basic_Set;
542: END;
543:
544: LEGEND { LEGEND }
545: (ATTR accesskey; LAlign = Top_, Bottom_, Left_, Right_) =
546: { accesskey align top bottom left right }
547: Basic_Set;
548:
1.62 cvs 549: Input = CASE OF { formctrl }
1.63 cvs 550: Text_Input { INPUT / TEXT }
551: (ATTR !NAME; Value_; disabled; readonly;
552: { name value disabled readonly }
553: Area_Size = Integer; MaxLength = Integer;
554: { size maxlength }
555: tabindex; accesskey;
556: { tabindex accesskey }
1.66 cvs 557: onfocus; onblur; onselect; onchange;
1.63 cvs 558: { onfocus onblur onselect onchange }
1.66 cvs 559: Default_Value) =
1.68 cvs 560: Text_With_Frame - (Input) with Area_Size ?= 20;
1.63 cvs 561: Password_Input { INPUT / PASSWORD }
1.66 cvs 562: (ATTR !NAME; Value_; disabled; readonly;
563: { name value disabled readonly }
1.63 cvs 564: Area_Size; MaxLength;
565: { size maxlength }
1.66 cvs 566: tabindex; accesskey;
567: { tabindex accesskey }
568: onfocus; onblur; onselect; onchange;
569: { onfocus onblur onselect onchange }
570: Default_Value) =
1.68 cvs 571: Text_With_Frame - (Input) with Area_Size ?= 20;
572: File_Input { INPUT / FILE }
573: (ATTR !NAME; Value_; disabled; readonly;
574: { name value disabled readonly }
575: Area_Size; MaxLength;
576: { size maxlength }
577: tabindex; accesskey;
578: { tabindex accesskey }
579: onfocus; onblur; accept = Text;
580: { onfocus onblur }
581: Default_Value) =
582: Text_With_Frame - (Input) with Area_Size ?= 20;
1.59 cvs 583: Checkbox_Input { INPUT / CHECKBOX }
1.63 cvs 584: (ATTR !NAME; Value_; Checked = Yes_, No_;
1.66 cvs 585: { name value checked }
1.63 cvs 586: disabled; readonly;
587: { disabled readonly }
588: tabindex; accesskey; onfocus; onblur;
589: { tabindex accesskey onfocus onblur }
590: DefaultChecked = Yes_, No_) =
1.1 cvs 591: CONSTANT C_Empty with Checked ?= No_;
1.59 cvs 592: Radio_Input { INPUT / RADIO }
1.63 cvs 593: (ATTR !NAME; !Value_; Checked; disabled;
594: { name value checked disabled }
595: readonly; tabindex; accesskey;
596: { readonly tabindex accesskey }
597: onfocus; onblur;
598: { onfocus onblur }
599: DefaultChecked) =
600: CONSTANT C_Empty with Checked ?= No_,
601: NAME ?= 'radio';
602: Submit_Input { INPUT / SUBMIT }
603: (ATTR NAME; Value_; disabled; readonly;
604: { name value disabled; readonly }
605: tabindex; accesskey;
606: { tabindex accesskey }
607: onfocus; onblur) =
608: { onfocus onblur }
609: BEGIN
1.99 cvs 610: CONSTANT C_Empty;
1.63 cvs 611: END with Value_ ?= 'Submit';
612: Reset_Input { INPUT / RESET }
613: (ATTR NAME; Value_; disabled; readonly;
614: { name value disabled readonly }
615: tabindex; accesskey;
616: { tabindex accesskey }
617: onfocus; onblur) =
618: { onfocus onblur }
619: BEGIN
1.99 cvs 620: CONSTANT C_Empty;
1.68 cvs 621: END - (Input) with NAME ?= 'Reset',
622: Value_ ?= 'Reset';
623: Button_Input { INPUT / BUTTON }
1.66 cvs 624: (ATTR !NAME; Value_; disabled; readonly;
625: { name value disabled readonly }
1.63 cvs 626: tabindex; accesskey;
627: { tabindex accesskey }
1.68 cvs 628: onfocus; onblur) =
1.63 cvs 629: { onfocus onblur }
1.68 cvs 630: BEGIN
1.99 cvs 631: CONSTANT C_Empty;
1.68 cvs 632: END;
1.79 cvs 633:
1.120 cvs 634: BUTTON_ { BUTTON }
1.68 cvs 635: (ATTR !NAME; Value_;
636: { name value }
637: Button_type = button, submit, reset;
638: { type button submit reset }
639: disabled; tabindex; accesskey;
640: { disabled tabindex accesskey }
641: onfocus; onblur) =
642: { onfocus onblur }
1.79 cvs 643: Basic_Set - (Anchor, Input, Form, FIELDSET, IFRAME);
1.68 cvs 644: LABEL { LABEL }
645: (ATTR Associated_control = TEXT;
646: { for }
647: accesskey; onfocus; onblur) =
648: { accesskey onfocus onblur }
1.71 cvs 649: Basic_Set;
1.63 cvs 650: Hidden_Input { INPUT / HIDDEN }
1.68 cvs 651: (ATTR !NAME; Value_; disabled;
652: { name value disabled }
1.63 cvs 653: tabindex; accesskey;
654: { tabindex accesskey }
655: onfocus; onblur) =
656: { onfocus onblur }
657: CONSTANT C_Empty;
1.59 cvs 658: Option_Menu; { SELECT }
659: Text_Area; { TEXTAREA }
1.8 cvs 660: END;
1.1 cvs 661:
662: Text_With_Frame = BEGIN
663: Inserted_Text = TEXT;
664: Frame = CONSTANT C_Empty;
665: END;
666:
1.63 cvs 667: Table_row { TR }
668: (ATTR Cell_align = Cell_left, Cell_center, Cell_right,
669: { align left center right }
670: Cell_justify, Cell_char;
671: { justify char }
672: char = Text; charoff = Text;
673: { char charoff }
674: Row_valign = Row_top, Row_middle, Row_bottom, Row_baseline;
675: { valign top middle bottom baseline }
1.129 vatton 676: BackgroundColor; IntHeightPxl) =
1.71 cvs 677: { bgcolor Special attribute to control row span }
1.63 cvs 678: LIST OF (Table_cell);
679:
680: Table { TABLE }
681: (ATTR summary = Text; Width__; Border = Integer;
682: { summary width border }
683: frame = void, above, below, hsides, lhs, rhs,
684: { frame void above below hsides lhs rhs }
685: vsides, box, border;
686: { vsides box border }
1.97 cvs 687: rules_ = none_, groups, rows, cols, all;
688: { rules none groups rows cols all }
1.63 cvs 689: cellspacing = Integer; cellpadding = Integer;
690: { cellspacing cellpadding }
691: Align; BackgroundColor;
692: { align bgcolor }
693: datapagesize = Text; IntWidthPxl; IntWidthPercent) =
694: { datapagesize }
1.1 cvs 695: BEGIN
1.84 cvs 696: CAPTION; { CAPTION }
1.115 cvs 697: ? Cols = LIST OF (Col_elem = CASE OF
1.85 cvs 698: COL; { COL }
699: COLGROUP; { COLGROUP }
700: END);
1.1 cvs 701: Table_head = LIST OF (Column_head);
1.63 cvs 702: ? thead; { THEAD }
703: Table_body = LIST OF (tbody);
704: ? tfoot; { TFOOT }
1.1 cvs 705: Table_foot = CONSTANT C_Foot;
1.49 cvs 706: END;
1.63 cvs 707:
708: CAPTION { CAPTION }
709: (ATTR Position = Position_top, Position_bottom,
710: { align top bottom }
711: Position_left, Position_right) =
712: { left right }
713: Basic_Set;
714:
1.44 cvs 715: Column_head (ATTR IntWidthPercent; IntWidthPxl) =
716: CONSTANT C_Head;
1.63 cvs 717:
718: thead { THEAD }
719: (ATTR Cell_align; char; charoff; Row_valign) =
720: LIST OF (Table_row);
721:
722: tbody { TBODY }
723: (ATTR Cell_align; char; charoff; Row_valign) =
724: LIST OF (Table_row);
725:
726: tfoot { TFOOT }
727: (ATTR Cell_align; char; charoff; Row_valign) =
728: LIST OF (Table_row);
729:
1.1 cvs 730: Table_cell = CASE OF
1.63 cvs 731: Data_cell; { TD }
732: Heading_cell; { TH }
733: END;
734:
735: Data_cell { TD }
736: (ATTR Ref_column = REFERENCE(Column_head);
737: ColExt = REFERENCE(Column_head);
738: RowExt = REFERENCE(Table_row);
739: abbr = Text; axis = Text; headers = Text; scope = Text;
740: { abbr axis headers scope }
741: rowspan_ = INTEGER; colspan_ = INTEGER;
742: { rowspan colspan }
743: Cell_align; char; charoff;
744: { align char charoff }
745: Cell_valign = Cell_top, Cell_middle, Cell_bottom, Cell_baseline;
746: { valign top middle bottom baseline }
747: No_wrap = no_wrap; BackgroundColor;
748: { nowrap bgcolor }
1.129 vatton 749: Width__; IntWidthPxl; IntWidthPercent;
750: Height_; IntHeightPercent; IntHeightPxl;) =
1.63 cvs 751: { width height }
752: LIST OF (Element);
753:
754: Heading_cell { TH }
755: (ATTR Ref_column; ColExt; RowExt;
756: abbr; axis; headers; scope;
757: { abbr axis headers scope }
758: rowspan_; colspan_;
759: { rowspan colspan }
760: Cell_align; char; charoff; Cell_valign;
761: { align char charoff valign }
762: No_wrap; BackgroundColor;
763: { nowrap bgcolor }
1.129 vatton 764: Width__; IntWidthPxl; IntWidthPercent;
765: Height_; IntHeightPercent; IntHeightPxl) =
1.63 cvs 766: { width height }
767: LIST OF (Element);
768:
1.85 cvs 769: COLGROUP { COLGROUP }
770: (ATTR Cell_align; Cell_valign; Width__; span_ = Integer)
771: { align valign width span }
772: = LIST OF (COL);
773:
774: COL { COL }
775: (ATTR Cell_align; Cell_valign; Width__; span_)
776: { align valign width span }
777: = CONSTANT C_Empty;
778:
1.63 cvs 779: MAP { MAP }
780: (ATTR NAME; Ref_IMG = REFERENCE(Any)) =
1.125 vatton 781: { name linked to an image}
1.145 quint 782: LIST OF (ElemOrArea = CASE OF Element; AREA; END);
1.125 vatton 783:
784: map { MAP }
785: (ATTR NAME) =
1.63 cvs 786: { name }
1.145 quint 787: LIST OF (ElemOrArea);
1.63 cvs 788:
789: AREA { AREA }
790: (ATTR shape; coords; HREF_; target_; nohref = Yes_; ALT;
791: { shape coords href target nohref alt }
792: tabindex; accesskey; onfocus; onblur;
793: { tabindex accesskey onfocus onblur }
794: x_coord = Integer; y_coord = Integer; IntWidthPxl;
1.130 vatton 795: IntHeightPxl; AreaRef_IMG = REFERENCE(Any)) =
1.63 cvs 796: GRAPHICS with x_coord ?= 0, y_coord ?= 0,
1.130 vatton 797: IntWidthPxl ?= 25, IntHeightPxl ?= 10;
1.1 cvs 798:
1.72 cvs 799: FRAMESET { FRAMESET }
800: (ATTR RowHeight = Text; ColWidth = Text;
801: { rows cols }
802: onload; onunload) =
803: { onload onunload }
1.59 cvs 804: AGGREGATE
1.72 cvs 805: Frames = LIST [1 .. *] OF (FrameElem = CASE OF
806: FRAME;
807: FRAMESET;
808: END - (NOFRAMES));
809: ? NOFRAMES = BODY + (INS, DEL); { NOFRAMES }
1.59 cvs 810: END;
811:
1.72 cvs 812: FRAME { FRAME }
813: (ATTR longdesc; FrameName = Text; FrameSrc = Text;
814: { longdesc name src }
815: frameborder = Border1, Border0;
816: { frameborder 1 0 }
817: marginwidth = Integer; marginheight = Integer;
818: { marginwidth marginheight }
1.98 cvs 819: no_resize = Yes_; scrolling = Yes_, No_, auto_) =
1.72 cvs 820: { noresize scrolling yes no auto }
1.63 cvs 821: CONSTANT C_Empty;
1.59 cvs 822:
1.63 cvs 823: IFRAME { IFRAME }
1.72 cvs 824: (ATTR longdesc; FrameName; FrameSrc; frameborder;
825: { longdesc name src frameborder }
826: marginwidth; marginheight; scrolling;
827: { marginwidth marginheight scrolling }
828: Alignment; Width__; Height_) =
829: { align width height }
1.63 cvs 830: LIST OF (Element);
1.59 cvs 831:
1.121 cvs 832: ruby = { ruby }
833: CASE OF
834: simple_ruby;
835: complex_ruby;
836: END;
837:
1.124 cvs 838: simple_ruby = { ruby }
1.121 cvs 839: BEGIN
1.122 cvs 840: rb = Basic_Set - (simple_ruby, complex_ruby);
1.145 quint 841: RtOrRtWithPar = CASE OF
1.124 cvs 842: rt (ATTR rbspan = Integer) =
843: Basic_Set - (simple_ruby, complex_ruby);
1.145 quint 844: RtWithPar = BEGIN
1.121 cvs 845: rp = TEXT;
846: rt;
847: rp;
848: END;
849: END;
850: END;
851:
1.124 cvs 852: complex_ruby = { ruby }
1.121 cvs 853: BEGIN
854: rbc = LIST OF (rb);
855: rtc1 = LIST OF (rt);
856: ? rtc2 = LIST OF (rt);
857: END;
858:
1.72 cvs 859: { AnyLink is an alias for all elements with an attribute
860: of type URI. Only elements to be shown in the Links view
861: are taken into account }
862: AnyLink = CASE OF
863: Anchor; { HREF_ }
864: Block_Quote; { cite }
865: Quotation; { cite }
866: INS; { cite }
867: DEL; { cite }
868: END;
869:
1.1 cvs 870: EXCEPT
1.25 cvs 871: HTML: NoMove, NoResize;
1.156 quint 872: BODY: NoCut, CssBackground, NoMove, NoResize,
873: SetWindowBackground;
1.1 cvs 874: HEAD: NoCut;
875: TITLE: NoCut;
1.142 quint 876: Document_URL: Hidden, NoSpellCheck, NoCut;
1.153 quint 877: C_Empty: Hidden, NoSpellCheck, NoSelect;
1.118 cvs 878: C_BR: SelectParent;
1.77 cvs 879: Head_misc: Hidden;
1.72 cvs 880: Frames: Hidden;
1.68 cvs 881: Frame: Hidden, NoCut;
1.74 cvs 882: FRAMESET: NoCreate; { prevent a Return at the end of the
883: document from creating a FRAMESET }
1.68 cvs 884: Inserted_Text: Hidden, NoCut;
885: Basic_Set: Hidden;
1.132 cvs 886: Definition_Item:Hidden;
1.68 cvs 887: Term_List: Hidden;
1.132 cvs 888: Definitions: Hidden;
1.155 cvs 889: XMLPI: ReturnCreateNL, NoReplicate;
890: Comment\240: ReturnCreateNL, NoReplicate;
1.153 quint 891: Comment_line: Hidden, NoSpellCheck;
892: PI_line: Hidden, NoSpellCheck;
1.144 cvs 893: DOCTYPE: NoCut;
1.153 quint 894: DOCTYPE_line: Hidden, NoSpellCheck, NoCut;
1.140 cvs 895: CDATA_line: Hidden;
1.1 cvs 896: GRAPHICS: NoMove, NoResize;
1.41 cvs 897: TEXT: NoMove, NoResize;
1.26 cvs 898: PICTURE: MoveResize;
1.63 cvs 899: Invalid_element:NoCreate;
1.127 cvs 900: Unknown_namespace:NoCreate;
1.63 cvs 901: Pseudo_paragraph: ParagraphBreak, Hidden;
1.117 kahan 902: Basic_Elem: Hidden;
1.1 cvs 903: Paragraph: ParagraphBreak;
904: H1: ParagraphBreak;
905: H2: ParagraphBreak;
906: H3: ParagraphBreak;
907: H4: ParagraphBreak;
908: H5: ParagraphBreak;
909: H6: ParagraphBreak;
910: Address: ParagraphBreak;
911: Term: ParagraphBreak;
912: MAP: IsDraw;
1.158 quint 913: AREA: MoveResize, ClickableSurface, HighlightChildren;
1.70 cvs 914: Password_Input: Shadow;
1.146 vatton 915: Preformatted: ReturnCreateNL, NoReplicate;
916: STYLE_: ReturnCreateNL, NoReplicate;
917: SCRIPT_: ReturnCreateNL, NoReplicate;
918: Text_Area: ReturnCreateNL, NoReplicate;
1.68 cvs 919: HTMLfragment: NoMove, NoResize, Hidden;
1.147 vatton 920: Division: NoMove, NoResize;
1.1 cvs 921:
1.29 cvs 922: ExternalLink: Invisible;
1.15 cvs 923: InternalLink: Invisible;
1.44 cvs 924: IntWidthPercent:NewPercentWidth, Invisible;
925: IntWidthPxl: NewWidth, Invisible;
1.129 vatton 926: IntHeightPercent: Invisible;
927: IntHeightPxl: NewHeight, Invisible;
1.1 cvs 928: IntItemStyle: Invisible;
929: IntSizeIncr: Invisible;
930: IntSizeDecr: Invisible;
931: IntSizeRel: Invisible;
1.93 cvs 932: IsInput: Invisible;
1.1 cvs 933: x_coord: Invisible, NewHPos;
934: y_coord: Invisible, NewVPos;
935: Ref_IMG: Invisible;
936: AreaRef_IMG: Invisible;
937: Invalid_attribute: Invisible;
1.127 cvs 938: Unknown_attribute: Invisible;
1.90 cvs 939: Highlight: Invisible;
1.87 cvs 940: PseudoClass: Invisible, CssPseudoClass;
1.1 cvs 941: Default_Value: Invisible;
1.63 cvs 942: DefaultSelected:Invisible;
1.1 cvs 943: DefaultChecked: Invisible;
1.17 cvs 944: SectionNumbering:Invisible;
1.22 cvs 945: ShowAreas: Invisible;
1.83 cvs 946: PrintURL: Invisible;
1.151 vatton 947: NoImages: Invisible;
1.65 cvs 948: Namespaces: Invisible;
1.92 cvs 949: RealLang: Invisible;
1.101 cvs 950: Charset: Invisible;
1.143 cvs 951: PI: Invisible;
1.50 cvs 952: shape: Invisible;
1.44 cvs 953: Data_cell: IsCell, NoMove, NoResize;
954: Heading_cell: IsCell, NoMove, NoResize;
1.146 vatton 955: Table: IsTable, PageBreak, NoReplicate;
1.68 cvs 956: Column_head: IsColHead, NoCut, Hidden;
1.75 cvs 957: Table_head: NoCut, Hidden, NoSelect;
958: C_Head: Hidden, NoSelect;
959: Table_foot: NoCut, Hidden, NoSelect, PageBreakRepBefore;
960: C_Foot: Hidden, NoSelect;
1.85 cvs 961: Cols: Hidden, NoSelect;
1.38 cvs 962: Table_body: PageBreakAllowed, Hidden;
1.44 cvs 963: Table_row: IsRow, PageBreakPlace;
1.1 cvs 964: ColExt: Invisible;
1.2 cvs 965: RowExt: Invisible;
1.44 cvs 966: Ref_column: ColRef, Invisible;
967: colspan_: ColSpan;
968: rowspan_: RowSpan;
1.68 cvs 969: Object_Content: Hidden, NoCreate, NoCut;
1.1 cvs 970: Ghost_restruct: Invisible;
1.100 cvs 971: IntEntity: Invisible;
972: EntityName: Invisible;
1.82 cvs 973: onclick: EventAttr;
974: ondblclick: EventAttr;
975: onmousedown: EventAttr;
976: onmouseup: EventAttr;
977: onmouseover: EventAttr;
978: onmousemove: EventAttr;
979: onmouseout: EventAttr;
980: onkeypress: EventAttr;
981: onkeydown: EventAttr;
982: onkeyup: EventAttr;
1.134 cvs 983: onload: EventAttr;
984: onunload: EventAttr;
985: onfocus: EventAttr;
986: onblur: EventAttr;
987: onsubmit: EventAttr;
988: onreset: EventAttr;
989: onchange: EventAttr;
990: onselect: EventAttr;
1.87 cvs 991: ID : CssId;
992: Class: CssClass;
1.123 cvs 993: SVG_ImageContent: Hidden;
1.145 quint 994: Embed_Content: Hidden, NoSelect;
1.63 cvs 995:
1.1 cvs 996: END
Webmaster