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

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

Webmaster