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