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