Annotation of Amaya/amaya/HTML.S, revision 1.180
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.167 gully 36: NoImages = Yes_;
37: NoObjects = Yes_;
1.1 cvs 38:
39: CONST
1.59 cvs 40:
1.1 cvs 41: C_Empty = ' ';
42: C_Foot = ' ';
43: C_Head = ' ';
1.64 cvs 44: C_BR = '\12';
1.1 cvs 45:
46: STRUCT
1.59 cvs 47:
1.63 cvs 48: HTML { HTML }
1.167 gully 49: (ATTR SectionNumbering = Yes_; ShowAreas = Yes_;
1.143 cvs 50: PrintURL = Yes_; PI = Text;
1.101 cvs 51: Namespaces = Text; RealLang = Yes_; Charset = Text) =
1.17 cvs 52: BEGIN
1.1 cvs 53: HEAD;
1.109 cvs 54: ? BODY; { only one of BODY, document type }
1.72 cvs 55: ? FRAMESET;
1.164 cvs 56: END + (Invalid_element, Unknown_namespace, XHTML_Unknown_namespace, Comment\240, XMLPI, CDATA);
1.136 cvs 57:
1.59 cvs 58: BODY { BODY }
1.63 cvs 59: (ATTR onload = Text; onunload = Text;
60: { onload onunload }
61: background_ = Text; BackgroundColor = Text;
62: { background bgcolor }
63: TextColor = Text; LinkColor = Text;
64: { text link }
65: VisitedLinkColor = Text; ActiveLinkColor = Text) =
66: { vlink alink }
67: LIST OF (Element) + (INS, DEL);
1.1 cvs 68:
1.163 vatton 69: Invalid_element = TEXT;
1.113 cvs 70:
1.127 cvs 71: Unknown_namespace = TEXT;
72:
1.164 cvs 73: XHTML_Unknown_namespace = TEXT;
74:
1.1 cvs 75: Comment\240 = LIST OF (Comment_line = TEXT);
76:
1.161 cvs 77: XMLPI (ATTR is_css = Text) = LIST OF (PI_line = TEXT);
1.140 cvs 78:
79: CDATA = LIST OF (CDATA_line = TEXT);
1.136 cvs 80:
81: DOCTYPE = LIST OF (DOCTYPE_line = TEXT);
1.113 cvs 82:
1.63 cvs 83: HEAD { HEAD }
84: (ATTR profile = Text) =
85: AGGREGATE
1.180 ! quint 86: Document_URL = TEXT - (STYLE_, SCRIPT_, META, LINK);
! 87: TITLE = TEXT - (STYLE_, SCRIPT_, META, LINK); { TITLE }
1.63 cvs 88: ? ISINDEX (ATTR Prompt = Text) = CONSTANT C_Empty; { ISINDEX }
89: { prompt }
90: ? BASE; { BASE }
1.180 ! quint 91: END + (Object, STYLE_, SCRIPT_, META, LINK);
1.63 cvs 92:
1.64 cvs 93: STYLE_ { STYLE }
94: (ATTR Notation = Text; media = Text) =
95: { type media }
96: TEXT;
97:
1.138 vatton 98: SCRIPT_ { SCRIPT }
1.63 cvs 99: (ATTR charset = Text; !content_type = Text;
100: { charset type }
1.160 cvs 101: script_language = Text; script_src = Text;
102: { language src }
1.63 cvs 103: defer = Yes_; event = Text; for_ = Text) =
104: { defer event for }
105: TEXT;
1.59 cvs 106:
107: META { META }
1.63 cvs 108: (ATTR http_equiv = Text;
109: { http-equiv }
1.96 cvs 110: meta_name = Text; meta_content = Text;
111: { name content }
1.63 cvs 112: scheme = Text) =
113: { scheme }
114: CONSTANT C_Empty;
1.1 cvs 115:
1.63 cvs 116: LINK { LINK }
117: (ATTR charset; HREF_ = Text; hreflang = Text;
118: { charset href hreflang }
119: Link_type = Text; REL = Text; REV = Text;
120: { type rel rev }
121: media; target_ = Text) =
122: { media target }
123: CONSTANT C_Empty;
124:
125: BASE { BASE }
126: (ATTR !HREF_; target_) =
127: { href target }
128: CONSTANT C_Empty;
1.1 cvs 129:
1.59 cvs 130: Element = CASE OF { block }
131: Paragraph; { P }
1.20 cvs 132: Pseudo_paragraph;
1.59 cvs 133: Heading; { heading }
134: List_; { list + DL }
135: Preformatted; { PRE preformatted }
136: Division; { DIV }
137: Center; { CENTER }
1.62 cvs 138: NOSCRIPT = LIST OF (Element); { NOSCRIPT }
1.63 cvs 139: Block_Quote; { BLOCKQUOTE }
1.59 cvs 140: Form; { FORM }
141: ISINDEX; { ISINDEX }
1.63 cvs 142: Horizontal_Rule; { HR }
1.59 cvs 143: Table; { TABLE }
1.166 quint 144: FIELDSET; { FIELDSET }
1.179 quint 145: Address; { ADDRESS }
1.59 cvs 146: PICTURE { IMG }
1.63 cvs 147: (ATTR SRC = Text; ALT = Text; longdesc = Text;
148: { src alt longdesc }
1.129 vatton 149: Height_ = Text; Width__ = Text;
1.162 quint 150: { height width }
1.63 cvs 151: IntWidthPercent = Integer; IntWidthPxl = Integer;
1.129 vatton 152: IntHeightPercent = Integer; IntHeightPxl = Integer;
1.94 cvs 153: USEMAP = Text; ISMAP = Yes_;
1.63 cvs 154: { usemap ismap }
1.94 cvs 155: IsInput = Yes_; NAME = Text;
156: { input type=IMAGE name }
1.63 cvs 157: Alignment = Top_, Middle_, Bottom_, Left_, Right_;
158: { align top middle bottom left right }
159: Img_border = Integer;
160: { border }
161: hspace = Integer; vspace = Integer);
162: { hspace vspace }
1.59 cvs 163: Object; { OBJECT }
1.60 cvs 164: Applet; { APPLET }
1.108 cvs 165: MathML; { MATH }
1.126 vatton 166: SVG; { SVG }
1.125 vatton 167: map; MAP; { MAP }
1.111 kahan 168: XLink; { Annotations }
1.123 cvs 169: SVG_Image { GRAPHIC }
170: (ATTR SRC; ALT; longdesc;
171: { src alt longdesc }
172: Height_; Width__;
173: { height width }
174: IntWidthPercent; IntWidthPxl;
1.129 vatton 175: IntHeightPercent; IntHeightPxl;
1.123 cvs 176: USEMAP; ISMAP;
177: { usemap ismap }
178: IsInput; NAME;
179: { input type=IMAGE name }
180: Alignment;
181: { align top middle bottom left right }
182: Img_border;
183: { border }
184: hspace; vspace) =
185: { hspace vspace }
186: SVG_ImageContent;
1.141 quint 187: Embed_ { EMBED }
1.128 cvs 188: (ATTR SRC;
189: Alignment;
190: { align top bottom left right }
191: Height_; Width__;
192: { height width }
193: EmbedHidden = Yes_, No_;
1.154 quint 194: { hidden yes no }
1.148 cvs 195: EmbedName = Text;
1.154 quint 196: { name }
1.148 cvs 197: hspace; vspace;
1.128 cvs 198: { hspace vspace }
1.148 cvs 199: Embed_type = Text;
1.154 quint 200: { type }
1.175 quint 201: pluginspage = Text;
202: pluginurl = Text;
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.179 quint 229: { Paragraph must be the first element defined as a Basic_Set, to make
230: sure that the editor will create a Paragraph when the user wants to
231: create a Basic_Elem }
1.59 cvs 232: Paragraph { P }
1.63 cvs 233: (ATTR TextAlign = left_, center_, right_, justify_) =
234: { align left center right justify }
235: Basic_Set;
236:
1.179 quint 237: Address = Basic_Set;
238:
1.59 cvs 239: Pseudo_paragraph = Basic_Set;
240:
241: Heading = CASE OF { heading }
242: H1 (ATTR TextAlign) = Basic_Set; { H1 }
243: { align }
244: H2 (ATTR TextAlign) = Basic_Set; { H2 }
245: H3 (ATTR TextAlign) = Basic_Set; { H3 }
246: H4 (ATTR TextAlign) = Basic_Set; { H4 }
247: H5 (ATTR TextAlign) = Basic_Set; { H5 }
248: H6 (ATTR TextAlign) = Basic_Set; { H6 }
1.1 cvs 249: END;
250:
1.63 cvs 251: Preformatted { PRE }
252: (ATTR Width__; IntWidthPercent; IntWidthPxl) =
253: { width }
254: Basic_Set
1.59 cvs 255: - (PICTURE, Object, Applet,
256: Big_text, Small_text, Subscript, Superscript,
1.123 cvs 257: Font_, BaseFont, SVG_Image);
1.59 cvs 258:
1.63 cvs 259: Anchor { A }
1.94 cvs 260: (ATTR charset; Link_type; NAME;
1.63 cvs 261: { charset type name }
262: HREF_; hreflang; target_;
263: { href hreflang target}
264: REL; REV; accesskey = Text;
265: { rel rev accesskey }
266: shape = rectangle, circle, polygon, default_;
267: { shape rect cirecle poly default }
268: coords = Text; tabindex = Integer;
269: { coords tabindex }
270: onfocus = Text; onblur = Text;
1.76 cvs 271: { onfocus onblur }
1.89 cvs 272: InternalLink; ExternalLink;
1.112 kahan 273: { InternalLink ExternalLink }) =
1.63 cvs 274: Basic_Set;
1.1 cvs 275:
1.63 cvs 276: Basic_Elem = CASE OF { special }
1.1 cvs 277: TEXT;
1.63 cvs 278: Font; { fontstyle }
279: Phrase; { phrase }
1.166 quint 280: Form_Element; { formctrl }
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.166 quint 488: LIST OF (Element) + (Input) - (Form);
1.1 cvs 489:
490: Form_Element = CASE OF
1.166 quint 491: Input; { INPUT }
1.59 cvs 492: Option_Menu; { SELECT }
1.63 cvs 493: Text_Area; { TEXTAREA }
1.166 quint 494: LABEL; { LABEL }
495: BUTTON_; { BUTTON }
1.1 cvs 496: END;
497:
1.63 cvs 498: Option_Menu { SELECT }
499: (ATTR !NAME; MenuSize = Integer; Multiple = Yes_;
500: { name size multiple }
501: disabled = Yes_; tabindex; onfocus; onblur;
502: { disabled tabindex onfocus onblur}
503: onchange = Text) =
504: { onchange }
1.91 cvs 505: LIST OF (Option_item = CASE OF Option; OptGroup; END) - (Input);
1.63 cvs 506:
507: Option { OPTION }
508: (ATTR Selected = Yes_; DefaultSelected = Yes_;
509: { selected }
510: disabled; label = Text; !Value_ = Text) =
511: { disabled label value }
1.1 cvs 512: TEXT;
1.76 cvs 513:
514: OptGroup { OPTGROUP }
1.78 cvs 515: (ATTR disabled; !label) =
516: { disabled label }
1.76 cvs 517: LIST OF (Option);
1.1 cvs 518:
1.63 cvs 519: Text_Area { TEXTAREA }
520: (ATTR !NAME; Rows = Integer; Columns = Integer;
521: { name rows cols }
522: disabled; readonly = Yes_; tabindex; accesskey;
523: { disabled readonly tabindex accesskey }
524: onfocus; onblur; onselect = Text; onchange;
525: { onfocus onblur onselect onchange }
526: Default_Value = Text) =
1.177 quint 527: Input_Text - (Input) with Rows ?= 4, Columns ?= 20;
1.63 cvs 528:
1.79 cvs 529: FIELDSET = { FIELDSET }
530: BEGIN
531: LEGEND;
532: Basic_Set;
533: END;
534:
535: LEGEND { LEGEND }
536: (ATTR accesskey; LAlign = Top_, Bottom_, Left_, Right_) =
537: { accesskey align top bottom left right }
538: Basic_Set;
539:
1.62 cvs 540: Input = CASE OF { formctrl }
1.63 cvs 541: Text_Input { INPUT / TEXT }
542: (ATTR !NAME; Value_; disabled; readonly;
543: { name value disabled readonly }
544: Area_Size = Integer; MaxLength = Integer;
545: { size maxlength }
1.162 quint 546: IntAreaSize = Integer;
1.63 cvs 547: tabindex; accesskey;
548: { tabindex accesskey }
1.66 cvs 549: onfocus; onblur; onselect; onchange;
1.63 cvs 550: { onfocus onblur onselect onchange }
1.66 cvs 551: Default_Value) =
1.177 quint 552: Input_Text - (Input);
1.63 cvs 553: Password_Input { INPUT / PASSWORD }
1.66 cvs 554: (ATTR !NAME; Value_; disabled; readonly;
555: { name value disabled readonly }
1.162 quint 556: Area_Size; IntAreaSize; MaxLength;
557: { size maxlength }
1.66 cvs 558: tabindex; accesskey;
559: { tabindex accesskey }
560: onfocus; onblur; onselect; onchange;
561: { onfocus onblur onselect onchange }
562: Default_Value) =
1.177 quint 563: Input_Text - (Input);
1.68 cvs 564: File_Input { INPUT / FILE }
565: (ATTR !NAME; Value_; disabled; readonly;
566: { name value disabled readonly }
1.162 quint 567: Area_Size; IntAreaSize; MaxLength;
568: { size maxlength }
1.68 cvs 569: tabindex; accesskey;
570: { tabindex accesskey }
571: onfocus; onblur; accept = Text;
572: { onfocus onblur }
573: Default_Value) =
1.177 quint 574: Input_Text - (Input);
1.59 cvs 575: Checkbox_Input { INPUT / CHECKBOX }
1.63 cvs 576: (ATTR !NAME; Value_; Checked = Yes_, No_;
1.66 cvs 577: { name value checked }
1.63 cvs 578: disabled; readonly;
579: { disabled readonly }
580: tabindex; accesskey; onfocus; onblur;
581: { tabindex accesskey onfocus onblur }
582: DefaultChecked = Yes_, No_) =
1.1 cvs 583: CONSTANT C_Empty with Checked ?= No_;
1.59 cvs 584: Radio_Input { INPUT / RADIO }
1.63 cvs 585: (ATTR !NAME; !Value_; Checked; disabled;
586: { name value checked disabled }
587: readonly; tabindex; accesskey;
588: { readonly tabindex accesskey }
589: onfocus; onblur;
590: { onfocus onblur }
591: DefaultChecked) =
592: CONSTANT C_Empty with Checked ?= No_,
593: NAME ?= 'radio';
594: Submit_Input { INPUT / SUBMIT }
595: (ATTR NAME; Value_; disabled; readonly;
596: { name value disabled; readonly }
597: tabindex; accesskey;
598: { tabindex accesskey }
599: onfocus; onblur) =
600: { onfocus onblur }
601: BEGIN
1.99 cvs 602: CONSTANT C_Empty;
1.63 cvs 603: END with Value_ ?= 'Submit';
604: Reset_Input { INPUT / RESET }
605: (ATTR NAME; Value_; disabled; readonly;
606: { name value disabled readonly }
607: tabindex; accesskey;
608: { tabindex accesskey }
609: onfocus; onblur) =
610: { onfocus onblur }
611: BEGIN
1.99 cvs 612: CONSTANT C_Empty;
1.68 cvs 613: END - (Input) with NAME ?= 'Reset',
614: Value_ ?= 'Reset';
615: Button_Input { INPUT / BUTTON }
1.66 cvs 616: (ATTR !NAME; Value_; disabled; readonly;
617: { name value disabled readonly }
1.63 cvs 618: tabindex; accesskey;
619: { tabindex accesskey }
1.68 cvs 620: onfocus; onblur) =
1.63 cvs 621: { onfocus onblur }
1.68 cvs 622: BEGIN
1.99 cvs 623: CONSTANT C_Empty;
1.68 cvs 624: END;
1.79 cvs 625:
1.120 cvs 626: BUTTON_ { BUTTON }
1.68 cvs 627: (ATTR !NAME; Value_;
628: { name value }
629: Button_type = button, submit, reset;
630: { type button submit reset }
631: disabled; tabindex; accesskey;
632: { disabled tabindex accesskey }
633: onfocus; onblur) =
634: { onfocus onblur }
1.79 cvs 635: Basic_Set - (Anchor, Input, Form, FIELDSET, IFRAME);
1.68 cvs 636: LABEL { LABEL }
637: (ATTR Associated_control = TEXT;
638: { for }
639: accesskey; onfocus; onblur) =
640: { accesskey onfocus onblur }
1.71 cvs 641: Basic_Set;
1.63 cvs 642: Hidden_Input { INPUT / HIDDEN }
1.68 cvs 643: (ATTR !NAME; Value_; disabled;
644: { name value disabled }
1.63 cvs 645: tabindex; accesskey;
646: { tabindex accesskey }
647: onfocus; onblur) =
648: { onfocus onblur }
649: CONSTANT C_Empty;
1.59 cvs 650: Option_Menu; { SELECT }
651: Text_Area; { TEXTAREA }
1.8 cvs 652: END;
1.1 cvs 653:
1.177 quint 654: Input_Text = BEGIN
1.1 cvs 655: Inserted_Text = TEXT;
656: END;
657:
1.63 cvs 658: Table_row { TR }
659: (ATTR Cell_align = Cell_left, Cell_center, Cell_right,
660: { align left center right }
661: Cell_justify, Cell_char;
662: { justify char }
663: char = Text; charoff = Text;
664: { char charoff }
665: Row_valign = Row_top, Row_middle, Row_bottom, Row_baseline;
666: { valign top middle bottom baseline }
1.129 vatton 667: BackgroundColor; IntHeightPxl) =
1.71 cvs 668: { bgcolor Special attribute to control row span }
1.63 cvs 669: LIST OF (Table_cell);
670:
671: Table { TABLE }
672: (ATTR summary = Text; Width__; Border = Integer;
673: { summary width border }
674: frame = void, above, below, hsides, lhs, rhs,
675: { frame void above below hsides lhs rhs }
676: vsides, box, border;
677: { vsides box border }
1.97 cvs 678: rules_ = none_, groups, rows, cols, all;
679: { rules none groups rows cols all }
1.63 cvs 680: cellspacing = Integer; cellpadding = Integer;
681: { cellspacing cellpadding }
682: Align; BackgroundColor;
683: { align bgcolor }
684: datapagesize = Text; IntWidthPxl; IntWidthPercent) =
685: { datapagesize }
1.1 cvs 686: BEGIN
1.84 cvs 687: CAPTION; { CAPTION }
1.115 cvs 688: ? Cols = LIST OF (Col_elem = CASE OF
1.85 cvs 689: COL; { COL }
690: COLGROUP; { COLGROUP }
691: END);
1.1 cvs 692: Table_head = LIST OF (Column_head);
1.63 cvs 693: ? thead; { THEAD }
694: Table_body = LIST OF (tbody);
695: ? tfoot; { TFOOT }
1.1 cvs 696: Table_foot = CONSTANT C_Foot;
1.49 cvs 697: END;
1.63 cvs 698:
699: CAPTION { CAPTION }
700: (ATTR Position = Position_top, Position_bottom,
701: { align top bottom }
702: Position_left, Position_right) =
703: { left right }
704: Basic_Set;
705:
1.44 cvs 706: Column_head (ATTR IntWidthPercent; IntWidthPxl) =
707: CONSTANT C_Head;
1.63 cvs 708:
709: thead { THEAD }
710: (ATTR Cell_align; char; charoff; Row_valign) =
711: LIST OF (Table_row);
712:
713: tbody { TBODY }
714: (ATTR Cell_align; char; charoff; Row_valign) =
715: LIST OF (Table_row);
716:
717: tfoot { TFOOT }
718: (ATTR Cell_align; char; charoff; Row_valign) =
719: LIST OF (Table_row);
720:
1.1 cvs 721: Table_cell = CASE OF
1.63 cvs 722: Data_cell; { TD }
723: Heading_cell; { TH }
724: END;
725:
726: Data_cell { TD }
727: (ATTR Ref_column = REFERENCE(Column_head);
728: ColExt = REFERENCE(Column_head);
729: RowExt = REFERENCE(Table_row);
730: abbr = Text; axis = Text; headers = Text; scope = Text;
731: { abbr axis headers scope }
732: rowspan_ = INTEGER; colspan_ = INTEGER;
733: { rowspan colspan }
734: Cell_align; char; charoff;
735: { align char charoff }
736: Cell_valign = Cell_top, Cell_middle, Cell_bottom, Cell_baseline;
737: { valign top middle bottom baseline }
738: No_wrap = no_wrap; BackgroundColor;
739: { nowrap bgcolor }
1.129 vatton 740: Width__; IntWidthPxl; IntWidthPercent;
741: Height_; IntHeightPercent; IntHeightPxl;) =
1.63 cvs 742: { width height }
743: LIST OF (Element);
744:
745: Heading_cell { TH }
746: (ATTR Ref_column; ColExt; RowExt;
747: abbr; axis; headers; scope;
748: { abbr axis headers scope }
749: rowspan_; colspan_;
750: { rowspan colspan }
751: Cell_align; char; charoff; Cell_valign;
752: { align char charoff valign }
753: No_wrap; BackgroundColor;
754: { nowrap bgcolor }
1.129 vatton 755: Width__; IntWidthPxl; IntWidthPercent;
756: Height_; IntHeightPercent; IntHeightPxl) =
1.63 cvs 757: { width height }
758: LIST OF (Element);
759:
1.85 cvs 760: COLGROUP { COLGROUP }
761: (ATTR Cell_align; Cell_valign; Width__; span_ = Integer)
762: { align valign width span }
763: = LIST OF (COL);
764:
765: COL { COL }
766: (ATTR Cell_align; Cell_valign; Width__; span_)
767: { align valign width span }
768: = CONSTANT C_Empty;
769:
1.63 cvs 770: MAP { MAP }
771: (ATTR NAME; Ref_IMG = REFERENCE(Any)) =
1.125 vatton 772: { name linked to an image}
1.145 quint 773: LIST OF (ElemOrArea = CASE OF Element; AREA; END);
1.125 vatton 774:
775: map { MAP }
776: (ATTR NAME) =
1.63 cvs 777: { name }
1.176 vatton 778: LIST OF (Element);
1.63 cvs 779:
780: AREA { AREA }
781: (ATTR shape; coords; HREF_; target_; nohref = Yes_; ALT;
782: { shape coords href target nohref alt }
783: tabindex; accesskey; onfocus; onblur;
784: { tabindex accesskey onfocus onblur }
785: x_coord = Integer; y_coord = Integer; IntWidthPxl;
1.130 vatton 786: IntHeightPxl; AreaRef_IMG = REFERENCE(Any)) =
1.63 cvs 787: GRAPHICS with x_coord ?= 0, y_coord ?= 0,
1.130 vatton 788: IntWidthPxl ?= 25, IntHeightPxl ?= 10;
1.1 cvs 789:
1.72 cvs 790: FRAMESET { FRAMESET }
791: (ATTR RowHeight = Text; ColWidth = Text;
792: { rows cols }
793: onload; onunload) =
794: { onload onunload }
1.59 cvs 795: AGGREGATE
1.72 cvs 796: Frames = LIST [1 .. *] OF (FrameElem = CASE OF
797: FRAME;
798: FRAMESET;
799: END - (NOFRAMES));
800: ? NOFRAMES = BODY + (INS, DEL); { NOFRAMES }
1.59 cvs 801: END;
802:
1.72 cvs 803: FRAME { FRAME }
804: (ATTR longdesc; FrameName = Text; FrameSrc = Text;
805: { longdesc name src }
806: frameborder = Border1, Border0;
807: { frameborder 1 0 }
808: marginwidth = Integer; marginheight = Integer;
809: { marginwidth marginheight }
1.98 cvs 810: no_resize = Yes_; scrolling = Yes_, No_, auto_) =
1.72 cvs 811: { noresize scrolling yes no auto }
1.63 cvs 812: CONSTANT C_Empty;
1.59 cvs 813:
1.63 cvs 814: IFRAME { IFRAME }
1.72 cvs 815: (ATTR longdesc; FrameName; FrameSrc; frameborder;
816: { longdesc name src frameborder }
817: marginwidth; marginheight; scrolling;
818: { marginwidth marginheight scrolling }
819: Alignment; Width__; Height_) =
820: { align width height }
1.63 cvs 821: LIST OF (Element);
1.59 cvs 822:
1.121 cvs 823: ruby = { ruby }
824: CASE OF
825: simple_ruby;
826: complex_ruby;
827: END;
828:
1.124 cvs 829: simple_ruby = { ruby }
1.121 cvs 830: BEGIN
1.122 cvs 831: rb = Basic_Set - (simple_ruby, complex_ruby);
1.145 quint 832: RtOrRtWithPar = CASE OF
1.124 cvs 833: rt (ATTR rbspan = Integer) =
834: Basic_Set - (simple_ruby, complex_ruby);
1.145 quint 835: RtWithPar = BEGIN
1.121 cvs 836: rp = TEXT;
837: rt;
838: rp;
839: END;
840: END;
841: END;
842:
1.124 cvs 843: complex_ruby = { ruby }
1.121 cvs 844: BEGIN
845: rbc = LIST OF (rb);
846: rtc1 = LIST OF (rt);
847: ? rtc2 = LIST OF (rt);
848: END;
849:
1.72 cvs 850: { AnyLink is an alias for all elements with an attribute
851: of type URI. Only elements to be shown in the Links view
852: are taken into account }
853: AnyLink = CASE OF
854: Anchor; { HREF_ }
855: Block_Quote; { cite }
856: Quotation; { cite }
857: INS; { cite }
858: DEL; { cite }
859: END;
860:
1.1 cvs 861: EXCEPT
1.25 cvs 862: HTML: NoMove, NoResize;
1.156 quint 863: BODY: NoCut, CssBackground, NoMove, NoResize,
1.170 quint 864: SetWindowBackground, NoBreakByReturn;
1.1 cvs 865: HEAD: NoCut;
866: TITLE: NoCut;
1.142 quint 867: Document_URL: Hidden, NoSpellCheck, NoCut;
1.153 quint 868: C_Empty: Hidden, NoSpellCheck, NoSelect;
1.118 cvs 869: C_BR: SelectParent;
1.72 cvs 870: Frames: Hidden;
1.74 cvs 871: FRAMESET: NoCreate; { prevent a Return at the end of the
872: document from creating a FRAMESET }
1.68 cvs 873: Inserted_Text: Hidden, NoCut;
874: Basic_Set: Hidden;
1.132 cvs 875: Definition_Item:Hidden;
1.68 cvs 876: Term_List: Hidden;
1.132 cvs 877: Definitions: Hidden;
1.155 cvs 878: XMLPI: ReturnCreateNL, NoReplicate;
879: Comment\240: ReturnCreateNL, NoReplicate;
1.153 quint 880: Comment_line: Hidden, NoSpellCheck;
881: PI_line: Hidden, NoSpellCheck;
1.144 cvs 882: DOCTYPE: NoCut;
1.153 quint 883: DOCTYPE_line: Hidden, NoSpellCheck, NoCut;
1.140 cvs 884: CDATA_line: Hidden;
1.1 cvs 885: GRAPHICS: NoMove, NoResize;
1.41 cvs 886: TEXT: NoMove, NoResize;
1.26 cvs 887: PICTURE: MoveResize;
1.63 cvs 888: Invalid_element:NoCreate;
1.127 cvs 889: Unknown_namespace:NoCreate;
1.164 cvs 890: XHTML_Unknown_namespace:NoCreate;
1.178 quint 891: BR: IsBreak;
1.63 cvs 892: Pseudo_paragraph: ParagraphBreak, Hidden;
1.117 kahan 893: Basic_Elem: Hidden;
1.1 cvs 894: Paragraph: ParagraphBreak;
895: H1: ParagraphBreak;
896: H2: ParagraphBreak;
897: H3: ParagraphBreak;
898: H4: ParagraphBreak;
899: H5: ParagraphBreak;
900: H6: ParagraphBreak;
901: Address: ParagraphBreak;
902: Term: ParagraphBreak;
903: MAP: IsDraw;
1.158 quint 904: AREA: MoveResize, ClickableSurface, HighlightChildren;
1.70 cvs 905: Password_Input: Shadow;
1.146 vatton 906: Preformatted: ReturnCreateNL, NoReplicate;
907: STYLE_: ReturnCreateNL, NoReplicate;
908: SCRIPT_: ReturnCreateNL, NoReplicate;
909: Text_Area: ReturnCreateNL, NoReplicate;
1.170 quint 910: HTMLfragment: NoMove, NoResize, Hidden, NoBreakByReturn;
1.147 vatton 911: Division: NoMove, NoResize;
1.169 vatton 912: Form: NoReplicate;
1.1 cvs 913:
1.29 cvs 914: ExternalLink: Invisible;
1.15 cvs 915: InternalLink: Invisible;
1.44 cvs 916: IntWidthPercent:NewPercentWidth, Invisible;
917: IntWidthPxl: NewWidth, Invisible;
1.129 vatton 918: IntHeightPercent: Invisible;
919: IntHeightPxl: NewHeight, Invisible;
1.162 quint 920: IntAreaSize: Invisible;
1.1 cvs 921: IntItemStyle: Invisible;
922: IntSizeIncr: Invisible;
923: IntSizeDecr: Invisible;
924: IntSizeRel: Invisible;
1.93 cvs 925: IsInput: Invisible;
1.1 cvs 926: x_coord: Invisible, NewHPos;
927: y_coord: Invisible, NewVPos;
928: Ref_IMG: Invisible;
929: AreaRef_IMG: Invisible;
930: Invalid_attribute: Invisible;
1.127 cvs 931: Unknown_attribute: Invisible;
1.90 cvs 932: Highlight: Invisible;
1.87 cvs 933: PseudoClass: Invisible, CssPseudoClass;
1.1 cvs 934: Default_Value: Invisible;
1.63 cvs 935: DefaultSelected:Invisible;
1.1 cvs 936: DefaultChecked: Invisible;
1.17 cvs 937: SectionNumbering:Invisible;
1.22 cvs 938: ShowAreas: Invisible;
1.83 cvs 939: PrintURL: Invisible;
1.151 vatton 940: NoImages: Invisible;
1.167 gully 941: NoObjects: Invisible;
1.65 cvs 942: Namespaces: Invisible;
1.92 cvs 943: RealLang: Invisible;
1.101 cvs 944: Charset: Invisible;
1.143 cvs 945: PI: Invisible;
1.50 cvs 946: shape: Invisible;
1.170 quint 947: Data_cell: IsCell, NoMove, NoResize, NoBreakByReturn;
948: Heading_cell: IsCell, NoMove, NoResize, NoBreakByReturn;
1.174 quint 949: Table: IsTable, PageBreak, NoReplicate, NoBreakByReturn;
950: Column_head: IsColHead, NoCut, Hidden, NoBreakByReturn;
951: Table_head: NoCut, Hidden, NoSelect, NoBreakByReturn;
1.75 cvs 952: C_Head: Hidden, NoSelect;
953: Table_foot: NoCut, Hidden, NoSelect, PageBreakRepBefore;
954: C_Foot: Hidden, NoSelect;
1.85 cvs 955: Cols: Hidden, NoSelect;
1.173 quint 956: Table_body: PageBreakAllowed, Hidden, NoBreakByReturn;
1.174 quint 957: thead: NoBreakByReturn;
1.172 quint 958: tbody: NoBreakByReturn;
1.174 quint 959: tfoot: NoBreakByReturn;
1.171 quint 960: Table_row: IsRow, PageBreakPlace, NoBreakByReturn;
1.170 quint 961: IFRAME: NoBreakByReturn;
1.1 cvs 962: ColExt: Invisible;
1.2 cvs 963: RowExt: Invisible;
1.44 cvs 964: Ref_column: ColRef, Invisible;
965: colspan_: ColSpan;
966: rowspan_: RowSpan;
1.170 quint 967: Object_Content: Hidden, NoCreate, NoCut, NoBreakByReturn;
1.1 cvs 968: Ghost_restruct: Invisible;
1.100 cvs 969: IntEntity: Invisible;
970: EntityName: Invisible;
1.82 cvs 971: onclick: EventAttr;
972: ondblclick: EventAttr;
973: onmousedown: EventAttr;
974: onmouseup: EventAttr;
975: onmouseover: EventAttr;
976: onmousemove: EventAttr;
977: onmouseout: EventAttr;
978: onkeypress: EventAttr;
979: onkeydown: EventAttr;
980: onkeyup: EventAttr;
1.134 cvs 981: onload: EventAttr;
982: onunload: EventAttr;
983: onfocus: EventAttr;
984: onblur: EventAttr;
985: onsubmit: EventAttr;
986: onreset: EventAttr;
987: onchange: EventAttr;
988: onselect: EventAttr;
1.87 cvs 989: ID : CssId;
990: Class: CssClass;
1.123 cvs 991: SVG_ImageContent: Hidden;
1.145 quint 992: Embed_Content: Hidden, NoSelect;
1.161 cvs 993: is_css: Invisible;
1.168 vatton 994: xml_space: SpacePreserve;
1.1 cvs 995: END
Webmaster