Annotation of Amaya/amaya/HTML.S, revision 1.94

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.90      cvs        30:    Highlight = Yes_;
1.1       cvs        31: 
                     32: CONST
1.59      cvs        33: 
1.1       cvs        34:    C_Empty = ' ';
                     35:    C_Foot = ' ';
                     36:    C_Head = ' ';
1.64      cvs        37:    C_BR   = '\12';
1.1       cvs        38: 
                     39: STRUCT
1.59      cvs        40: 
1.63      cvs        41:   HTML                                                         { HTML }
1.65      cvs        42:      (ATTR SectionNumbering = Yes_; ShowAreas = Yes_;
1.83      cvs        43:           PrintURL = Yes_; HtmlDTD = Transitional, Frameset;
1.92      cvs        44:           Namespaces = Text; RealLang = Yes_;) =
1.17      cvs        45:        BEGIN
1.1       cvs        46:        HEAD;
1.72      cvs        47:       ? BODY;  { only one of BODY, FRAMESET is allowed }
                     48:       ? FRAMESET;
1.1       cvs        49:        END + (Invalid_element, Comment\240);
                     50: 
1.59      cvs        51:   BODY                                                         { BODY }
1.63      cvs        52:      (ATTR onload = Text; onunload = Text;
                     53:         { onload         onunload }
                     54:           background_ = Text; BackgroundColor = Text;
                     55:         { background          bgcolor }
                     56:           TextColor = Text; LinkColor = Text;
                     57:          { text              link }
                     58:           VisitedLinkColor = Text; ActiveLinkColor = Text) =
                     59:          { vlink                    alink }
                     60:        LIST OF (Element) + (INS, DEL);
1.1       cvs        61: 
1.11      cvs        62:   Invalid_element (ATTR Error_type = UnknownTag, BadPosition) = TEXT;
1.1       cvs        63:   Comment\240 = LIST OF (Comment_line = TEXT);
                     64: 
1.77      cvs        65:   Head_misc =
                     66:        CASE OF
                     67:        STYLE_;
                     68:        SCRIPT;
                     69:        META;
                     70:        LINK;
                     71:        END;
1.63      cvs        72:   HEAD                                                         { HEAD }
                     73:      (ATTR profile = Text) =
                     74:        AGGREGATE
1.77      cvs        75:        Document_URL = TEXT - (Head_misc);
1.81      cvs        76:        TITLE = TEXT - (Head_misc);                             { TITLE }
1.63      cvs        77:       ? ISINDEX (ATTR Prompt = Text) = CONSTANT C_Empty;       { ISINDEX }
                     78:                    { prompt }
                     79:       ? BASE;                                                  { BASE }
1.77      cvs        80:        END + (Object, Head_misc);
1.63      cvs        81: 
1.64      cvs        82:   STYLE_                                                       { STYLE }
                     83:      (ATTR Notation = Text; media = Text) =
                     84:         { type             media }
                     85:         TEXT;
                     86: 
1.63      cvs        87:   SCRIPT                                                       { SCRIPT }
                     88:      (ATTR charset = Text; !content_type = Text;
                     89:         { charset          type }
                     90:           script_language = Text; script_src = Text;
                     91:         { language                src }
                     92:           defer = Yes_; event = Text; for_ = Text) =
                     93:         { defer         event         for }
                     94:        TEXT;
1.59      cvs        95: 
                     96:   META                                                         { META }
1.63      cvs        97:      (ATTR http_equiv = Text;
                     98:         { http-equiv }
                     99:           !meta_name = Text; !meta_content = Text;
                    100:          {  name               content }
                    101:           scheme = Text) =
                    102:         { scheme }
                    103:        CONSTANT C_Empty;
1.1       cvs       104: 
1.63      cvs       105:   LINK                                                         { LINK }
                    106:      (ATTR charset; HREF_ = Text; hreflang = Text;
                    107:         { charset  href          hreflang }
                    108:           Link_type = Text; REL = Text; REV = Text;
                    109:         { type              rel         rev }
                    110:           media; target_ = Text) =
                    111:         { media  target }
                    112:        CONSTANT C_Empty;
                    113: 
                    114:   BASE                                                         { BASE }
                    115:      (ATTR !HREF_; target_) =
                    116:          { href   target }
                    117:        CONSTANT C_Empty;
1.1       cvs       118: 
1.59      cvs       119:   Element = CASE OF                                            { block }
                    120:        Paragraph;                                              { P }
1.20      cvs       121:        Pseudo_paragraph;
1.59      cvs       122:        Heading;                                                { heading }
                    123:        List_;                                                  { list + DL }
                    124:        Preformatted;                                           { PRE preformatted }
                    125:        Division;                                               { DIV }
                    126:        Center;                                                 { CENTER }
1.62      cvs       127:        NOSCRIPT = LIST OF (Element);                           { NOSCRIPT }
1.63      cvs       128:        Block_Quote;                                            { BLOCKQUOTE }
1.59      cvs       129:        Form;                                                   { FORM }
                    130:        ISINDEX;                                                { ISINDEX }
1.63      cvs       131:        Horizontal_Rule;                                        { HR }
1.59      cvs       132:        Table;                                                  { TABLE }
                    133:        Address = LIST OF (AddressContent);                     { ADDRESS }
                    134:        PICTURE                                                 { IMG }
1.63      cvs       135:            (ATTR SRC = Text; ALT = Text; longdesc = Text;
                    136:                { src         alt         longdesc }
                    137:                  Height_ = Integer; Width__ = Text;
1.59      cvs       138:                { height             width }
1.63      cvs       139:                  IntWidthPercent = Integer; IntWidthPxl = Integer;
1.94    ! cvs       140:                  USEMAP = Text; ISMAP = Yes_;
1.63      cvs       141:                { usemap         ismap }
1.94    ! cvs       142:                 IsInput = Yes_;    NAME = Text;
        !           143:                { input type=IMAGE  name }
1.63      cvs       144:                  Alignment = Top_, Middle_, Bottom_, Left_, Right_;
                    145:                { align       top   middle   bottom   left   right }
                    146:                  Img_border = Integer;
                    147:                { border }
                    148:                  hspace = Integer; vspace = Integer);
                    149:                { hspace            vspace }
1.59      cvs       150:        Object;                                                 { OBJECT }
1.60      cvs       151:        Applet;                                                 { APPLET }
1.65      cvs       152:        Math                                                    { MATH }
                    153:            (ATTR mode = display, inline_math) =
                    154:                MathML;
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.59      cvs       160:        MAP;                                                    { MAP }
1.1       cvs       161:        END;
                    162: 
1.52      cvs       163:        HTMLfragment = LIST OF (Element);
                    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 }
1.94    ! cvs       213:      (ATTR charset; Link_type; NAME;
1.63      cvs       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;
1.76      cvs       224:         { onfocus         onblur }
1.89      cvs       225:           InternalLink; ExternalLink;
                    226:           Annotation = Text;
                    227:          { Annotation}) =
1.63      cvs       228:        Basic_Set;
1.1       cvs       229: 
1.63      cvs       230:   Basic_Elem = CASE OF                                         { special }
1.1       cvs       231:         TEXT;
1.63      cvs       232:        Font;                                                   { fontstyle }
                    233:        Phrase;                                                 { phrase }
1.61      cvs       234:        Anchor;                                                 { A }
                    235:        PICTURE;                                                { IMG }
                    236:        Applet;                                                 { APPLET }
                    237:        Font_;                                                  { FONT }
                    238:        BaseFont;                                               { BASEFONT }
1.63      cvs       239:        BR;                                                     { BR }
1.61      cvs       240:        SCRIPT;                                                 { SCRIPT }
                    241:        MAP;                                                    { MAP }
1.63      cvs       242:        Quotation;                                              { Q }
1.61      cvs       243:        Subscript = Basic_Set;                                  { SUB }
                    244:        Superscript = Basic_Set;                                { SUP }
                    245:        Span = Basic_Set;                                       { SPAN }
                    246:        BDO = Basic_Set;                                        { BDO }
1.77      cvs       247:        Object;                                                 { OBJECT }
1.61      cvs       248:        IFRAME;                                                 { IFRAME }
1.65      cvs       249:        Math;                                                   { MATH }
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.80      cvs       441:        FIELDSET;                                               { FIELDSET }
1.59      cvs       442:        Option_Menu;                                            { SELECT }
1.63      cvs       443:        Text_Area;                                              { TEXTAREA }
1.59      cvs       444:        Heading;                                                { heading }
                    445:        List_;                                                  { list + DL }
                    446:        Horizontal_Rule;                                        { HR }
                    447:        Block_Quote;                                            { BLOCKQUOTE }
                    448:        Preformatted;                                           { PRE }
                    449:        Division;                                               { DIV }
                    450:        Table;                                                  { TABLE }
                    451:        Center;                                                 { CENTER }
                    452:        ISINDEX;                                                { ISINDEX }
1.1       cvs       453:        END;
                    454: 
1.63      cvs       455:   Option_Menu                                                  { SELECT }
                    456:      (ATTR !NAME; MenuSize = Integer; Multiple = Yes_;
                    457:         {  name  size                multiple }
                    458:            disabled = Yes_; tabindex; onfocus; onblur;
                    459:          { disabled         tabindex  onfocus  onblur}
                    460:            onchange = Text) =
                    461:          { onchange }
1.91      cvs       462:        LIST OF (Option_item = CASE OF Option; OptGroup; END) - (Input);
1.63      cvs       463: 
                    464:   Option                                                       { OPTION }
                    465:      (ATTR Selected = Yes_; DefaultSelected = Yes_;
                    466:         { selected }
                    467:           disabled; label = Text; !Value_ = Text) =
                    468:          { disabled  label          value }
1.1       cvs       469:        TEXT;
1.76      cvs       470: 
                    471:   OptGroup                                                     { OPTGROUP }
1.78      cvs       472:      (ATTR disabled; !label) =
                    473:         { disabled   label }
1.76      cvs       474:        LIST OF (Option);
1.1       cvs       475: 
1.63      cvs       476:   Text_Area                                                    { TEXTAREA }
                    477:      (ATTR !NAME; Rows = Integer; Columns = Integer;
                    478:         {  name  rows            cols }
                    479:           disabled; readonly = Yes_; tabindex; accesskey;
                    480:         { disabled  readonly         tabindex  accesskey  }
                    481:           onfocus; onblur; onselect = Text; onchange;
                    482:         { onfocus  onblur  onselect         onchange }
                    483:           Default_Value = Text) =
1.68      cvs       484:        Text_With_Frame - (Input) with Rows ?= 4, Columns ?= 20;
1.63      cvs       485: 
1.79      cvs       486:   FIELDSET =                                                   { FIELDSET }
                    487:        BEGIN
                    488:        LEGEND;
                    489:        Basic_Set;
                    490:        END;
                    491: 
                    492:   LEGEND                                                       { LEGEND }
                    493:      (ATTR accesskey; LAlign = Top_, Bottom_, Left_, Right_) =
                    494:         { accesskey  align    top   bottom   left   right }
                    495:        Basic_Set;
                    496: 
1.62      cvs       497:   Input = CASE OF                                      { formctrl }
1.63      cvs       498:        Text_Input                                      { INPUT / TEXT }
                    499:           (ATTR !NAME; Value_; disabled; readonly;
                    500:                { name  value   disabled  readonly }
                    501:                  Area_Size = Integer; MaxLength = Integer;
                    502:                { size                 maxlength }
                    503:                  tabindex; accesskey;
                    504:                { tabindex  accesskey }
1.66      cvs       505:                  onfocus; onblur; onselect; onchange;
1.63      cvs       506:                { onfocus  onblur  onselect  onchange }
1.66      cvs       507:                  Default_Value) =
1.68      cvs       508:                Text_With_Frame - (Input) with Area_Size ?= 20;
1.63      cvs       509:        Password_Input                                  { INPUT / PASSWORD }
1.66      cvs       510:           (ATTR !NAME; Value_; disabled; readonly;
                    511:                { name  value   disabled  readonly }
1.63      cvs       512:                  Area_Size; MaxLength;
                    513:                { size       maxlength }
1.66      cvs       514:                  tabindex; accesskey;
                    515:                { tabindex  accesskey }
                    516:                  onfocus; onblur; onselect; onchange;
                    517:                { onfocus  onblur  onselect  onchange }
                    518:                  Default_Value) =
1.68      cvs       519:                Text_With_Frame  - (Input) with Area_Size ?= 20;
                    520:        File_Input                                      { INPUT / FILE }
                    521:           (ATTR !NAME; Value_; disabled; readonly;
                    522:                { name  value   disabled  readonly }
                    523:                  Area_Size; MaxLength;
                    524:                { size       maxlength }
                    525:                  tabindex; accesskey;
                    526:                { tabindex  accesskey }
                    527:                  onfocus; onblur; accept = Text;
                    528:                { onfocus  onblur }
                    529:                  Default_Value) =
                    530:                Text_With_Frame - (Input) with Area_Size ?= 20;
1.59      cvs       531:        Checkbox_Input                                  { INPUT / CHECKBOX }
1.63      cvs       532:           (ATTR !NAME; Value_; Checked = Yes_, No_;
1.66      cvs       533:                { name  value   checked }
1.63      cvs       534:                  disabled; readonly;
                    535:                { disabled  readonly }
                    536:                  tabindex; accesskey; onfocus; onblur;
                    537:                { tabindex  accesskey  onfocus  onblur }
                    538:                  DefaultChecked = Yes_, No_) =
1.1       cvs       539:                CONSTANT C_Empty with Checked ?= No_;
1.59      cvs       540:        Radio_Input                                     { INPUT / RADIO }
1.63      cvs       541:           (ATTR !NAME; !Value_; Checked; disabled;
                    542:                { name  value    checked   disabled }
                    543:                  readonly; tabindex; accesskey;
                    544:                { readonly  tabindex  accesskey }
                    545:                  onfocus; onblur;
                    546:                { onfocus  onblur }
                    547:                  DefaultChecked) =
                    548:                CONSTANT C_Empty with Checked ?= No_,
                    549:                                      NAME ?= 'radio';
                    550:        Submit_Input                                    { INPUT / SUBMIT }
                    551:           (ATTR  NAME; Value_; disabled; readonly;
                    552:                { name  value   disabled; readonly }
                    553:                  tabindex; accesskey;
                    554:                { tabindex  accesskey }
                    555:                  onfocus; onblur) =
                    556:                { onfocus  onblur }
                    557:                BEGIN
1.56      cvs       558:                Frame;
1.63      cvs       559:                END with Value_ ?= 'Submit';
                    560:        Reset_Input                                     { INPUT / RESET }
                    561:           (ATTR  NAME; Value_; disabled; readonly;
                    562:                { name  value   disabled  readonly }
                    563:                  tabindex; accesskey;
                    564:                { tabindex  accesskey }
                    565:                  onfocus; onblur) =
                    566:                { onfocus  onblur }
                    567:                BEGIN
1.56      cvs       568:                Frame;
1.68      cvs       569:                END  - (Input) with NAME ?= 'Reset',
                    570:                                    Value_ ?= 'Reset';
                    571:         Button_Input                                   { INPUT / BUTTON }
1.66      cvs       572:           (ATTR !NAME; Value_; disabled; readonly;
                    573:                { name  value   disabled  readonly }
1.63      cvs       574:                  tabindex; accesskey;
                    575:                { tabindex  accesskey }
1.68      cvs       576:                  onfocus; onblur) =
1.63      cvs       577:                { onfocus  onblur }
1.68      cvs       578:                BEGIN
                    579:                Frame;
                    580:                END;
1.79      cvs       581: 
1.68      cvs       582:         BUTTON                                         { BUTTON }
                    583:           (ATTR !NAME; Value_;
                    584:                { name  value }
                    585:                  Button_type = button, submit, reset;
                    586:                { type          button  submit  reset }
                    587:                  disabled; tabindex; accesskey;
                    588:                { disabled  tabindex  accesskey }
                    589:                  onfocus; onblur) =
                    590:                { onfocus  onblur }
1.79      cvs       591:                Basic_Set - (Anchor, Input, Form, FIELDSET, IFRAME);
1.68      cvs       592:         LABEL                                          { LABEL }
                    593:           (ATTR  Associated_control = TEXT;
                    594:                { for }
                    595:                  accesskey; onfocus; onblur) =
                    596:                { accesskey  onfocus  onblur }
1.71      cvs       597:                Basic_Set;
1.63      cvs       598:        Hidden_Input                                    { INPUT / HIDDEN }
1.68      cvs       599:           (ATTR !NAME; Value_; disabled;
                    600:                { name  value   disabled }
1.63      cvs       601:                  tabindex; accesskey;
                    602:                { tabindex  accesskey }
                    603:                  onfocus; onblur) =
                    604:                { onfocus  onblur }
                    605:                CONSTANT C_Empty;
1.59      cvs       606:        Option_Menu;                                    { SELECT }
                    607:        Text_Area;                                      { TEXTAREA }
1.8       cvs       608:        END;
1.1       cvs       609: 
                    610:   Text_With_Frame = BEGIN
                    611:        Inserted_Text = TEXT;
                    612:        Frame = CONSTANT C_Empty;
                    613:        END;
                    614: 
1.63      cvs       615:   Table_row                                                    { TR }
                    616:      (ATTR Cell_align = Cell_left, Cell_center, Cell_right,
                    617:         { align        left       center       right }
                    618:                        Cell_justify, Cell_char;
                    619:         {              justify       char }
                    620:           char = Text; charoff = Text;
                    621:         { char         charoff }
                    622:           Row_valign = Row_top, Row_middle, Row_bottom, Row_baseline;
                    623:         { valign       top      middle      bottom      baseline }
1.71      cvs       624:           BackgroundColor; height\240 = Integer) =
                    625:         { bgcolor          Special attribute to control row span }
1.63      cvs       626:        LIST OF (Table_cell);
                    627: 
                    628:   Table                                                                { TABLE }
                    629:      (ATTR summary = Text; Width__; Border = Integer;
                    630:         { summary         width    border }
                    631:           frame = void, above, below, hsides, lhs, rhs,
                    632:         { frame   void  above  below  hsides  lhs  rhs  }
                    633:                   vsides, box, border;
                    634:         {         vsides  box  border }
                    635:           rules_ = none, groups, rows, cols, all;
                    636:         { rules    none  groups  rows  cols  all }
                    637:           cellspacing = Integer; cellpadding = Integer;
                    638:         { cellspacing            cellpadding }
                    639:           Align; BackgroundColor;
                    640:         { align  bgcolor }
                    641:           datapagesize = Text; IntWidthPxl; IntWidthPercent) =
                    642:         { datapagesize }
1.1       cvs       643:        BEGIN
1.84      cvs       644:        CAPTION;                                                { CAPTION }
1.85      cvs       645:        Cols = LIST OF (Col_elem = CASE OF
                    646:                                COL;                            { COL }
                    647:                                COLGROUP;                       { COLGROUP }
                    648:                                END);
1.1       cvs       649:        Table_head = LIST OF (Column_head);
1.63      cvs       650:       ? thead;                                                 { THEAD }
                    651:        Table_body = LIST OF (tbody);
                    652:       ? tfoot;                                                 { TFOOT }
1.1       cvs       653:        Table_foot = CONSTANT C_Foot;
1.49      cvs       654:        END;
1.63      cvs       655: 
                    656:   CAPTION                                                      { CAPTION }
                    657:      (ATTR Position = Position_top, Position_bottom,
                    658:         { align      top           bottom }
                    659:           Position_left, Position_right) =
                    660:         { left           right }
                    661:        Basic_Set;
                    662: 
1.44      cvs       663:   Column_head (ATTR IntWidthPercent; IntWidthPxl) =
                    664:        CONSTANT C_Head;
1.63      cvs       665: 
                    666:   thead                                                                { THEAD }
                    667:      (ATTR Cell_align; char; charoff; Row_valign) =
                    668:        LIST OF (Table_row);
                    669: 
                    670:   tbody                                                                 { TBODY }
                    671:      (ATTR Cell_align; char; charoff; Row_valign) =
                    672:        LIST OF (Table_row);
                    673: 
                    674:   tfoot                                                                { TFOOT }
                    675:      (ATTR Cell_align; char; charoff; Row_valign) =
                    676:        LIST OF (Table_row);
                    677: 
1.1       cvs       678:   Table_cell = CASE OF
1.63      cvs       679:        Data_cell;                                              { TD }
                    680:        Heading_cell;                                           { TH }
                    681:        END;
                    682: 
                    683:   Data_cell                                                    { TD }
                    684:      (ATTR Ref_column = REFERENCE(Column_head);
                    685:            ColExt = REFERENCE(Column_head);
                    686:            RowExt = REFERENCE(Table_row);
                    687:           abbr = Text; axis = Text; headers = Text; scope = Text;
                    688:         { abbr         axis         headers         scope }
                    689:            rowspan_ = INTEGER; colspan_ = INTEGER;
                    690:         { rowspan             colspan }
                    691:            Cell_align; char; charoff;
                    692:         { align       char  charoff }
                    693:            Cell_valign = Cell_top, Cell_middle, Cell_bottom, Cell_baseline;
                    694:         { valign        top       middle       bottom       baseline }
                    695:            No_wrap = no_wrap; BackgroundColor;
                    696:         { nowrap             bgcolor }
                    697:           Width__; Height_; IntWidthPxl; IntWidthPercent) =
                    698:         { width    height }
                    699:        LIST OF (Element);
                    700: 
                    701:   Heading_cell                                                 { TH }
                    702:      (ATTR Ref_column; ColExt; RowExt;
                    703:           abbr; axis; headers; scope;
                    704:         { abbr  axis  headers  scope }
                    705:           rowspan_; colspan_;
                    706:         { rowspan   colspan }
                    707:           Cell_align; char; charoff; Cell_valign;
                    708:         { align       char  charoff  valign }
                    709:           No_wrap; BackgroundColor;
                    710:         { nowrap   bgcolor }
                    711:           Width__; Height_; IntWidthPxl; IntWidthPercent) =
                    712:         { width    height }
                    713:        LIST OF (Element);
                    714: 
1.85      cvs       715:   COLGROUP                                                     { COLGROUP }
                    716:     (ATTR Cell_align; Cell_valign; Width__; span_ = Integer)
                    717:        { align       valign       width    span }
                    718:         = LIST OF (COL);
                    719: 
                    720:   COL                                                          { COL }
                    721:     (ATTR Cell_align; Cell_valign; Width__; span_)
                    722:        { align       valign       width    span }
                    723:         = CONSTANT C_Empty;
                    724: 
1.63      cvs       725:   MAP                                                          { MAP }
                    726:      (ATTR NAME; Ref_IMG = REFERENCE(Any)) =
                    727:         { name }
                    728:        LIST OF (AREA);
                    729: 
                    730:   AREA                                                         { AREA }
                    731:      (ATTR shape; coords; HREF_; target_; nohref = Yes_; ALT;
                    732:         { shape  coords  href   target   nohref         alt }
                    733:           tabindex; accesskey; onfocus; onblur;
                    734:         { tabindex  accesskey  onfocus  onblur }
                    735:           x_coord = Integer; y_coord = Integer; IntWidthPxl;
1.71      cvs       736:            height\240; AreaRef_IMG = REFERENCE(Any)) =
1.63      cvs       737:        GRAPHICS with x_coord ?= 0, y_coord ?= 0,
                    738:                      IntWidthPxl ?= 25, height\240 ?= 10;
1.1       cvs       739: 
1.72      cvs       740:   FRAMESET                                                     { FRAMESET }
                    741:      (ATTR RowHeight = Text; ColWidth = Text;
                    742:         { rows              cols }
                    743:           onload; onunload) =
                    744:         { onload  onunload }
1.59      cvs       745:        AGGREGATE
1.72      cvs       746:        Frames = LIST [1 .. *] OF (FrameElem = CASE OF
                    747:                                        FRAME;
                    748:                                        FRAMESET;
                    749:                                        END - (NOFRAMES));
                    750:       ? NOFRAMES = BODY + (INS, DEL);                          { NOFRAMES }
1.59      cvs       751:        END;
                    752: 
1.72      cvs       753:   FRAME                                                                { FRAME }
                    754:      (ATTR longdesc; FrameName = Text; FrameSrc = Text;
                    755:         { longdesc  name              src }
                    756:           frameborder = Border1, Border0;
                    757:         { frameborder   1        0 }
                    758:           marginwidth = Integer; marginheight = Integer;
                    759:         { marginwidth            marginheight }
                    760:           no_resize = Yes_; scrolling = Yes_, No_, auto) =
                    761:         { noresize          scrolling   yes   no   auto }
1.63      cvs       762:        CONSTANT C_Empty;
1.59      cvs       763: 
1.63      cvs       764:   IFRAME                                                       { IFRAME }
1.72      cvs       765:      (ATTR longdesc; FrameName; FrameSrc; frameborder;
                    766:         { longdesc  name       src       frameborder }
                    767:           marginwidth; marginheight; scrolling;
                    768:         { marginwidth  marginheight  scrolling }
                    769:           Alignment; Width__; Height_) =
                    770:         { align      width    height }
1.63      cvs       771:        LIST OF (Element);
1.59      cvs       772: 
1.72      cvs       773:   { AnyLink is an alias for all elements with an attribute
                    774:     of type URI.  Only elements to be shown in the Links view
                    775:     are taken into account }
                    776:   AnyLink = CASE OF
                    777:        Anchor;         { HREF_ }
                    778:        Block_Quote;    { cite }
                    779:        Quotation;      { cite }
                    780:        INS;            { cite }
                    781:        DEL;            { cite }
                    782:        END;
                    783: 
1.1       cvs       784: EXCEPT
1.25      cvs       785:        HTML:           NoMove, NoResize;
1.87      cvs       786:        BODY:           NoCut, CssBackground;
1.1       cvs       787:        HEAD:           NoCut;
                    788:        TITLE:          NoCut;
                    789:        Document_URL:   Hidden, NoSpellCheck;
1.68      cvs       790:        C_Empty:        Hidden;
1.9       cvs       791:        C_BR:           NoSelect;
1.77      cvs       792:        Head_misc:      Hidden;
1.72      cvs       793:        Frames:         Hidden;
1.68      cvs       794:        Frame:          Hidden, NoCut;
1.74      cvs       795:        FRAMESET:       NoCreate;       { prevent a Return at the end of the
                    796:                                          document from creating a FRAMESET }
1.68      cvs       797:        Inserted_Text:  Hidden, NoCut;
                    798:        Basic_Set:      Hidden;
                    799:        Term_List:      Hidden;
1.63      cvs       800:        Definition_Item:Hidden;
1.1       cvs       801:        Comment_line:   Hidden;
                    802:        GRAPHICS:       NoMove, NoResize;
1.41      cvs       803:        TEXT:           NoMove, NoResize;
1.26      cvs       804:        PICTURE:        MoveResize;
1.63      cvs       805:        Invalid_element:NoCreate;
                    806:        Pseudo_paragraph: ParagraphBreak, Hidden;
1.1       cvs       807:        Paragraph:      ParagraphBreak;
                    808:        H1:             ParagraphBreak;
                    809:        H2:             ParagraphBreak;
                    810:        H3:             ParagraphBreak;
                    811:        H4:             ParagraphBreak;
                    812:        H5:             ParagraphBreak;
                    813:        H6:             ParagraphBreak;
                    814:        Address:        ParagraphBreak;
                    815:        Term:           ParagraphBreak;
                    816:        MAP:            IsDraw;
                    817:        AREA:           MoveResize;
1.70      cvs       818:        Password_Input: Shadow;
1.19      cvs       819:        Preformatted:   ReturnCreateNL;
1.64      cvs       820:        STYLE_:         ReturnCreateNL;
                    821:        SCRIPT:         ReturnCreateNL;
1.68      cvs       822:        Text_Area:      ReturnCreateNL;
                    823:        HTMLfragment:   NoMove, NoResize, Hidden;
1.53      cvs       824:        XMLGraphics:    MoveResize, NoMove;
1.1       cvs       825: 
1.29      cvs       826:        ExternalLink:   Invisible;
1.15      cvs       827:        InternalLink:   Invisible;
1.89      cvs       828:        Annotation:     Invisible;
1.44      cvs       829:        IntWidthPercent:NewPercentWidth, Invisible;
                    830:        IntWidthPxl:    NewWidth, Invisible;
1.1       cvs       831:        IntItemStyle:   Invisible;
                    832:        IntSizeIncr:    Invisible;
                    833:        IntSizeDecr:    Invisible;
                    834:        IntSizeRel:     Invisible;
1.93      cvs       835:        IsInput:        Invisible;
1.1       cvs       836:        x_coord:        Invisible, NewHPos;
                    837:        y_coord:        Invisible, NewVPos;
                    838:        height\240:     Invisible, NewHeight;
                    839:        Ref_IMG:        Invisible;
                    840:        AreaRef_IMG:    Invisible;
                    841:        Invalid_attribute: Invisible;
1.90      cvs       842:        Highlight:      Invisible;
1.87      cvs       843:        PseudoClass:    Invisible, CssPseudoClass;
1.1       cvs       844:        Default_Value:  Invisible;
1.63      cvs       845:        DefaultSelected:Invisible;
1.1       cvs       846:        DefaultChecked: Invisible;
1.17      cvs       847:        SectionNumbering:Invisible;
1.22      cvs       848:        ShowAreas:      Invisible;
1.83      cvs       849:        PrintURL:       Invisible;
1.65      cvs       850:        Namespaces:     Invisible;
1.92      cvs       851:        RealLang:       Invisible;
1.72      cvs       852:        HtmlDTD:        Invisible;
1.50      cvs       853:        shape:          Invisible;
1.44      cvs       854:        Data_cell:      IsCell, NoMove, NoResize;
                    855:        Heading_cell:   IsCell, NoMove, NoResize;
                    856:        Table:          IsTable, PageBreak;
1.68      cvs       857:        Column_head:    IsColHead, NoCut, Hidden;
1.75      cvs       858:        Table_head:     NoCut, Hidden, NoSelect;
                    859:        C_Head:         Hidden, NoSelect;
                    860:        Table_foot:     NoCut, Hidden, NoSelect, PageBreakRepBefore;
                    861:        C_Foot:         Hidden, NoSelect;
1.85      cvs       862:        Cols:           Hidden, NoSelect;
1.38      cvs       863:        Table_body:     PageBreakAllowed, Hidden;
1.44      cvs       864:        Table_row:      IsRow, PageBreakPlace;
1.1       cvs       865:        ColExt:         Invisible;
1.2       cvs       866:        RowExt:         Invisible;
1.44      cvs       867:        Ref_column:     ColRef, Invisible;
                    868:        colspan_:       ColSpan;
                    869:        rowspan_:       RowSpan;
1.68      cvs       870:        Object_Content: Hidden, NoCreate, NoCut;
1.1       cvs       871:        Ghost_restruct: Invisible;
1.82      cvs       872:        onclick:        EventAttr;
                    873:        ondblclick:     EventAttr;
                    874:        onmousedown:    EventAttr;
                    875:        onmouseup:      EventAttr;
                    876:        onmouseover:    EventAttr;
                    877:        onmousemove:    EventAttr;
                    878:        onmouseout:     EventAttr;
                    879:        onkeypress:     EventAttr;
                    880:        onkeydown:      EventAttr;
                    881:        onkeyup:        EventAttr;
1.87      cvs       882:        ID :            CssId;
                    883:        Class:          CssClass;
1.63      cvs       884: 
1.1       cvs       885: END

Webmaster