Return to HTML.S CVS log | Up to [Public] / Amaya / amaya |
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.149 cvs 104: script_src = Text;
105: { 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_;
196: { hidden yes no }
1.148 cvs 197: EmbedName = Text;
198: { Embedname }
199: hspace; vspace;
1.128 cvs 200: { hspace vspace }
1.148 cvs 201: Embed_type = Text;
202: { Embed_type }
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.97 cvs 310: (ATTR Clear = Left_, Right_, All_, None_) =
1.63 cvs 311: { clear left right all none }
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.129 vatton 379: !Height_; !Width__;
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.129 vatton 391: END with Height_ ?= '400', Width__ ?= '400',
392: IntWidthPxl ?= 400, IntHeightPxl ?= 400;
1.61 cvs 393:
1.63 cvs 394: INS { INS }
1.72 cvs 395: (ATTR cite; datetime = Text; InternalLink; ExternalLink) =
1.63 cvs 396: { cite datetime }
397: Basic_Set;
398:
399: DEL { DEL }
1.72 cvs 400: (ATTR cite; datetime; InternalLink; ExternalLink) =
1.63 cvs 401: { cite datetime }
402: Basic_Set;
1.1 cvs 403:
1.59 cvs 404: Block = CASE OF { block }
405: Paragraph; { P }
1.20 cvs 406: Pseudo_paragraph;
1.59 cvs 407: Heading; { heading }
408: List_; { list + DL }
409: Block_Quote; { BLOCKQUOTE }
410: Preformatted; { PRE }
411: Division; { DIV }
1.63 cvs 412: Center; { CENTER }
1.1 cvs 413: Form;
1.73 cvs 414: Horizontal_Rule; { HR }
415: Table; { TABLE }
416: Address; { ADDRESS }
1.1 cvs 417: END;
418:
1.63 cvs 419: Division { DIV }
420: (ATTR TextAlign) =
421: { align }
422: LIST OF (Element);
423:
424: Center = { CENTER }
425: LIST OF (Element);
1.1 cvs 426:
1.59 cvs 427: List_ = CASE OF { list }
1.63 cvs 428: Unnumbered_List; { UL }
429: Numbered_List; { OL }
430: Directory; { DIR }
431: Menu; { MENU }
432: Definition_List; { DL }
433: END;
434:
435: Unnumbered_List { UL }
436: (ATTR BulletStyle = disc, circle, square;
437: { type disc circle square }
438: COMPACT = Yes_) =
439: { compact }
440: LIST OF (List_Item);
441:
442: Numbered_List { OL }
443: (ATTR NumberStyle = Arabic_, LowerAlpha, UpperAlpha,
444: { type 1 a A }
445: LowerRoman, UpperRoman;
446: { i I }
447: Start = Integer; COMPACT) =
448: { start compact }
449: LIST OF (List_Item) with Start ?= 1;
450:
451: Directory { DIR }
452: (ATTR COMPACT) =
453: { compact }
454: LIST OF (List_Item);
455:
456: Menu { MENU }
457: (ATTR COMPACT) =
458: { compact }
459: LIST OF (List_Item);
460:
461: Definition_List { DL }
462: (ATTR COMPACT) =
463: { compact }
464: LIST OF (Definition_Item);
465:
466: List_Item { LI }
467: (ATTR ItemStyle = disc, circle, square, Arabic_,
468: { type disc circle square 1 }
469: LowerAlpha, UpperAlpha, LowerRoman, UpperRoman;
470: { a A i I }
471: IntItemStyle = disc, circle, square, Arabic_,
472: LowerAlpha, UpperAlpha, LowerRoman, UpperRoman;
473: ItemValue = Integer) =
474: { value }
1.1 cvs 475: LIST OF (Block);
476:
1.59 cvs 477: Definition_Item = BEGIN
478: Term_List = LIST OF (Term = Basic_Set); { DT }
1.132 cvs 479: ? Definitions = LIST OF (Definition = LIST OF (Block)); { DD }
1.1 cvs 480: END;
481:
1.63 cvs 482: Form { FORM }
483: (ATTR !Script_URL = Text; METHOD = Get_, Post_;
484: { action method }
485: ENCTYPE = Text; onsubmit = Text; onreset = Text;
486: { enctype onsubmit onreset }
487: target_; accept_charset = Text) =
488: { target accept-charset }
1.1 cvs 489: LIST OF (Form_Element) + (Input) with METHOD ?= Get_;
490:
491: Form_Element = CASE OF
1.59 cvs 492: Paragraph; { P }
1.20 cvs 493: Pseudo_paragraph;
1.80 cvs 494: FIELDSET; { FIELDSET }
1.59 cvs 495: Option_Menu; { SELECT }
1.63 cvs 496: Text_Area; { TEXTAREA }
1.59 cvs 497: Heading; { heading }
498: List_; { list + DL }
499: Horizontal_Rule; { HR }
500: Block_Quote; { BLOCKQUOTE }
501: Preformatted; { PRE }
502: Division; { DIV }
503: Table; { TABLE }
504: Center; { CENTER }
505: ISINDEX; { ISINDEX }
1.1 cvs 506: END;
507:
1.63 cvs 508: Option_Menu { SELECT }
509: (ATTR !NAME; MenuSize = Integer; Multiple = Yes_;
510: { name size multiple }
511: disabled = Yes_; tabindex; onfocus; onblur;
512: { disabled tabindex onfocus onblur}
513: onchange = Text) =
514: { onchange }
1.91 cvs 515: LIST OF (Option_item = CASE OF Option; OptGroup; END) - (Input);
1.63 cvs 516:
517: Option { OPTION }
518: (ATTR Selected = Yes_; DefaultSelected = Yes_;
519: { selected }
520: disabled; label = Text; !Value_ = Text) =
521: { disabled label value }
1.1 cvs 522: TEXT;
1.76 cvs 523:
524: OptGroup { OPTGROUP }
1.78 cvs 525: (ATTR disabled; !label) =
526: { disabled label }
1.76 cvs 527: LIST OF (Option);
1.1 cvs 528:
1.63 cvs 529: Text_Area { TEXTAREA }
530: (ATTR !NAME; Rows = Integer; Columns = Integer;
531: { name rows cols }
532: disabled; readonly = Yes_; tabindex; accesskey;
533: { disabled readonly tabindex accesskey }
534: onfocus; onblur; onselect = Text; onchange;
535: { onfocus onblur onselect onchange }
536: Default_Value = Text) =
1.68 cvs 537: Text_With_Frame - (Input) with Rows ?= 4, Columns ?= 20;
1.63 cvs 538:
1.79 cvs 539: FIELDSET = { FIELDSET }
540: BEGIN
541: LEGEND;
542: Basic_Set;
543: END;
544:
545: LEGEND { LEGEND }
546: (ATTR accesskey; LAlign = Top_, Bottom_, Left_, Right_) =
547: { accesskey align top bottom left right }
548: Basic_Set;
549:
1.62 cvs 550: Input = CASE OF { formctrl }
1.63 cvs 551: Text_Input { INPUT / TEXT }
552: (ATTR !NAME; Value_; disabled; readonly;
553: { name value disabled readonly }
554: Area_Size = Integer; MaxLength = Integer;
555: { size maxlength }
556: tabindex; accesskey;
557: { tabindex accesskey }
1.66 cvs 558: onfocus; onblur; onselect; onchange;
1.63 cvs 559: { onfocus onblur onselect onchange }
1.66 cvs 560: Default_Value) =
1.68 cvs 561: Text_With_Frame - (Input) with Area_Size ?= 20;
1.63 cvs 562: Password_Input { INPUT / PASSWORD }
1.66 cvs 563: (ATTR !NAME; Value_; disabled; readonly;
564: { name value disabled readonly }
1.63 cvs 565: Area_Size; MaxLength;
566: { size maxlength }
1.66 cvs 567: tabindex; accesskey;
568: { tabindex accesskey }
569: onfocus; onblur; onselect; onchange;
570: { onfocus onblur onselect onchange }
571: Default_Value) =
1.68 cvs 572: Text_With_Frame - (Input) with Area_Size ?= 20;
573: File_Input { INPUT / FILE }
574: (ATTR !NAME; Value_; disabled; readonly;
575: { name value disabled readonly }
576: Area_Size; MaxLength;
577: { size maxlength }
578: tabindex; accesskey;
579: { tabindex accesskey }
580: onfocus; onblur; accept = Text;
581: { onfocus onblur }
582: Default_Value) =
583: Text_With_Frame - (Input) with Area_Size ?= 20;
1.59 cvs 584: Checkbox_Input { INPUT / CHECKBOX }
1.63 cvs 585: (ATTR !NAME; Value_; Checked = Yes_, No_;
1.66 cvs 586: { name value checked }
1.63 cvs 587: disabled; readonly;
588: { disabled readonly }
589: tabindex; accesskey; onfocus; onblur;
590: { tabindex accesskey onfocus onblur }
591: DefaultChecked = Yes_, No_) =
1.1 cvs 592: CONSTANT C_Empty with Checked ?= No_;
1.59 cvs 593: Radio_Input { INPUT / RADIO }
1.63 cvs 594: (ATTR !NAME; !Value_; Checked; disabled;
595: { name value checked disabled }
596: readonly; tabindex; accesskey;
597: { readonly tabindex accesskey }
598: onfocus; onblur;
599: { onfocus onblur }
600: DefaultChecked) =
601: CONSTANT C_Empty with Checked ?= No_,
602: NAME ?= 'radio';
603: Submit_Input { INPUT / SUBMIT }
604: (ATTR NAME; Value_; disabled; readonly;
605: { name value disabled; readonly }
606: tabindex; accesskey;
607: { tabindex accesskey }
608: onfocus; onblur) =
609: { onfocus onblur }
610: BEGIN
1.99 cvs 611: CONSTANT C_Empty;
1.63 cvs 612: END with Value_ ?= 'Submit';
613: Reset_Input { INPUT / RESET }
614: (ATTR NAME; Value_; disabled; readonly;
615: { name value disabled readonly }
616: tabindex; accesskey;
617: { tabindex accesskey }
618: onfocus; onblur) =
619: { onfocus onblur }
620: BEGIN
1.99 cvs 621: CONSTANT C_Empty;
1.68 cvs 622: END - (Input) with NAME ?= 'Reset',
623: Value_ ?= 'Reset';
624: Button_Input { INPUT / BUTTON }
1.66 cvs 625: (ATTR !NAME; Value_; disabled; readonly;
626: { name value disabled readonly }
1.63 cvs 627: tabindex; accesskey;
628: { tabindex accesskey }
1.68 cvs 629: onfocus; onblur) =
1.63 cvs 630: { onfocus onblur }
1.68 cvs 631: BEGIN
1.99 cvs 632: CONSTANT C_Empty;
1.68 cvs 633: END;
1.79 cvs 634:
1.120 cvs 635: BUTTON_ { BUTTON }
1.68 cvs 636: (ATTR !NAME; Value_;
637: { name value }
638: Button_type = button, submit, reset;
639: { type button submit reset }
640: disabled; tabindex; accesskey;
641: { disabled tabindex accesskey }
642: onfocus; onblur) =
643: { onfocus onblur }
1.79 cvs 644: Basic_Set - (Anchor, Input, Form, FIELDSET, IFRAME);
1.68 cvs 645: LABEL { LABEL }
646: (ATTR Associated_control = TEXT;
647: { for }
648: accesskey; onfocus; onblur) =
649: { accesskey onfocus onblur }
1.71 cvs 650: Basic_Set;
1.63 cvs 651: Hidden_Input { INPUT / HIDDEN }
1.68 cvs 652: (ATTR !NAME; Value_; disabled;
653: { name value disabled }
1.63 cvs 654: tabindex; accesskey;
655: { tabindex accesskey }
656: onfocus; onblur) =
657: { onfocus onblur }
658: CONSTANT C_Empty;
1.59 cvs 659: Option_Menu; { SELECT }
660: Text_Area; { TEXTAREA }
1.8 cvs 661: END;
1.1 cvs 662:
663: Text_With_Frame = BEGIN
664: Inserted_Text = TEXT;
665: Frame = CONSTANT C_Empty;
666: END;
667:
1.63 cvs 668: Table_row { TR }
669: (ATTR Cell_align = Cell_left, Cell_center, Cell_right,
670: { align left center right }
671: Cell_justify, Cell_char;
672: { justify char }
673: char = Text; charoff = Text;
674: { char charoff }
675: Row_valign = Row_top, Row_middle, Row_bottom, Row_baseline;
676: { valign top middle bottom baseline }
1.129 vatton 677: BackgroundColor; IntHeightPxl) =
1.71 cvs 678: { bgcolor Special attribute to control row span }
1.63 cvs 679: LIST OF (Table_cell);
680:
681: Table { TABLE }
682: (ATTR summary = Text; Width__; Border = Integer;
683: { summary width border }
684: frame = void, above, below, hsides, lhs, rhs,
685: { frame void above below hsides lhs rhs }
686: vsides, box, border;
687: { vsides box border }
1.97 cvs 688: rules_ = none_, groups, rows, cols, all;
689: { rules none groups rows cols all }
1.63 cvs 690: cellspacing = Integer; cellpadding = Integer;
691: { cellspacing cellpadding }
692: Align; BackgroundColor;
693: { align bgcolor }
694: datapagesize = Text; IntWidthPxl; IntWidthPercent) =
695: { datapagesize }
1.1 cvs 696: BEGIN
1.84 cvs 697: CAPTION; { CAPTION }
1.115 cvs 698: ? Cols = LIST OF (Col_elem = CASE OF
1.85 cvs 699: COL; { COL }
700: COLGROUP; { COLGROUP }
701: END);
1.1 cvs 702: Table_head = LIST OF (Column_head);
1.63 cvs 703: ? thead; { THEAD }
704: Table_body = LIST OF (tbody);
705: ? tfoot; { TFOOT }
1.1 cvs 706: Table_foot = CONSTANT C_Foot;
1.49 cvs 707: END;
1.63 cvs 708:
709: CAPTION { CAPTION }
710: (ATTR Position = Position_top, Position_bottom,
711: { align top bottom }
712: Position_left, Position_right) =
713: { left right }
714: Basic_Set;
715:
1.44 cvs 716: Column_head (ATTR IntWidthPercent; IntWidthPxl) =
717: CONSTANT C_Head;
1.63 cvs 718:
719: thead { THEAD }
720: (ATTR Cell_align; char; charoff; Row_valign) =
721: LIST OF (Table_row);
722:
723: tbody { TBODY }
724: (ATTR Cell_align; char; charoff; Row_valign) =
725: LIST OF (Table_row);
726:
727: tfoot { TFOOT }
728: (ATTR Cell_align; char; charoff; Row_valign) =
729: LIST OF (Table_row);
730:
1.1 cvs 731: Table_cell = CASE OF
1.63 cvs 732: Data_cell; { TD }
733: Heading_cell; { TH }
734: END;
735:
736: Data_cell { TD }
737: (ATTR Ref_column = REFERENCE(Column_head);
738: ColExt = REFERENCE(Column_head);
739: RowExt = REFERENCE(Table_row);
740: abbr = Text; axis = Text; headers = Text; scope = Text;
741: { abbr axis headers scope }
742: rowspan_ = INTEGER; colspan_ = INTEGER;
743: { rowspan colspan }
744: Cell_align; char; charoff;
745: { align char charoff }
746: Cell_valign = Cell_top, Cell_middle, Cell_bottom, Cell_baseline;
747: { valign top middle bottom baseline }
748: No_wrap = no_wrap; BackgroundColor;
749: { nowrap bgcolor }
1.129 vatton 750: Width__; IntWidthPxl; IntWidthPercent;
751: Height_; IntHeightPercent; IntHeightPxl;) =
1.63 cvs 752: { width height }
753: LIST OF (Element);
754:
755: Heading_cell { TH }
756: (ATTR Ref_column; ColExt; RowExt;
757: abbr; axis; headers; scope;
758: { abbr axis headers scope }
759: rowspan_; colspan_;
760: { rowspan colspan }
761: Cell_align; char; charoff; Cell_valign;
762: { align char charoff valign }
763: No_wrap; BackgroundColor;
764: { nowrap bgcolor }
1.129 vatton 765: Width__; IntWidthPxl; IntWidthPercent;
766: Height_; IntHeightPercent; IntHeightPxl) =
1.63 cvs 767: { width height }
768: LIST OF (Element);
769:
1.85 cvs 770: COLGROUP { COLGROUP }
771: (ATTR Cell_align; Cell_valign; Width__; span_ = Integer)
772: { align valign width span }
773: = LIST OF (COL);
774:
775: COL { COL }
776: (ATTR Cell_align; Cell_valign; Width__; span_)
777: { align valign width span }
778: = CONSTANT C_Empty;
779:
1.63 cvs 780: MAP { MAP }
781: (ATTR NAME; Ref_IMG = REFERENCE(Any)) =
1.125 vatton 782: { name linked to an image}
1.145 quint 783: LIST OF (ElemOrArea = CASE OF Element; AREA; END);
1.125 vatton 784:
785: map { MAP }
786: (ATTR NAME) =
1.63 cvs 787: { name }
1.145 quint 788: LIST OF (ElemOrArea);
1.63 cvs 789:
790: AREA { AREA }
791: (ATTR shape; coords; HREF_; target_; nohref = Yes_; ALT;
792: { shape coords href target nohref alt }
793: tabindex; accesskey; onfocus; onblur;
794: { tabindex accesskey onfocus onblur }
795: x_coord = Integer; y_coord = Integer; IntWidthPxl;
1.130 vatton 796: IntHeightPxl; AreaRef_IMG = REFERENCE(Any)) =
1.63 cvs 797: GRAPHICS with x_coord ?= 0, y_coord ?= 0,
1.130 vatton 798: IntWidthPxl ?= 25, IntHeightPxl ?= 10;
1.1 cvs 799:
1.72 cvs 800: FRAMESET { FRAMESET }
801: (ATTR RowHeight = Text; ColWidth = Text;
802: { rows cols }
803: onload; onunload) =
804: { onload onunload }
1.59 cvs 805: AGGREGATE
1.72 cvs 806: Frames = LIST [1 .. *] OF (FrameElem = CASE OF
807: FRAME;
808: FRAMESET;
809: END - (NOFRAMES));
810: ? NOFRAMES = BODY + (INS, DEL); { NOFRAMES }
1.59 cvs 811: END;
812:
1.72 cvs 813: FRAME { FRAME }
814: (ATTR longdesc; FrameName = Text; FrameSrc = Text;
815: { longdesc name src }
816: frameborder = Border1, Border0;
817: { frameborder 1 0 }
818: marginwidth = Integer; marginheight = Integer;
819: { marginwidth marginheight }
1.98 cvs 820: no_resize = Yes_; scrolling = Yes_, No_, auto_) =
1.72 cvs 821: { noresize scrolling yes no auto }
1.63 cvs 822: CONSTANT C_Empty;
1.59 cvs 823:
1.63 cvs 824: IFRAME { IFRAME }
1.72 cvs 825: (ATTR longdesc; FrameName; FrameSrc; frameborder;
826: { longdesc name src frameborder }
827: marginwidth; marginheight; scrolling;
828: { marginwidth marginheight scrolling }
829: Alignment; Width__; Height_) =
830: { align width height }
1.63 cvs 831: LIST OF (Element);
1.59 cvs 832:
1.121 cvs 833: ruby = { ruby }
834: CASE OF
835: simple_ruby;
836: complex_ruby;
837: END;
838:
1.124 cvs 839: simple_ruby = { ruby }
1.121 cvs 840: BEGIN
1.122 cvs 841: rb = Basic_Set - (simple_ruby, complex_ruby);
1.145 quint 842: RtOrRtWithPar = CASE OF
1.124 cvs 843: rt (ATTR rbspan = Integer) =
844: Basic_Set - (simple_ruby, complex_ruby);
1.145 quint 845: RtWithPar = BEGIN
1.121 cvs 846: rp = TEXT;
847: rt;
848: rp;
849: END;
850: END;
851: END;
852:
1.124 cvs 853: complex_ruby = { ruby }
1.121 cvs 854: BEGIN
855: rbc = LIST OF (rb);
856: rtc1 = LIST OF (rt);
857: ? rtc2 = LIST OF (rt);
858: END;
859:
1.72 cvs 860: { AnyLink is an alias for all elements with an attribute
861: of type URI. Only elements to be shown in the Links view
862: are taken into account }
863: AnyLink = CASE OF
864: Anchor; { HREF_ }
865: Block_Quote; { cite }
866: Quotation; { cite }
867: INS; { cite }
868: DEL; { cite }
869: END;
870:
1.1 cvs 871: EXCEPT
1.25 cvs 872: HTML: NoMove, NoResize;
1.147 vatton 873: BODY: NoCut, CssBackground, NoMove, NoResize;
1.1 cvs 874: HEAD: NoCut;
875: TITLE: NoCut;
1.142 quint 876: Document_URL: Hidden, NoSpellCheck, NoCut;
1.131 cvs 877: C_Empty: Hidden, 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.1 cvs 889: Comment_line: Hidden;
1.113 cvs 890: PI_line: Hidden;
1.144 cvs 891: DOCTYPE: NoCut;
892: DOCTYPE_line: Hidden, NoCut;
1.140 cvs 893: CDATA_line: Hidden;
1.1 cvs 894: GRAPHICS: NoMove, NoResize;
1.41 cvs 895: TEXT: NoMove, NoResize;
1.26 cvs 896: PICTURE: MoveResize;
1.63 cvs 897: Invalid_element:NoCreate;
1.127 cvs 898: Unknown_namespace:NoCreate;
1.63 cvs 899: Pseudo_paragraph: ParagraphBreak, Hidden;
1.117 kahan 900: Basic_Elem: Hidden;
1.1 cvs 901: Paragraph: ParagraphBreak;
902: H1: ParagraphBreak;
903: H2: ParagraphBreak;
904: H3: ParagraphBreak;
905: H4: ParagraphBreak;
906: H5: ParagraphBreak;
907: H6: ParagraphBreak;
908: Address: ParagraphBreak;
909: Term: ParagraphBreak;
910: MAP: IsDraw;
1.119 cvs 911: AREA: MoveResize, ClickableSurface;
1.70 cvs 912: Password_Input: Shadow;
1.146 vatton 913: Preformatted: ReturnCreateNL, NoReplicate;
914: STYLE_: ReturnCreateNL, NoReplicate;
915: SCRIPT_: ReturnCreateNL, NoReplicate;
916: Text_Area: ReturnCreateNL, NoReplicate;
1.68 cvs 917: HTMLfragment: NoMove, NoResize, Hidden;
1.147 vatton 918: Division: NoMove, NoResize;
1.1 cvs 919:
1.29 cvs 920: ExternalLink: Invisible;
1.15 cvs 921: InternalLink: Invisible;
1.44 cvs 922: IntWidthPercent:NewPercentWidth, Invisible;
923: IntWidthPxl: NewWidth, Invisible;
1.129 vatton 924: IntHeightPercent: Invisible;
925: IntHeightPxl: NewHeight, Invisible;
1.1 cvs 926: IntItemStyle: Invisible;
927: IntSizeIncr: Invisible;
928: IntSizeDecr: Invisible;
929: IntSizeRel: Invisible;
1.93 cvs 930: IsInput: Invisible;
1.1 cvs 931: x_coord: Invisible, NewHPos;
932: y_coord: Invisible, NewVPos;
933: Ref_IMG: Invisible;
934: AreaRef_IMG: Invisible;
935: Invalid_attribute: Invisible;
1.127 cvs 936: Unknown_attribute: Invisible;
1.90 cvs 937: Highlight: Invisible;
1.87 cvs 938: PseudoClass: Invisible, CssPseudoClass;
1.1 cvs 939: Default_Value: Invisible;
1.63 cvs 940: DefaultSelected:Invisible;
1.1 cvs 941: DefaultChecked: Invisible;
1.17 cvs 942: SectionNumbering:Invisible;
1.22 cvs 943: ShowAreas: Invisible;
1.83 cvs 944: PrintURL: Invisible;
1.151 vatton 945: NoImages: Invisible;
1.65 cvs 946: Namespaces: Invisible;
1.92 cvs 947: RealLang: Invisible;
1.101 cvs 948: Charset: Invisible;
1.143 cvs 949: PI: Invisible;
1.50 cvs 950: shape: Invisible;
1.44 cvs 951: Data_cell: IsCell, NoMove, NoResize;
952: Heading_cell: IsCell, NoMove, NoResize;
1.146 vatton 953: Table: IsTable, PageBreak, NoReplicate;
1.68 cvs 954: Column_head: IsColHead, NoCut, Hidden;
1.75 cvs 955: Table_head: NoCut, Hidden, NoSelect;
956: C_Head: Hidden, NoSelect;
957: Table_foot: NoCut, Hidden, NoSelect, PageBreakRepBefore;
958: C_Foot: Hidden, NoSelect;
1.85 cvs 959: Cols: Hidden, NoSelect;
1.38 cvs 960: Table_body: PageBreakAllowed, Hidden;
1.44 cvs 961: Table_row: IsRow, PageBreakPlace;
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.68 cvs 967: Object_Content: Hidden, NoCreate, NoCut;
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.63 cvs 993:
1.1 cvs 994: END