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

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

Webmaster