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