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