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

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

Webmaster