Return to HTMLnames.h CVS log | Up to [Public] / Amaya / amaya |
1.9 cvs 1: /* Mapping table of XHTML elements */ 1.2 cvs 2: #include "HTML.h" 1.1 cvs 3: static ElemMapping XHTMLElemMappingTable[] = 4: { 1.30 cvs 5: /* This table MUST be in alphabetical order and in lower case */ 1.11 cvs 6: 1.25 cvs 7: {"a", SPACE, HTML_EL_Anchor, L_BasicValue, TRUE}, 1.16 cvs 8: {"abbr", SPACE, HTML_EL_ABBR, L_BasicValue, TRUE}, 9: {"acronym", SPACE, HTML_EL_ACRONYM, L_BasicValue, TRUE}, 10: {"address", SPACE, HTML_EL_Address, L_BasicValue, FALSE}, 1.45 vatton 11: {"applet", SPACE, HTML_EL_Applet, L_TransitionalValue, TRUE}, 1.16 cvs 12: {"area", 'E', HTML_EL_AREA, L_StrictValue, FALSE}, 13: {"b", SPACE, HTML_EL_Bold_text, L_StrictValue, TRUE}, 14: {"base", 'E', HTML_EL_BASE, L_BasicValue, FALSE}, 15: {"basefont", 'E', HTML_EL_BaseFont, L_TransitionalValue, FALSE}, 16: {"bdo", SPACE, HTML_EL_BDO, L_StrictValue, TRUE}, 17: {"big", SPACE, HTML_EL_Big_text, L_StrictValue, TRUE}, 18: {"blockquote", SPACE, HTML_EL_Block_Quote, L_BasicValue, FALSE}, 19: {"body", SPACE, HTML_EL_BODY, L_BasicValue, FALSE}, 20: {"br", 'E', HTML_EL_BR, L_BasicValue, TRUE}, 21: {"button", SPACE, HTML_EL_BUTTON_, L_StrictValue, TRUE}, 22: {"c", SPACE, HTML_EL_TEXT_UNIT, L_OtherValue, TRUE}, /* used by the trans.c */ 23: {"caption", SPACE, HTML_EL_CAPTION, L_BasicValue, FALSE}, 1.30 cvs 24: {"cdata", SPACE, HTML_EL_CDATA, L_OtherValue, FALSE}, 25: {"cdata_line", SPACE, HTML_EL_CDATA_line, L_OtherValue, FALSE}, 1.16 cvs 26: {"center", SPACE, HTML_EL_Center, L_TransitionalValue, FALSE}, 27: {"cite", SPACE, HTML_EL_Cite, L_BasicValue, TRUE}, 28: {"code", SPACE, HTML_EL_Code, L_BasicValue, TRUE}, 29: {"colgroup", SPACE, HTML_EL_COLGROUP, L_StrictValue, FALSE}, 30: {"col", SPACE, HTML_EL_COL, L_StrictValue, FALSE}, 31: {"dd", SPACE, HTML_EL_Definition, L_BasicValue, FALSE}, 32: {"del", SPACE, HTML_EL_DEL, L_StrictValue, TRUE}, 33: {"dfn", SPACE, HTML_EL_Def, L_BasicValue, TRUE}, 34: {"dir", SPACE, HTML_EL_Directory, L_StrictValue, FALSE}, 35: {"div", SPACE, HTML_EL_Division, L_BasicValue, FALSE}, 36: {"dl", SPACE, HTML_EL_Definition_List, L_BasicValue, FALSE}, 1.30 cvs 37: {"doctype", SPACE, HTML_EL_DOCTYPE, L_OtherValue, FALSE}, 38: {"doctype_line", SPACE, HTML_EL_DOCTYPE_line, L_OtherValue, FALSE}, 1.16 cvs 39: {"dt", SPACE, HTML_EL_Term, L_BasicValue, FALSE}, 40: {"em", SPACE, HTML_EL_Emphasis, L_BasicValue, TRUE}, 1.28 quint 41: {"embed", 'E', HTML_EL_Embed_, L_TransitionalValue, TRUE}, 1.16 cvs 42: {"fieldset", SPACE, HTML_EL_FIELDSET, L_StrictValue, FALSE}, 43: {"font", SPACE, HTML_EL_Font_, L_TransitionalValue, TRUE}, 44: {"form", SPACE, HTML_EL_Form, L_BasicValue, FALSE}, 45: {"frame", 'E', HTML_EL_FRAME, L_TransitionalValue, FALSE}, 46: {"frameset", SPACE, HTML_EL_FRAMESET, L_TransitionalValue, FALSE}, 47: {"h1", SPACE, HTML_EL_H1, L_BasicValue, FALSE}, 48: {"h2", SPACE, HTML_EL_H2, L_BasicValue, FALSE}, 49: {"h3", SPACE, HTML_EL_H3, L_BasicValue, FALSE}, 50: {"h4", SPACE, HTML_EL_H4, L_BasicValue, FALSE}, 51: {"h5", SPACE, HTML_EL_H5, L_BasicValue, FALSE}, 52: {"h6", SPACE, HTML_EL_H6, L_BasicValue, FALSE}, 53: {"head", SPACE, HTML_EL_HEAD, L_BasicValue, FALSE}, 54: {"hr", 'E', HTML_EL_Horizontal_Rule, L_StrictValue, FALSE}, 55: {"html", SPACE, HTML_EL_HTML, L_BasicValue, FALSE}, 56: {"i", SPACE, HTML_EL_Italic_text, L_StrictValue, TRUE}, 1.45 vatton 57: {"iframe", SPACE, HTML_EL_IFRAME, L_TransitionalValue, TRUE}, 1.49 vatton 58: /*{"image", 'E', HTML_EL_PICTURE_UNIT, L_StrictValue, TRUE},*/ 1.16 cvs 59: {"img", 'E', HTML_EL_PICTURE_UNIT, L_BasicValue, TRUE}, 60: {"input", 'E', HTML_EL_Input, L_BasicValue, TRUE}, 61: {"input", 'E', HTML_EL_Text_Input, L_BasicValue, TRUE}, 62: {"input", 'E', HTML_EL_Password_Input, L_BasicValue, TRUE}, 63: {"input", 'E', HTML_EL_File_Input, L_BasicValue, TRUE}, 1.40 cvs 64: {"input", 'E', HTML_EL_Checkbox_Input, L_BasicValue, TRUE}, 65: {"input", 'E', HTML_EL_Radio_Input, L_BasicValue, TRUE}, 66: {"input", 'E', HTML_EL_Submit_Input, L_BasicValue, TRUE}, 67: {"input", 'E', HTML_EL_Reset_Input, L_BasicValue, TRUE}, 1.16 cvs 68: {"input", 'E', HTML_EL_Button_Input, L_BasicValue, TRUE}, 1.40 cvs 69: {"input", 'E', HTML_EL_Hidden_Input, L_BasicValue, TRUE}, 1.16 cvs 70: {"ins", SPACE, HTML_EL_INS, L_StrictValue, TRUE}, 71: {"isindex", 'E', HTML_EL_ISINDEX, L_TransitionalValue, FALSE}, 72: {"kbd", SPACE, HTML_EL_Keyboard, L_BasicValue, TRUE}, 73: {"label", SPACE, HTML_EL_LABEL, L_BasicValue, TRUE}, 74: {"legend", SPACE, HTML_EL_LEGEND, L_StrictValue, FALSE}, 75: {"li", SPACE, HTML_EL_List_Item, L_BasicValue, FALSE}, 76: {"link", 'E', HTML_EL_LINK, L_BasicValue, FALSE}, 77: {"listing", SPACE, HTML_EL_Preformatted, L_TransitionalValue, FALSE}, /*converted to PRE */ 1.18 vatton 78: {"map", SPACE, HTML_EL_map, L_StrictValue, FALSE}, 1.16 cvs 79: {"map", SPACE, HTML_EL_MAP, L_StrictValue, FALSE}, 80: {"menu", SPACE, HTML_EL_Menu, L_TransitionalValue, FALSE}, 81: {"meta", 'E', HTML_EL_META, L_BasicValue, FALSE}, 82: {"noframes", SPACE, HTML_EL_NOFRAMES, L_TransitionalValue, FALSE}, 83: {"noscript", SPACE, HTML_EL_NOSCRIPT, L_StrictValue, FALSE}, 1.41 cvs 84: {"object", SPACE, HTML_EL_Object, L_BasicValue, TRUE}, 1.16 cvs 85: {"ol", SPACE, HTML_EL_Numbered_List, L_BasicValue, FALSE}, 86: {"optgroup", SPACE, HTML_EL_OptGroup, L_StrictValue, TRUE}, 87: {"option", SPACE, HTML_EL_Option, L_BasicValue, TRUE}, 88: {"p", SPACE, HTML_EL_Paragraph, L_BasicValue, FALSE}, 89: {"p*", SPACE, HTML_EL_Pseudo_paragraph, L_BasicValue, FALSE}, /* pseudo-paragraph */ 90: {"param", 'E', HTML_EL_Parameter, L_BasicValue, FALSE}, 91: {"plaintext", SPACE, HTML_EL_Preformatted, L_TransitionalValue, FALSE},/* converted to PRE */ 92: {"pre", SPACE, HTML_EL_Preformatted, L_BasicValue, FALSE}, 93: {"q", SPACE, HTML_EL_Quotation, L_BasicValue, TRUE}, 1.35 quint 94: {"rb", SPACE, HTML_EL_rb, L_RubyValue, FALSE}, 1.16 cvs 95: {"rbc", SPACE, HTML_EL_rbc, L_RubyValue, FALSE}, 96: {"rp", SPACE, HTML_EL_rp, L_RubyValue, FALSE}, 1.35 quint 97: {"rt", SPACE, HTML_EL_rt, L_RubyValue, FALSE}, 1.16 cvs 98: {"rtc", SPACE, HTML_EL_rtc1, L_RubyValue, FALSE}, 99: {"rtc", SPACE, HTML_EL_rtc2, L_RubyValue, FALSE}, 100: {"ruby", SPACE, HTML_EL_simple_ruby, L_RubyValue, TRUE}, 101: {"s", SPACE, HTML_EL_Struck_text, L_StrictValue, TRUE}, 102: {"samp", SPACE, HTML_EL_Sample, L_BasicValue, TRUE}, 1.26 vatton 103: {"script", SPACE, HTML_EL_SCRIPT_, L_StrictValue, FALSE}, 1.16 cvs 104: {"select", SPACE, HTML_EL_Option_Menu, L_BasicValue, TRUE}, 105: {"small", SPACE, HTML_EL_Small_text, L_StrictValue, TRUE}, 106: {"span", SPACE, HTML_EL_Span, L_BasicValue, TRUE}, 107: {"strike", SPACE, HTML_EL_Struck_text, L_TransitionalValue, TRUE}, 108: {"strong", SPACE, HTML_EL_Strong, L_BasicValue, TRUE}, 109: {"style", SPACE, HTML_EL_STYLE_, L_StrictValue, FALSE}, 110: {"sub", SPACE, HTML_EL_Subscript, L_StrictValue, TRUE}, 111: {"sup", SPACE, HTML_EL_Superscript, L_StrictValue, TRUE}, 112: {"symb", SPACE, HTML_EL_SYMBOL_UNIT, L_OtherValue, TRUE}, 113: {"table", SPACE, HTML_EL_Table, L_BasicValue, FALSE}, 114: {"tbody", SPACE, HTML_EL_tbody, L_BasicValue, FALSE}, 115: {"td", SPACE, HTML_EL_Data_cell, L_BasicValue, FALSE}, 116: {"textarea", SPACE, HTML_EL_Text_Area, L_BasicValue, TRUE}, 117: {"tfoot", SPACE, HTML_EL_tfoot, L_StrictValue, FALSE}, 118: {"th", SPACE, HTML_EL_Heading_cell, L_BasicValue, FALSE}, 119: {"thead", SPACE, HTML_EL_thead, L_StrictValue, FALSE}, 120: {"title", SPACE, HTML_EL_TITLE, L_BasicValue, FALSE}, 121: {"tr", SPACE, HTML_EL_Table_row, L_BasicValue, FALSE}, 122: {"tt", SPACE, HTML_EL_Teletype_text, L_StrictValue, TRUE}, 123: {"u", SPACE, HTML_EL_Underlined_text, L_StrictValue, TRUE}, 124: {"ul", SPACE, HTML_EL_Unnumbered_List, L_BasicValue, FALSE}, 1.42 quint 125: {"var", SPACE, HTML_EL_Variable_, L_BasicValue, TRUE}, 1.30 cvs 126: {"xmlcomment", SPACE, HTML_EL_Comment_, L_OtherValue, FALSE}, 127: {"xmlcomment_line", SPACE, HTML_EL_Comment_line, L_OtherValue, FALSE}, 128: {"xmlpi", SPACE, HTML_EL_XMLPI, L_OtherValue, FALSE}, 129: {"xmlpi_line", SPACE, HTML_EL_PI_line, L_OtherValue, FALSE}, 1.16 cvs 130: {"xmp", SPACE, HTML_EL_Preformatted, L_TransitionalValue, FALSE}, /* converted to PRE */ 131: {"", SPACE, 0, L_BasicValue, FALSE} /* Last entry. Mandatory */ 1.1 cvs 132: }; 133: 1.9 cvs 134: /* Mapping table of Xhtml attributes */ 1.1 cvs 135: AttributeMapping XHTMLAttributeMappingTable[] = 136: { 137: /* The first entry MUST be unknown_attr */ 138: /* The rest of this table MUST be in alphabetical order */ 1.16 cvs 139: {"unknown_attr", "", 'A', HTML_ATTR_Invalid_attribute, L_TransitionalValue}, 1.1 cvs 140: 1.16 cvs 141: {"abbr", "", 'A', HTML_ATTR_abbr, L_BasicValue}, 142: {"accept", "", 'A', HTML_ATTR_accept, L_BasicValue}, 143: {"accept-charset", "form", 'A', HTML_ATTR_accept_charset, L_BasicValue}, 144: {"accesskey", "", 'A', HTML_ATTR_accesskey, L_BasicValue}, 145: {"action", "", 'A', HTML_ATTR_Script_URL, L_BasicValue}, 146: {"align", "applet", 'A', HTML_ATTR_Alignment, L_TransitionalValue}, 1.37 cvs 147: {"align", "caption", 'A', HTML_ATTR_Position, L_TransitionalValue}, 1.16 cvs 148: {"align", "col", 'A', HTML_ATTR_Cell_align, L_StrictValue}, 149: {"align", "colgroup", 'A', HTML_ATTR_Cell_align, L_StrictValue}, 150: {"align", "div", 'A', HTML_ATTR_TextAlign, L_TransitionalValue}, 1.20 cvs 151: {"align", "embed", 'A', HTML_ATTR_Alignment, L_TransitionalValue}, 1.16 cvs 152: {"align", "h1", 'A', HTML_ATTR_TextAlign, L_TransitionalValue}, 153: {"align", "h2", 'A', HTML_ATTR_TextAlign, L_TransitionalValue}, 154: {"align", "h3", 'A', HTML_ATTR_TextAlign, L_TransitionalValue}, 155: {"align", "h4", 'A', HTML_ATTR_TextAlign, L_TransitionalValue}, 156: {"align", "h5", 'A', HTML_ATTR_TextAlign, L_TransitionalValue}, 157: {"align", "h6", 'A', HTML_ATTR_TextAlign, L_TransitionalValue}, 158: {"align", "hr", 'A', HTML_ATTR_Align, L_TransitionalValue}, 159: {"align", "iframe", 'A', HTML_ATTR_Alignment, L_TransitionalValue}, 1.49 vatton 160: /*{"align", "image", 'A', HTML_ATTR_Alignment, L_TransitionalValue},*/ 1.16 cvs 161: {"align", "img", 'A', HTML_ATTR_Alignment, L_TransitionalValue}, 162: {"align", "input", 'A', HTML_ATTR_Alignment, L_TransitionalValue}, 163: {"align", "legend", 'A', HTML_ATTR_LAlign, L_TransitionalValue}, 164: {"align", "object", 'A', HTML_ATTR_Alignment, L_TransitionalValue}, 165: {"align", "p", 'A', HTML_ATTR_TextAlign, L_TransitionalValue}, 166: {"align", "table", 'A', HTML_ATTR_Align, L_TransitionalValue}, 167: {"align", "tbody", 'A', HTML_ATTR_Cell_align, L_StrictValue}, 168: {"align", "td", 'A', HTML_ATTR_Cell_align, L_StrictValue}, 169: {"align", "tfoot", 'A', HTML_ATTR_Cell_align, L_StrictValue}, 170: {"align", "th", 'A', HTML_ATTR_Cell_align, L_StrictValue}, 171: {"align", "thead", 'A', HTML_ATTR_Cell_align, L_StrictValue}, 172: {"align", "tr", 'A', HTML_ATTR_Cell_align, L_StrictValue}, 173: {"alink", "body", 'A', HTML_ATTR_ActiveLinkColor, L_TransitionalValue}, 174: {"alt", "", 'A', HTML_ATTR_ALT, L_BasicValue}, 175: {"archive", "", 'A', HTML_ATTR_archive, L_BasicValue}, 176: {"axis", "", 'A', HTML_ATTR_axis, L_BasicValue}, 177: 178: {"background", "", 'A', HTML_ATTR_background_, L_TransitionalValue}, 1.46 vatton 179: {"bgcolor", "", 'A', HTML_ATTR_BackgroundColor, L_TransitionalValue}, 1.20 cvs 180: {"border", "embed", 'A', HTML_ATTR_Img_border, L_TransitionalValue}, 1.49 vatton 181: /*{"border", "image", 'A', HTML_ATTR_Img_border, L_TransitionalValue},*/ 1.16 cvs 182: {"border", "img", 'A', HTML_ATTR_Img_border, L_TransitionalValue}, 183: {"border", "object", 'A', HTML_ATTR_Img_border, L_TransitionalValue}, 184: {"border", "table", 'A', HTML_ATTR_Border, L_StrictValue}, 185: 186: {"cellspacing", "", 'A', HTML_ATTR_cellspacing, L_StrictValue}, 187: {"cellpadding", "", 'A', HTML_ATTR_cellpadding, L_StrictValue}, 188: {"char", "", 'A', HTML_ATTR_char, L_StrictValue}, 189: {"charoff", "", 'A', HTML_ATTR_charoff, L_TransitionalValue}, 190: {"charset", "", 'A', HTML_ATTR_charset, L_BasicValue}, 191: {"checked", "", 'A', HTML_ATTR_Checked, L_BasicValue}, 192: {"cite", "", 'A', HTML_ATTR_cite, L_BasicValue}, 193: {"class", "", 'A', HTML_ATTR_Class, L_BasicValue}, 194: {"classid", "", 'A', HTML_ATTR_classid, L_BasicValue}, 1.43 quint 195: {"clear", "br", 'A', HTML_ATTR_Clear_, L_TransitionalValue}, 1.16 cvs 196: {"code", "", 'A', HTML_ATTR_code, L_BasicValue}, 197: {"codebase", "", 'A', HTML_ATTR_codebase, L_BasicValue}, 198: {"codetype", "", 'A', HTML_ATTR_codetype, L_BasicValue}, 199: {"color", "basefont", 'A', HTML_ATTR_BaseFontColor, L_TransitionalValue}, 200: {"color", "", 'A', HTML_ATTR_color, L_TransitionalValue}, 201: {"cols", "frameset", 'A', HTML_ATTR_ColWidth, L_TransitionalValue}, 202: {"cols", "textarea", 'A', HTML_ATTR_Columns, L_BasicValue}, 203: {"colspan", "", 'A', HTML_ATTR_colspan_, L_BasicValue}, 204: {"compact", "", 'A', HTML_ATTR_COMPACT, L_TransitionalValue}, 205: {"content", "", 'A', HTML_ATTR_meta_content, L_BasicValue}, 206: {"coords", "", 'A', HTML_ATTR_coords, L_BasicValue}, 207: 208: {"data", "", 'A', HTML_ATTR_data, L_BasicValue}, 209: {"datapagesize", "table", 'A', HTML_ATTR_datapagesize, L_BasicValue}, 210: {"datetime", "", 'A', HTML_ATTR_datetime, L_BasicValue}, 211: {"declare", "object", 'A', HTML_ATTR_declare, L_BasicValue}, 212: {"defer", "script", 'A', HTML_ATTR_defer, L_BasicValue}, 213: {"dir", "", 'A', HTML_ATTR_dir, L_BasicValue}, 214: {"disabled", "", 'A', HTML_ATTR_disabled, L_BasicValue}, 215: 1.17 cvs 216: {"enctype", "form", 'A', HTML_ATTR_ENCTYPE, L_BasicValue}, 1.16 cvs 217: {"enctype", "", 'A', HTML_ATTR_ENCTYPE, L_StrictValue}, 218: {"event", "script", 'A', HTML_ATTR_event, L_StrictValue}, 219: 220: {"face", "basefont", 'A', HTML_ATTR_BaseFontFace, L_TransitionalValue}, 221: {"face", "font", 'A', HTML_ATTR_face, L_TransitionalValue}, 222: {"for", "label", 'A', HTML_ATTR_Associated_control, L_BasicValue}, 223: {"for", "script", 'A', HTML_ATTR_for_, L_StrictValue}, 224: {"frame", "table", 'A', HTML_ATTR_frame, L_StrictValue}, 225: {"frameborder", "", 'A', HTML_ATTR_frameborder, L_TransitionalValue}, 226: 227: {"headers", "", 'A', HTML_ATTR_headers, L_BasicValue}, 1.49 vatton 228: /*{"height", "image", 'A', HTML_ATTR_Height_, L_BasicValue},*/ 1.16 cvs 229: {"height", "img", 'A', HTML_ATTR_Height_, L_BasicValue}, 230: {"height", "object", 'A', HTML_ATTR_Height_, L_BasicValue}, 231: {"height", "", 'A', HTML_ATTR_Height_, L_TransitionalValue}, 1.21 cvs 232: {"hidden", "embed", 'A', HTML_ATTR_EmbedHidden, L_TransitionalValue}, 1.16 cvs 233: {"href", "", 'A', HTML_ATTR_HREF_, L_BasicValue}, 234: {"hreflang", "", 'A', HTML_ATTR_hreflang, L_BasicValue}, 235: {"hspace", "", 'A', HTML_ATTR_hspace, L_TransitionalValue}, 236: {"http-equiv", "", 'A', HTML_ATTR_http_equiv, L_BasicValue}, 237: 238: {"id", "", 'A', HTML_ATTR_ID, L_BasicValue}, 239: {"ismap", "", 'A', HTML_ATTR_ISMAP, L_StrictValue}, 240: 241: {"label", "", 'A', HTML_ATTR_label, L_BasicValue}, 1.19 cvs 242: {"lang", "", 'A', HTML_ATTR_Language, L_BasicValue}, 1.44 cvs 243: {"language", "script", 'A', HTML_ATTR_script_language, L_BasicValue}, 1.47 vatton 244: {"link", "body", 'A', HTML_ATTR_LinkColor, L_TransitionalValue}, 1.16 cvs 245: {"longdesc", "", 'A', HTML_ATTR_longdesc, L_BasicValue}, 246: 247: {"marginheight", "", 'A', HTML_ATTR_marginheight, L_TransitionalValue}, 248: {"marginwidth", "", 'A', HTML_ATTR_marginwidth, L_TransitionalValue}, 249: {"maxlength", "", 'A', HTML_ATTR_MaxLength, L_BasicValue}, 250: {"media", "", 'A', HTML_ATTR_media, L_BasicValue}, 251: {"method", "", 'A', HTML_ATTR_METHOD, L_BasicValue}, 252: {"multiple", "", 'A', HTML_ATTR_Multiple, L_BasicValue}, 253: 254: {"name", "applet", 'A', HTML_ATTR_applet_name, L_TransitionalValue}, 1.21 cvs 255: {"name", "embed", 'A', HTML_ATTR_EmbedName, L_TransitionalValue}, 1.53 ! quint 256: {"name", "frame", 'A', HTML_ATTR_NAME, L_TransitionalValue}, ! 257: {"name", "iframe", 'A', HTML_ATTR_NAME, L_TransitionalValue}, 1.16 cvs 258: {"name", "meta", 'A', HTML_ATTR_meta_name, L_BasicValue}, 259: {"name", "param", 'A', HTML_ATTR_Param_name, L_BasicValue}, 260: {"name", "", 'A', HTML_ATTR_NAME, L_BasicValue}, 261: {"nohref", "", 'A', HTML_ATTR_nohref, L_BasicValue}, 262: {"noresize", "", 'A', HTML_ATTR_no_resize, L_BasicValue}, 263: {"noshade", "", 'A', HTML_ATTR_NoShade, L_BasicValue}, 264: {"nowrap", "", 'A', HTML_ATTR_No_wrap, L_TransitionalValue}, 265: 266: {"object", "applet", 'A', HTML_ATTR_object, L_TransitionalValue}, 267: {"onblur", "", 'A', HTML_ATTR_onblur, L_StrictValue}, 268: {"onchange", "", 'A', HTML_ATTR_onchange, L_StrictValue}, 269: {"onclick", "", 'A', HTML_ATTR_onclick, L_StrictValue}, 270: {"ondblclick", "", 'A', HTML_ATTR_ondblclick, L_StrictValue}, 271: {"onfocus", "", 'A', HTML_ATTR_onfocus, L_StrictValue}, 272: {"onkeydown", "", 'A', HTML_ATTR_onkeydown, L_StrictValue}, 273: {"onkeypress", "", 'A', HTML_ATTR_onkeypress, L_StrictValue}, 274: {"onkeyup", "", 'A', HTML_ATTR_onkeyup, L_StrictValue}, 275: {"onload", "", 'A', HTML_ATTR_onload, L_StrictValue}, 276: {"onmousedown", "", 'A', HTML_ATTR_onmousedown, L_StrictValue}, 277: {"onmousemove", "", 'A', HTML_ATTR_onmousemove, L_StrictValue}, 278: {"onmouseout", "", 'A', HTML_ATTR_onmouseout, L_StrictValue}, 279: {"onmouseover", "", 'A', HTML_ATTR_onmouseover, L_StrictValue}, 280: {"onmouseup", "", 'A', HTML_ATTR_onmouseup, L_StrictValue}, 281: {"onreset", "form", 'A', HTML_ATTR_onreset, L_StrictValue}, 282: {"onselect", "", 'A', HTML_ATTR_onselect, L_StrictValue}, 283: {"onsubmit", "form", 'A', HTML_ATTR_onsubmit, L_StrictValue}, 284: {"onunload", "", 'A', HTML_ATTR_onunload, L_StrictValue}, 285: 1.50 quint 286: {"pluginspage", "embed", 'A', HTML_ATTR_pluginspage, L_TransitionalValue}, 287: {"pluginurl", "embed", 'A', HTML_ATTR_pluginurl, L_TransitionalValue}, 1.16 cvs 288: {"profile", "head", 'A', HTML_ATTR_profile, L_BasicValue}, 289: {"prompt", "", 'A', HTML_ATTR_Prompt, L_StrictValue}, 290: 291: {"rbspan", "rt", 'A', HTML_ATTR_rbspan, L_RubyValue}, 292: {"readonly", "", 'A', HTML_ATTR_readonly, L_BasicValue}, 293: {"rel", "", 'A', HTML_ATTR_REL, L_BasicValue}, 294: {"rev", "", 'A', HTML_ATTR_REV, L_BasicValue}, 295: {"rows", "frameset", 'A', HTML_ATTR_RowHeight, L_TransitionalValue}, 296: {"rows", "textarea", 'A', HTML_ATTR_Rows, L_BasicValue}, 297: {"rowspan", "", 'A', HTML_ATTR_rowspan_, L_BasicValue}, 298: {"rules", "table", 'A', HTML_ATTR_rules_, L_StrictValue}, 299: 300: {"scheme", "meta", 'A', HTML_ATTR_scheme, L_BasicValue}, 301: {"scope", "", 'A', HTML_ATTR_scope, L_BasicValue}, 302: {"scrolling", "", 'A', HTML_ATTR_scrolling, L_TransitionalValue}, 1.39 cvs 303: {"selected", "option", 'A', HTML_ATTR_Selected, L_BasicValue}, 1.16 cvs 304: {"shape", "", 'A', HTML_ATTR_shape, L_StrictValue}, 305: {"size", "basefont", 'A', HTML_ATTR_BaseFontSize, L_TransitionalValue}, 306: {"size", "font", 'A', HTML_ATTR_Font_size, L_TransitionalValue}, 307: {"size", "hr", 'A', HTML_ATTR_Size_, L_TransitionalValue}, 308: {"size", "input", 'A', HTML_ATTR_Area_Size, L_BasicValue}, 309: {"size", "select", 'A', HTML_ATTR_MenuSize, L_BasicValue}, 310: {"span", "col", 'A', HTML_ATTR_span_, L_StrictValue}, 311: {"span", "colgroup", 'A', HTML_ATTR_span_, L_StrictValue}, 1.21 cvs 312: {"src", "embed", 'A', HTML_ATTR_SRC, L_TransitionalValue}, 1.16 cvs 313: {"src", "frame", 'A', HTML_ATTR_FrameSrc, L_TransitionalValue}, 314: {"src", "iframe", 'A', HTML_ATTR_FrameSrc, L_TransitionalValue}, 315: {"src", "script", 'A', HTML_ATTR_script_src, L_StrictValue}, 316: {"src", "", 'A', HTML_ATTR_SRC, L_BasicValue}, 317: {"standby", "", 'A', HTML_ATTR_standby, L_BasicValue}, 318: {"start", "", 'A', HTML_ATTR_Start, L_BasicValue}, 319: {"style", "", 'A', HTML_ATTR_Style_, L_BasicValue}, 320: {"summary", "table", 'A', HTML_ATTR_summary, L_BasicValue}, 321: 322: {"tabindex", "", 'A', HTML_ATTR_tabindex, L_BasicValue}, 1.52 vatton 323: {"target", "", 'A', HTML_ATTR_target_, L_TransitionalValue}, 1.47 vatton 324: {"text", "", 'A', HTML_ATTR_TextColor, L_TransitionalValue}, 1.16 cvs 325: {"title", "", 'A', HTML_ATTR_Title, L_BasicValue}, 326: {"type", "button", 'A', HTML_ATTR_Button_type, L_StrictValue}, 1.36 cvs 327: {"type", "embed", 'A', HTML_ATTR_Embed_type, L_TransitionalValue}, 1.16 cvs 328: {"type", "li", 'A', HTML_ATTR_ItemStyle, L_BasicValue}, 329: {"type", "link", 'A', HTML_ATTR_Link_type, L_BasicValue}, 330: {"type", "a", 'A', HTML_ATTR_Link_type, L_BasicValue}, 331: {"type", "object", 'A', HTML_ATTR_Object_type, L_BasicValue}, 332: {"type", "ol", 'A', HTML_ATTR_NumberStyle, L_BasicValue}, 333: {"type", "param", 'A', HTML_ATTR_Param_type, L_BasicValue}, 334: {"type", "script", 'A', HTML_ATTR_content_type, L_StrictValue}, 335: {"type", "style", 'A', HTML_ATTR_Notation, L_StrictValue}, 336: {"type", "ul", 'A', HTML_ATTR_BulletStyle, L_BasicValue}, 1.34 quint 337: {"type", "", SPACE, DummyAttribute, L_BasicValue}, 1.16 cvs 338: 339: {"usemap", "", 'A', HTML_ATTR_USEMAP, L_BasicValue}, 340: 341: {"valign", "tbody", 'A', HTML_ATTR_Row_valign, L_StrictValue}, 342: {"valign", "td", 'A', HTML_ATTR_Cell_valign, L_StrictValue}, 343: {"valign", "tfoot", 'A', HTML_ATTR_Row_valign, L_StrictValue}, 344: {"valign", "th", 'A', HTML_ATTR_Cell_valign, L_StrictValue}, 345: {"valign", "thead", 'A', HTML_ATTR_Row_valign, L_StrictValue}, 346: {"valign", "tr", 'A', HTML_ATTR_Row_valign, L_StrictValue}, 347: {"value", "li", 'A', HTML_ATTR_ItemValue, L_BasicValue}, 348: {"value", "param", 'A', HTML_ATTR_Param_value, L_BasicValue}, 349: {"value", "", 'A', HTML_ATTR_Value_, L_BasicValue}, 350: {"valuetype", "param", 'A', HTML_ATTR_valuetype, L_BasicValue}, 351: {"version", "", 'A', 0, L_BasicValue}, 352: {"vlink", "body", 'A', HTML_ATTR_VisitedLinkColor, L_TransitionalValue}, 353: {"vspace", "", 'A', HTML_ATTR_vspace, L_TransitionalValue}, 354: 355: {"width", "applet", 'A', HTML_ATTR_Width__, L_TransitionalValue}, 356: {"width", "col", 'A', HTML_ATTR_Width__, L_StrictValue}, 357: {"width", "colgroup", 'A', HTML_ATTR_Width__, L_StrictValue}, 1.20 cvs 358: {"width", "embed", 'A', HTML_ATTR_Width__, L_TransitionalValue}, 1.16 cvs 359: {"width", "hr", 'A', HTML_ATTR_Width__, L_TransitionalValue}, 360: {"width", "iframe", 'A', HTML_ATTR_Width__, L_TransitionalValue}, 1.49 vatton 361: /*{"width", "image", 'A', HTML_ATTR_Width__, L_BasicValue},*/ 1.16 cvs 362: {"width", "img", 'A', HTML_ATTR_Width__, L_BasicValue}, 363: {"width", "object", 'A', HTML_ATTR_Width__, L_BasicValue}, 364: {"width", "pre", 'A', HTML_ATTR_Width__, L_TransitionalValue}, 365: {"width", "table", 'A', HTML_ATTR_Width__, L_StrictValue}, 366: {"width", "td", 'A', HTML_ATTR_Width__, L_TransitionalValue}, 367: {"width", "th", 'A', HTML_ATTR_Width__, L_TransitionalValue}, 1.1 cvs 368: 1.16 cvs 369: {"xml:space", "", 'A', HTML_ATTR_xml_space, L_BasicValue}, 1.6 cvs 370: 1.16 cvs 371: {"zzghost", "", 'A', HTML_ATTR_Ghost_restruct, L_BasicValue}, 372: {"", "", EOS, 0, L_OtherValue} /* Last entry. Mandatory */ 1.1 cvs 373: }; 374: 1.31 vatton 375: /* Mapping table of HTML attribute values */ 376: AttrValueMapping XhtmlAttrValueMappingTable[] = 377: { 378: {HTML_ATTR_dir, "ltr", HTML_ATTR_dir_VAL_ltr_}, 379: {HTML_ATTR_dir, "rtl", HTML_ATTR_dir_VAL_rtl_}, 380: 381: {HTML_ATTR_TextAlign, "left", HTML_ATTR_TextAlign_VAL_left_}, 382: {HTML_ATTR_TextAlign, "center", HTML_ATTR_TextAlign_VAL_center_}, 383: {HTML_ATTR_TextAlign, "right", HTML_ATTR_TextAlign_VAL_right_}, 384: {HTML_ATTR_TextAlign, "justify", HTML_ATTR_TextAlign_VAL_justify_}, 385: 386: {HTML_ATTR_Align, "left", HTML_ATTR_Align_VAL_left_}, 387: {HTML_ATTR_Align, "center", HTML_ATTR_Align_VAL_center_}, 388: {HTML_ATTR_Align, "right", HTML_ATTR_Align_VAL_right_}, 389: 390: {HTML_ATTR_LAlign, "top", HTML_ATTR_LAlign_VAL_Top_}, 391: {HTML_ATTR_LAlign, "bottom", HTML_ATTR_LAlign_VAL_Bottom_}, 392: {HTML_ATTR_LAlign, "left", HTML_ATTR_LAlign_VAL_Left_}, 393: {HTML_ATTR_LAlign, "right", HTML_ATTR_LAlign_VAL_Right_}, 394: 1.43 quint 395: {HTML_ATTR_Clear_, "left", HTML_ATTR_Clear__VAL_Left_}, 396: {HTML_ATTR_Clear_, "right", HTML_ATTR_Clear__VAL_Right_}, 397: {HTML_ATTR_Clear_, "all", HTML_ATTR_Clear__VAL_All_}, 398: {HTML_ATTR_Clear_, "none", HTML_ATTR_Clear__VAL_None_}, 1.31 vatton 399: 400: {HTML_ATTR_NumberStyle, "1", HTML_ATTR_NumberStyle_VAL_Arabic_}, 401: {HTML_ATTR_NumberStyle, "a", HTML_ATTR_NumberStyle_VAL_LowerAlpha}, 402: {HTML_ATTR_NumberStyle, "A", HTML_ATTR_NumberStyle_VAL_UpperAlpha}, 403: {HTML_ATTR_NumberStyle, "i", HTML_ATTR_NumberStyle_VAL_LowerRoman}, 404: {HTML_ATTR_NumberStyle, "I", HTML_ATTR_NumberStyle_VAL_UpperRoman}, 405: 406: {HTML_ATTR_BulletStyle, "disc", HTML_ATTR_BulletStyle_VAL_disc}, 407: {HTML_ATTR_BulletStyle, "square", HTML_ATTR_BulletStyle_VAL_square}, 408: {HTML_ATTR_BulletStyle, "circle", HTML_ATTR_BulletStyle_VAL_circle}, 409: 410: {HTML_ATTR_ItemStyle, "1", HTML_ATTR_ItemStyle_VAL_Arabic_}, 411: {HTML_ATTR_ItemStyle, "a", HTML_ATTR_ItemStyle_VAL_LowerAlpha}, 412: {HTML_ATTR_ItemStyle, "A", HTML_ATTR_ItemStyle_VAL_UpperAlpha}, 413: {HTML_ATTR_ItemStyle, "i", HTML_ATTR_ItemStyle_VAL_LowerRoman}, 414: {HTML_ATTR_ItemStyle, "I", HTML_ATTR_ItemStyle_VAL_UpperRoman}, 415: {HTML_ATTR_ItemStyle, "disc", HTML_ATTR_ItemStyle_VAL_disc}, 416: {HTML_ATTR_ItemStyle, "square", HTML_ATTR_ItemStyle_VAL_square}, 417: {HTML_ATTR_ItemStyle, "circle", HTML_ATTR_ItemStyle_VAL_circle}, 418: 419: {HTML_ATTR_Button_type, "button", HTML_ATTR_Button_type_VAL_button}, 420: {HTML_ATTR_Button_type, "submit", HTML_ATTR_Button_type_VAL_submit}, 421: {HTML_ATTR_Button_type, "reset", HTML_ATTR_Button_type_VAL_reset}, 422: 423: {HTML_ATTR_frame, "void", HTML_ATTR_frame_VAL_void}, 424: {HTML_ATTR_frame, "above", HTML_ATTR_frame_VAL_above}, 425: {HTML_ATTR_frame, "below", HTML_ATTR_frame_VAL_below}, 426: {HTML_ATTR_frame, "hsides", HTML_ATTR_frame_VAL_hsides}, 427: {HTML_ATTR_frame, "lhs", HTML_ATTR_frame_VAL_lhs}, 428: {HTML_ATTR_frame, "rhs", HTML_ATTR_frame_VAL_rhs}, 429: {HTML_ATTR_frame, "vsides", HTML_ATTR_frame_VAL_vsides}, 430: {HTML_ATTR_frame, "box", HTML_ATTR_frame_VAL_box}, 431: {HTML_ATTR_frame, "border", HTML_ATTR_frame_VAL_border}, 432: 433: {HTML_ATTR_frameborder, "0", HTML_ATTR_frameborder_VAL_Border0}, 434: {HTML_ATTR_frameborder, "1", HTML_ATTR_frameborder_VAL_Border1}, 435: 436: {HTML_ATTR_scrolling, "yes", HTML_ATTR_scrolling_VAL_Yes_}, 437: {HTML_ATTR_scrolling, "no", HTML_ATTR_scrolling_VAL_No_}, 438: {HTML_ATTR_scrolling, "auto", HTML_ATTR_scrolling_VAL_auto_}, 439: 440: {HTML_ATTR_rules_, "none", HTML_ATTR_rules__VAL_none_}, 441: {HTML_ATTR_rules_, "groups", HTML_ATTR_rules__VAL_groups}, 442: {HTML_ATTR_rules_, "rows", HTML_ATTR_rules__VAL_rows}, 443: {HTML_ATTR_rules_, "cols", HTML_ATTR_rules__VAL_cols}, 444: {HTML_ATTR_rules_, "all", HTML_ATTR_rules__VAL_all}, 445: 446: {HTML_ATTR_Cell_align, "left", HTML_ATTR_Cell_align_VAL_Cell_left}, 447: {HTML_ATTR_Cell_align, "center", HTML_ATTR_Cell_align_VAL_Cell_center}, 448: {HTML_ATTR_Cell_align, "right", HTML_ATTR_Cell_align_VAL_Cell_right}, 449: {HTML_ATTR_Cell_align, "justify", HTML_ATTR_Cell_align_VAL_Cell_justify}, 450: {HTML_ATTR_Cell_align, "char", HTML_ATTR_Cell_align_VAL_Cell_char}, 451: 452: {HTML_ATTR_Alignment, "top", HTML_ATTR_Alignment_VAL_Top_}, 453: {HTML_ATTR_Alignment, "middle", HTML_ATTR_Alignment_VAL_Middle_}, 454: {HTML_ATTR_Alignment, "bottom", HTML_ATTR_Alignment_VAL_Bottom_}, 455: {HTML_ATTR_Alignment, "left", HTML_ATTR_Alignment_VAL_Left_}, 456: {HTML_ATTR_Alignment, "right", HTML_ATTR_Alignment_VAL_Right_}, 457: 458: {HTML_ATTR_METHOD, "get", HTML_ATTR_METHOD_VAL_Get_}, 459: {HTML_ATTR_METHOD, "post", HTML_ATTR_METHOD_VAL_Post_}, 460: 461: {HTML_ATTR_Position, "top", HTML_ATTR_Position_VAL_Position_top}, 462: {HTML_ATTR_Position, "bottom", HTML_ATTR_Position_VAL_Position_bottom}, 463: {HTML_ATTR_Position, "left", HTML_ATTR_Position_VAL_Position_left}, 464: {HTML_ATTR_Position, "right", HTML_ATTR_Position_VAL_Position_right}, 465: 466: {HTML_ATTR_Row_valign, "top", HTML_ATTR_Row_valign_VAL_Row_top}, 467: {HTML_ATTR_Row_valign, "middle", HTML_ATTR_Row_valign_VAL_Row_middle}, 468: {HTML_ATTR_Row_valign, "bottom", HTML_ATTR_Row_valign_VAL_Row_bottom}, 469: {HTML_ATTR_Row_valign, "baseline", HTML_ATTR_Row_valign_VAL_Row_baseline}, 470: 471: {HTML_ATTR_Cell_valign, "top", HTML_ATTR_Cell_valign_VAL_Cell_top}, 472: {HTML_ATTR_Cell_valign, "middle", HTML_ATTR_Cell_valign_VAL_Cell_middle}, 473: {HTML_ATTR_Cell_valign, "bottom", HTML_ATTR_Cell_valign_VAL_Cell_bottom}, 474: {HTML_ATTR_Cell_valign, "baseline", HTML_ATTR_Cell_valign_VAL_Cell_baseline}, 475: 476: {HTML_ATTR_shape, "rect", HTML_ATTR_shape_VAL_rectangle}, 477: {HTML_ATTR_shape, "circle", HTML_ATTR_shape_VAL_circle}, 478: {HTML_ATTR_shape, "poly", HTML_ATTR_shape_VAL_polygon}, 479: 480: {HTML_ATTR_valuetype, "data", HTML_ATTR_valuetype_VAL_data_}, 481: {HTML_ATTR_valuetype, "ref", HTML_ATTR_valuetype_VAL_ref}, 482: {HTML_ATTR_valuetype, "object", HTML_ATTR_valuetype_VAL_object_}, 483: 484: {HTML_ATTR_EmbedHidden, "yes", HTML_ATTR_EmbedHidden_VAL_Yes_}, 485: {HTML_ATTR_EmbedHidden, "no", HTML_ATTR_EmbedHidden_VAL_No_}, 486: 487: /* HTML attribute TYPE generates a Thot element */ 488: {DummyAttribute, "button", HTML_EL_Button_Input}, 489: {DummyAttribute, "checkbox", HTML_EL_Checkbox_Input}, 490: {DummyAttribute, "file", HTML_EL_File_Input}, 491: {DummyAttribute, "hidden", HTML_EL_Hidden_Input}, 1.51 quint 492: {DummyAttribute, "image", HTML_EL_PICTURE_UNIT}, 1.31 vatton 493: {DummyAttribute, "password", HTML_EL_Password_Input}, 494: {DummyAttribute, "radio", HTML_EL_Radio_Input}, 495: {DummyAttribute, "reset", HTML_EL_Reset_Input}, 496: {DummyAttribute, "submit", HTML_EL_Submit_Input}, 497: {DummyAttribute, "text", HTML_EL_Text_Input}, 498: 499: /* The following declarations allow the parser to accept boolean attributes */ 500: /* written "checked=CHECKED"), for instance */ 501: {HTML_ATTR_ISMAP, "ismap", HTML_ATTR_ISMAP_VAL_Yes_}, 502: {HTML_ATTR_nohref, "nohref", HTML_ATTR_nohref_VAL_Yes_}, 503: {HTML_ATTR_COMPACT, "compact", HTML_ATTR_COMPACT_VAL_Yes_}, 504: {HTML_ATTR_Multiple, "multiple", HTML_ATTR_Multiple_VAL_Yes_}, 505: {HTML_ATTR_Selected, "selected", HTML_ATTR_Selected_VAL_Yes_}, 506: {HTML_ATTR_Checked, "checked", HTML_ATTR_Checked_VAL_Yes_}, 507: {HTML_ATTR_No_wrap, "nowrap", HTML_ATTR_No_wrap_VAL_no_wrap}, 508: {HTML_ATTR_NoShade, "noshade", HTML_ATTR_NoShade_VAL_NoShade_}, 509: {HTML_ATTR_declare, "declare", HTML_ATTR_declare_VAL_declare_}, 510: {HTML_ATTR_defer, "defer", HTML_ATTR_defer_VAL_Yes_}, 511: {HTML_ATTR_disabled, "disabled", HTML_ATTR_disabled_VAL_Yes_}, 512: {HTML_ATTR_readonly, "readonly", HTML_ATTR_readonly_VAL_Yes_}, 513: {HTML_ATTR_no_resize, "noresize", HTML_ATTR_no_resize_VAL_Yes_}, 514: 515: /* XML attribute xml:space */ 516: {HTML_ATTR_xml_space, "default", HTML_ATTR_xml_space_VAL_xml_space_default}, 517: {HTML_ATTR_xml_space, "preserve", HTML_ATTR_xml_space_VAL_xml_space_preserve}, 518: 519: {0, "", 0} /* Last entry. Mandatory */ 520: }; 521: 1.9 cvs 522: /* Mapping table of Xhtml entities */ 523: XmlEntity XhtmlEntityTable[] = 524: { 525: /* This table MUST be in alphabetical order */ 1.11 cvs 526: {"AElig", 198}, /* latin capital letter AE = */ 1.10 cvs 527: /* latin capital ligature AE, U+00C6 ISOlat1 */ 1.11 cvs 528: {"Aacute", 193}, /* latin capital letter A with acute, U+00C1 ISOlat1 */ 529: {"Acirc", 194}, /* latin capital letter A with circumflex, U+00C2 ISOlat1 */ 530: {"Agrave", 192}, /* latin capital letter A with grave = */ 1.10 cvs 531: /* latin capital letter A grave, U+00C0 ISOlat1 */ 1.11 cvs 532: {"Alpha", 913}, /* greek capital letter alpha, U+0391 */ 533: {"Aring", 197}, /* latin capital letter A with ring above = */ 1.10 cvs 534: /* latin capital letter A ring, U+00C5 ISOlat1 */ 1.11 cvs 535: {"Atilde", 195}, /* latin capital letter A with tilde, U+00C3 ISOlat1 */ 536: {"Auml", 196}, /* latin capital letter A with diaeresis, U+00C4 ISOlat1 */ 537: {"Beta", 914}, /* greek capital letter beta, U+0392 */ 538: {"Ccedil", 199}, /* latin capital letter C with cedilla, U+00C7 ISOlat1 */ 539: {"Chi", 935}, /* greek capital letter chi, U+03A7 */ 540: {"Dagger", 8225}, /* double dagger, U+2021 ISOpub */ 541: {"Delta", 916}, /* greek capital letter delta, U+0394 ISOgrk3 */ 542: {"ETH", 208}, /* latin capital letter ETH, U+00D0 ISOlat1 */ 543: {"Eacute", 201}, /* latin capital letter E with acute, U+00C9 ISOlat1 */ 544: {"Ecirc", 202}, /* latin capital letter E with circumflex, U+00CA ISOlat1 */ 545: {"Egrave", 200}, /* latin capital letter E with grave, U+00C8 ISOlat1 */ 546: {"Epsilon", 917}, /* greek capital letter epsilon, U+0395 */ 547: {"Eta", 919}, /* greek capital letter eta, U+0397 */ 548: {"Euml", 203}, /* latin capital letter E with diaeresis, U+00CB ISOlat1 */ 549: {"Gamma", 915}, /* greek capital letter gamma, U+0393 ISOgrk3 */ 550: {"Iacute", 205}, /* latin capital letter I with acute, U+00CD ISOlat1 */ 551: {"Icirc", 206}, /* latin capital letter I with circumflex, U+00CE ISOlat1 */ 552: {"Igrave", 204}, /* latin capital letter I with grave, U+00CC ISOlat1 */ 553: {"Iota", 921}, /* greek capital letter iota, U+0399 */ 554: {"Iuml", 207}, /* latin capital letter I with diaeresis, U+00CF ISOlat1 */ 555: {"Kappa", 922}, /* greek capital letter kappa, U+039A */ 556: {"Lambda", 923}, /* greek capital letter lambda, U+039B ISOgrk3 */ 557: {"Mu", 924}, /* greek capital letter mu, U+039C */ 558: {"Ntilde", 209}, /* latin capital letter N with tilde, U+00D1 ISOlat1 */ 559: {"Nu", 925}, /* greek capital letter nu, U+039D */ 560: {"OElig", 338}, /* latin capital ligature OE, U+0152 ISOlat2 */ 561: {"Oacute", 211}, /* latin capital letter O with acute, U+00D3 ISOlat1 */ 562: {"Ocirc", 212}, /* latin capital letter O with circumflex, U+00D4 ISOlat1 */ 563: {"Ograve", 210}, /* latin capital letter O with grave, U+00D2 ISOlat1 */ 564: {"Omega", 937}, /* greek capital letter omega, U+03A9 ISOgrk3 */ 565: {"Omicron", 927}, /* greek capital letter omicron, U+039F */ 566: {"Oslash", 216}, /* latin capital letter O with stroke = */ 1.10 cvs 567: /* latin capital letter O slash, U+00D8 ISOlat1 */ 1.11 cvs 568: {"Otilde", 213}, /* latin capital letter O with tilde, U+00D5 ISOlat1 */ 569: {"Ouml", 214}, /* latin capital letter O with diaeresis, U+00D6 ISOlat1 */ 570: {"Phi", 934}, /* greek capital letter phi, U+03A6 ISOgrk3 */ 571: {"Pi", 928}, /* greek capital letter pi, U+03A0 ISOgrk3 */ 572: {"Prime", 8243}, /* double prime = seconds = inches, U+2033 ISOtech */ 573: {"Psi", 936}, /* greek capital letter psi, U+03A8 ISOgrk3 */ 574: {"Rho", 929}, /* greek capital letter rho, U+03A1 */ 575: {"Scaron", 352}, /* latin capital letter S with caron, U+0160 ISOlat2 */ 576: {"Sigma", 931}, /* greek capital letter sigma, U+03A3 ISOgrk3 */ 577: {"THORN", 222}, /* latin capital letter THORN, U+00DE ISOlat1 */ 578: {"Tau", 932}, /* greek capital letter tau, U+03A4 */ 579: {"Theta", 920}, /* greek capital letter theta, U+0398 ISOgrk3 */ 580: {"Uacute", 218}, /* latin capital letter U with acute, U+00DA ISOlat1 */ 581: {"Ucirc", 219}, /* latin capital letter U with circumflex, U+00DB ISOlat1 */ 582: {"Ugrave", 217}, /* latin capital letter U with grave, U+00D9 ISOlat1 */ 583: {"Upsilon", 933}, /* greek capital letter upsilon, U+03A5 ISOgrk3 */ 584: {"Uuml", 220}, /* latin capital letter U with diaeresis, U+00DC ISOlat1 */ 585: {"Xi", 926}, /* greek capital letter xi, U+039E ISOgrk3 */ 586: {"Yacute", 221}, /* latin capital letter Y with acute, U+00DD ISOlat1 */ 587: {"Yuml", 376}, /* latin capital letter Y with diaeresis, U+0178 ISOlat2 */ 588: {"Zeta", 918}, /* greek capital letter zeta, U+0396 */ 589: {"aacute", 225}, /* latin small letter a with acute, U+00E1 ISOlat1 */ 590: {"acirc", 226}, /* latin small letter a with circumflex, U+00E2 ISOlat1 */ 591: {"acute", 180}, /* acute accent = spacing acute, U+00B4 ISOdia */ 592: {"aelig", 230}, /* latin small letter ae = */ 1.10 cvs 593: /* latin small ligature ae, U+00E6 ISOlat1 */ 1.11 cvs 594: {"agrave", 224}, /* latin small letter a with grave = */ 1.10 cvs 595: /* latin small letter a grave, U+00E0 ISOlat1 */ 1.11 cvs 596: {"alefsym", 8501},/* alef symbol = first transfinite cardinal, U+2135 NEW */ 597: {"alpha", 945}, /* greek small letter alpha, U+03B1 ISOgrk3 */ 598: {"amp", 38}, /* ampersand, U+0026 ISOnum */ 599: {"and", 8743}, /* logical and = wedge, U+2227 ISOtech */ 600: {"ang", 8736}, /* angle, U+2220 ISOamso */ 601: {"aring", 229}, /* latin small letter a with ring above = */ 1.10 cvs 602: /* latin small letter a ring, U+00E5 ISOlat1 */ 1.11 cvs 603: {"asymp", 8776}, /* almost equal to = asymptotic to, U+2248 ISOamsr */ 604: {"atilde", 227}, /* latin small letter a with tilde, U+00E3 ISOlat1 */ 605: {"auml", 228}, /* latin small letter a with diaeresis, U+00E4 ISOlat1 */ 606: {"bdquo", 8222}, /* double low-9 quotation mark, U+201E NEW */ 607: {"beta", 946}, /* greek small letter beta, U+03B2 ISOgrk3 */ 608: {"brvbar", 166}, /* broken bar = broken vertical bar, U+00A6 ISOnum */ 609: {"bull", 8226}, /* bullet = black small circle, U+2022 ISOpub */ 610: {"cap", 8745}, /* intersection = cap, U+2229 ISOtech */ 611: {"ccedil", 231}, /* latin small letter c with cedilla, U+00E7 ISOlat1 */ 612: {"cedil", 184}, /* cedilla = spacing cedilla, U+00B8 ISOdia */ 613: {"cent", 162}, /* cent sign, U+00A2 ISOnum */ 614: {"chi", 967}, /* greek small letter chi, U+03C7 ISOgrk3 */ 615: {"circ", 710}, /* modifier letter circumflex accent, U+02C6 ISOpub */ 616: {"clubs", 9827}, /* black club suit = shamrock, U+2663 ISOpub */ 617: {"cong", 8773}, /* approximately equal to, U+2245 ISOtech */ 618: {"copy", 169}, /* copyright sign, U+00A9 ISOnum */ 619: {"crarr", 8629}, /* downwards arrow with corner leftwards = */ 1.10 cvs 620: /* carriage return, U+21B5 NEW */ 1.11 cvs 621: {"cup", 8746}, /* union cup, U+222A ISOtech */ 622: {"curren", 164}, /* currency sign, U+00A4 ISOnum */ 623: {"dArr", 8659}, /* downwards double arrow, U+21D3 ISOamsa */ 624: {"dagger", 8224}, /* dagger, U+2020 ISOpub */ 625: {"darr", 8595}, /* downwards arrow, U+2193 ISOnum */ 626: {"deg", 176}, /* degree sign, U+00B0 ISOnum */ 627: {"delta", 948}, /* greek small letter delta, U+03B4 ISOgrk3 */ 628: {"diams", 9830}, /* black diamond suit, U+2666 ISOpub */ 629: {"divide", 247}, /* division sign, U+00F7 ISOnum */ 630: {"eacute", 233}, /* latin small letter e with acute, U+00E9 ISOlat1 */ 631: {"ecirc", 234}, /* latin small letter e with circumflex, U+00EA ISOlat1 */ 632: {"egrave", 232}, /* latin small letter e with grave, U+00E8 ISOlat1 */ 633: {"empty", 8709}, /* empty set = null set = diameter, U+2205 ISOamso */ 634: {"emsp", 8195}, /* em space, U+2003 ISOpub */ 635: {"ensp", 8194}, /* en space, U+2002 ISOpub */ 1.29 quint 636: {"epsi", 949}, /* greek small letter epsilon, U+03B5 ISOgrk3 */ 1.11 cvs 637: {"epsilon", 949}, /* greek small letter epsilon, U+03B5 ISOgrk3 */ 638: {"equiv", 8801}, /* identical to, U+2261 ISOtech */ 639: {"eta", 951}, /* greek small letter eta, U+03B7 ISOgrk3 */ 640: {"eth", 240}, /* latin small letter eth, U+00F0 ISOlat1 */ 641: {"euml", 235}, /* latin small letter e with diaeresis, U+00EB ISOlat1 */ 642: {"euro", 8364}, /* euro sign, U+20AC NEW */ 643: {"exist", 8707}, /* there exists, U+2203 ISOtech */ 644: {"fnof", 402}, /* latin small f with hook = function = */ 1.10 cvs 645: /* florin, U+0192 ISOtech */ 1.11 cvs 646: {"forall", 8704}, /* for all, U+2200 ISOtech */ 647: {"frac12", 189}, /* vulgar fraction one half = */ 1.10 cvs 648: /*fraction one half, U+00BD ISOnum */ 1.11 cvs 649: {"frac14", 188}, /* vulgar fraction one quarter = */ 1.10 cvs 650: /* fraction one quarter, U+00BC ISOnum */ 1.11 cvs 651: {"frac34", 190}, /* vulgar fraction three quarters = */ 1.10 cvs 652: /* fraction three quarters, U+00BE ISOnum */ 1.11 cvs 653: {"frasl", 8260}, /* fraction slash, U+2044 NEW */ 654: {"gamma", 947}, /* greek small letter gamma, U+03B3 ISOgrk3 */ 655: {"ge", 8805}, /* greater-than or equal to, U+2265 ISOtech */ 656: {"gt", 62}, /* greater-than sign, U+003E ISOnum */ 657: {"hArr", 8660}, /* left right double arrow, U+21D4 ISOamsa */ 658: {"harr", 8596}, /* left right arrow, U+2194 ISOamsa */ 659: {"hearts", 9829}, /* black heart suit = valentine, U+2665 ISOpub */ 660: {"hellip", 8230}, /* horizontal ellipsis = three dot leader, U+2026 ISOpub */ 661: {"hyphen", 173}, /* hyphen = discretionary hyphen, U+00AD ISOnum */ 662: {"iacute", 237}, /* latin small letter i with acute, U+00ED ISOlat1 */ 663: {"icirc", 238}, /* latin small letter i with circumflex, U+00EE ISOlat1 */ 664: {"iexcl", 161}, /* inverted exclamation mark, U+00A1 ISOnum */ 665: {"igrave", 236}, /* latin small letter i with grave, U+00EC ISOlat1 */ 666: {"image", 8465}, /* blackletter capital I = imaginary part, U+2111 ISOamso */ 667: {"infin", 8734}, /* infinity, U+221E ISOtech */ 668: {"int", 8747}, /* integral, U+222B ISOtech */ 669: {"iota", 953}, /* greek small letter iota, U+03B9 ISOgrk3 */ 670: {"iquest", 191}, /* inverted question mark = */ 1.10 cvs 671: /* turned question mark, U+00BF ISOnum */ 1.11 cvs 672: {"isin", 8712}, /* element of, U+2208 ISOtech */ 673: {"iuml", 239}, /* latin small letter i with diaeresis, U+00EF ISOlat1 */ 674: {"kappa", 954}, /* greek small letter kappa, U+03BA ISOgrk3 */ 675: {"lArr", 8656}, /* leftwards double arrow, U+21D0 ISOtech */ 676: {"lambda", 955}, /* greek small letter lambda, U+03BB ISOgrk3 */ 677: {"lang", 9001}, /* left-pointing angle bracket = bra, U+2329 ISOtech */ 678: {"laquo", 171}, /* left-pointing double angle quotation mark = */ 1.10 cvs 679: /* left pointing guillemet, U+00AB ISOnum */ 1.11 cvs 680: {"larr", 8592}, /* leftwards arrow, U+2190 ISOnum */ 681: {"lceil", 8968}, /* left ceiling = apl upstile, U+2308 ISOamsc */ 682: {"ldquo", 8220}, /* left double quotation mark, U+201C ISOnum */ 683: {"le", 8804}, /* less-than or equal to, U+2264 ISOtech */ 684: {"lfloor", 8970}, /* left floor = apl downstile, U+230A ISOamsc */ 685: {"lowast", 8727}, /* asterisk operator, U+2217 ISOtech */ 686: {"loz", 9674}, /* lozenge, U+25CA ISOpub */ 687: {"lrm", 8206}, /* left-to-right mark, U+200E NEW RFC 2070 */ 688: {"lsaquo", 8249}, /* single left-pointing angle quotation mark, */ 1.10 cvs 689: /* U+2039 ISO proposed */ 1.11 cvs 690: {"lsquo", 8216}, /* left single quotation mark, U+2018 ISOnum */ 691: {"lt", 60}, /* less-than sign, U+003C ISOnum */ 692: {"macr", 175}, /* macron = spacing macron = overline = APL overbar, */ 1.10 cvs 693: /* U+00AF ISOdia */ 1.11 cvs 694: {"mdash", 8212}, /* em dash, U+2014 ISOpub */ 695: {"micro", 181}, /* micro sign, U+00B5 ISOnum */ 696: {"middot", 183}, /* middle dot = Georgian comma = */ 1.10 cvs 697: /* Greek middle dot, U+00B7 ISOnum */ 1.11 cvs 698: {"minus", 8722}, /* minus sign, U+2212 ISOtech */ 699: {"mu", 956}, /* greek small letter mu, U+03BC ISOgrk3 */ 700: {"nabla", 8711}, /* nabla = backward difference, U+2207 ISOtech */ 701: {"nbsp", 160}, /* no-break space = non-breaking space, U+00A0 ISOnum */ 702: {"ndash", 8211}, /* en dash, U+2013 ISOpub */ 703: {"ne", 8800}, /* not equal to, U+2260 ISOtech */ 704: {"ni", 8715}, /* contains as member, U+220B ISOtech */ 705: {"not", 172}, /* not sign, U+00AC ISOnum */ 706: {"notin", 8713}, /* not an element of, U+2209 ISOtech */ 707: {"nsub", 8836}, /* not a subset of, U+2284 ISOamsn */ 708: {"ntilde", 241}, /* latin small letter n with tilde, U+00F1 ISOlat1 */ 709: {"nu", 957}, /* greek small letter nu, U+03BD ISOgrk3 */ 710: {"oacute", 243}, /* latin small letter o with acute, U+00F3 ISOlat1 */ 711: {"ocirc", 244}, /* latin small letter o with circumflex, U+00F4 ISOlat1 */ 712: {"oelig", 339}, /* latin small ligature oe, U+0153 ISOlat2 */ 713: {"ograve", 242}, /* latin small letter o with grave, U+00F2 ISOlat1 */ 714: {"oline", 8254}, /* overline = spacing overscore, U+203E NEW */ 715: {"omega", 969}, /* greek small letter omega, U+03C9 ISOgrk3 */ 716: {"omicron", 959}, /* greek small letter omicron, U+03BF NEW */ 717: {"oplus", 8853}, /* circled plus = direct sum, U+2295 ISOamsb */ 718: {"or", 8744}, /* logical or = vee, U+2228 ISOtech */ 719: {"ordf", 170}, /* feminine ordinal indicator, U+00AA ISOnum */ 720: {"ordm", 186}, /* masculine ordinal indicator, U+00BA ISOnum */ 721: {"oslash", 248}, /* latin small letter o with stroke, = */ 1.10 cvs 722: /* latin small letter o slash, U+00F8 ISOlat1 */ 1.11 cvs 723: {"otilde", 245}, /* latin small letter o with tilde, U+00F5 ISOlat1 */ 724: {"otimes", 8855}, /* circled times = vector product, U+2297 ISOamsb */ 725: {"ouml", 246}, /* latin small letter o with diaeresis, U+00F6 ISOlat1 */ 726: {"para", 182}, /* pilcrow sign = paragraph sign, U+00B6 ISOnum */ 727: {"part", 8706}, /* partial differential, U+2202 ISOtech */ 728: {"permil", 8240}, /* per mille sign, U+2030 ISOtech */ 729: {"perp", 8869}, /* up tack = orthogonal to = perpendicular, U+22A5 ISOtech */ 730: {"phi", 966}, /* greek small letter phi, U+03C6 ISOgrk3 */ 1.32 quint 731: {"phiv", 981}, /* greek U+03D5 ISOgrk3 */ 1.11 cvs 732: {"pi", 960}, /* greek small letter pi, U+03C0 ISOgrk3 */ 733: {"piv", 982}, /* greek pi symbol, U+03D6 ISOgrk3 */ 734: {"plusmn", 177}, /* plus-minus sign = plus-or-minus sign, U+00B1 ISOnum */ 735: {"pound", 163}, /* pound sign, U+00A3 ISOnum */ 736: {"prime", 8242}, /* prime = minutes = feet, U+2032 ISOtech */ 737: {"prod", 8719}, /* n-ary product = product sign, U+220F ISOamsb */ 738: {"prop", 8733}, /* proportional to, U+221D ISOtech */ 739: {"psi", 968}, /* greek small letter psi, U+03C8 ISOgrk3 */ 740: {"quot", 34}, /* quotation mark = APL quote, U+0022 ISOnum */ 741: {"rArr", 8658}, /* rightwards double arrow, U+21D2 ISOtech */ 742: {"radic", 8730}, /* square root = radical sign, U+221A ISOtech */ 743: {"rang", 9002}, /* right-pointing angle bracket = ket, U+232A ISOtech */ 744: {"raquo", 187}, /* right-pointing double angle quotation mark = */ 1.10 cvs 745: /* right pointing guillemet, U+00BB ISOnum */ 1.11 cvs 746: {"rarr", 8594}, /* rightwards arrow, U+2192 ISOnum */ 747: {"rceil", 8969}, /* right ceiling, U+2309 ISOamsc */ 748: {"rdquo", 8221}, /* right double quotation mark, U+201D ISOnum */ 749: {"real", 8476}, /* blackletter capital R = real part symbol, U+211C ISOamso */ 750: {"reg", 174}, /* registered sign = registered trade mark sign, */ 1.10 cvs 751: /* U+00AE ISOnum */ 1.11 cvs 752: {"rfloor", 8971}, /* right floor, U+230B ISOamsc */ 753: {"rho", 961}, /* greek small letter rho, U+03C1 ISOgrk3 */ 754: {"rlm", 8207}, /* right-to-left mark, U+200F NEW RFC 2070 */ 755: {"rsaquo", 8250}, /* single right-pointing angle quotation mark, */ 1.10 cvs 756: /* U+203A ISO proposed */ 1.11 cvs 757: {"rsquo", 8217}, /* right single quotation mark, U+2019 ISOnum */ 758: {"sbquo", 8218}, /* single low-9 quotation mark, U+201A NEW */ 759: {"scaron", 353}, /* latin small letter s with caron, U+0161 ISOlat2 */ 760: {"sdot", 8901}, /* dot operator, U+22C5 ISOamsb */ 761: {"sect", 167}, /* section sign, U+00A7 ISOnum */ 762: {"shy", 173}, /* soft hyphen = discretionary hyphen, U+00AD ISOnum */ 763: {"sigma", 963}, /* greek small letter sigma, U+03C3 ISOgrk3 */ 764: {"sigmaf", 962}, /* greek small letter final sigma, U+03C2 ISOgrk3 */ 765: {"sim", 8764}, /* tilde operator = varies with = similar to, U+223C ISOtech */ 766: {"spades", 9824}, /* black spade suit, U+2660 ISOpub */ 767: {"sub", 8834}, /* subset of, U+2282 ISOtech */ 768: {"sube", 8838}, /* subset of or equal to, U+2286 ISOtech */ 769: {"sum", 8721}, /* n-ary sumation, U+2211 ISOamsb */ 770: {"sup", 8835}, /* superset of, U+2283 ISOtech */ 771: {"sup1", 185}, /* superscript one = superscript digit one, U+00B9 ISOnum */ 772: {"sup2", 178}, /* superscript two = superscript digit two = squared, */ 1.10 cvs 773: /* U+00B2 ISOnum */ 1.11 cvs 774: {"sup3", 179}, /* superscript three = superscript digit three = cubed, */ 1.10 cvs 775: /* U+00B3 ISOnum */ 1.11 cvs 776: {"supe", 8839}, /* superset of or equal to, U+2287 ISOtech */ 777: {"szlig", 223}, /* latin small letter sharp s = ess-zed, U+00DF ISOlat1 */ 778: {"tau", 964}, /* greek small letter tau, U+03C4 ISOgrk3 */ 779: {"there4", 8756}, /* therefore, U+2234 ISOtech */ 780: {"theta", 952}, /* greek small letter theta, U+03B8 ISOgrk3 */ 781: {"thetasym", 977},/* greek small letter theta symbol, U+03D1 NEW */ 782: {"thinsp", 8201}, /* thin space, U+2009 ISOpub */ 783: {"thorn", 254}, /* latin small letter thorn with, U+00FE ISOlat1 */ 784: {"tilde", 732}, /* small tilde, U+02DC ISOdia */ 785: {"times", 215}, /* multiplication sign, U+00D7 ISOnum */ 786: {"trade", 8482}, /* trade mark sign, U+2122 ISOnum */ 787: {"uArr", 8657}, /* upwards double arrow, U+21D1 ISOamsa */ 788: {"uacute", 250}, /* latin small letter u with acute, U+00FA ISOlat1 */ 789: {"uarr", 8593}, /* upwards arrow, U+2191 ISOnum*/ 790: {"ucirc", 251}, /* latin small letter u with circumflex, U+00FB ISOlat1 */ 791: {"ugrave", 249}, /* latin small letter u with grave, U+00F9 ISOlat1 */ 792: {"uml", 168}, /* diaeresis = spacing diaeresis, U+00A8 ISOdia */ 793: {"upsih", 978}, /* greek upsilon with hook symbol, U+03D2 NEW */ 794: {"upsilon", 965}, /* greek small letter upsilon, U+03C5 ISOgrk3 */ 795: {"uuml", 252}, /* latin small letter u with diaeresis, U+00FC ISOlat1 */ 796: {"weierp", 8472}, /* script capital P = power set = Weierstrass p, */ 1.10 cvs 797: /* U+2118 ISOamso */ 1.11 cvs 798: {"xi", 958}, /* greek small letter xi, U+03BE ISOgrk3 */ 799: {"yacute", 253}, /* latin small letter y with acute, U+00FD ISOlat1 */ 800: {"yen", 165}, /* yen sign = yuan sign, U+00A5 ISOnum */ 801: {"yuml", 255}, /* latin small letter y with diaeresis, U+00FF ISOlat1 */ 802: {"zeta", 950}, /* greek small letter zeta, U+03B6 ISOgrk3 */ 803: {"zwj", 8205}, /* zero width joiner, U+200D NEW RFC 2070 */ 804: {"zwnj", 8204}, /* zero width non-joiner, U+200C NEW RFC 2070 */ 805: {"zzzz", 0} /* this last entry is required */ 1.9 cvs 806: };