Annotation of Amaya/amaya/HTMLnames.h, revision 1.58
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},
1.54 quint 113: {"table", SPACE, HTML_EL_Table_, L_BasicValue, FALSE},
1.16 cvs 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:
1.56 vatton 341: {"valign", "col", 'A', HTML_ATTR_Cell_valign, L_StrictValue},
342: {"valign", "colgroup", 'A', HTML_ATTR_Cell_valign, L_StrictValue},
1.16 cvs 343: {"valign", "tbody", 'A', HTML_ATTR_Row_valign, L_StrictValue},
344: {"valign", "td", 'A', HTML_ATTR_Cell_valign, L_StrictValue},
345: {"valign", "tfoot", 'A', HTML_ATTR_Row_valign, L_StrictValue},
346: {"valign", "th", 'A', HTML_ATTR_Cell_valign, L_StrictValue},
347: {"valign", "thead", 'A', HTML_ATTR_Row_valign, L_StrictValue},
348: {"valign", "tr", 'A', HTML_ATTR_Row_valign, L_StrictValue},
349: {"value", "li", 'A', HTML_ATTR_ItemValue, L_BasicValue},
350: {"value", "param", 'A', HTML_ATTR_Param_value, L_BasicValue},
351: {"value", "", 'A', HTML_ATTR_Value_, L_BasicValue},
352: {"valuetype", "param", 'A', HTML_ATTR_valuetype, L_BasicValue},
353: {"version", "", 'A', 0, L_BasicValue},
354: {"vlink", "body", 'A', HTML_ATTR_VisitedLinkColor, L_TransitionalValue},
355: {"vspace", "", 'A', HTML_ATTR_vspace, L_TransitionalValue},
356:
357: {"width", "applet", 'A', HTML_ATTR_Width__, L_TransitionalValue},
358: {"width", "col", 'A', HTML_ATTR_Width__, L_StrictValue},
359: {"width", "colgroup", 'A', HTML_ATTR_Width__, L_StrictValue},
1.20 cvs 360: {"width", "embed", 'A', HTML_ATTR_Width__, L_TransitionalValue},
1.16 cvs 361: {"width", "hr", 'A', HTML_ATTR_Width__, L_TransitionalValue},
362: {"width", "iframe", 'A', HTML_ATTR_Width__, L_TransitionalValue},
1.49 vatton 363: /*{"width", "image", 'A', HTML_ATTR_Width__, L_BasicValue},*/
1.16 cvs 364: {"width", "img", 'A', HTML_ATTR_Width__, L_BasicValue},
365: {"width", "object", 'A', HTML_ATTR_Width__, L_BasicValue},
366: {"width", "pre", 'A', HTML_ATTR_Width__, L_TransitionalValue},
367: {"width", "table", 'A', HTML_ATTR_Width__, L_StrictValue},
368: {"width", "td", 'A', HTML_ATTR_Width__, L_TransitionalValue},
369: {"width", "th", 'A', HTML_ATTR_Width__, L_TransitionalValue},
1.1 cvs 370:
1.58 ! vatton 371: {"xml:id", "", 'A', HTML_ATTR_xmlid, L_BasicValue},
1.16 cvs 372: {"xml:space", "", 'A', HTML_ATTR_xml_space, L_BasicValue},
373: {"zzghost", "", 'A', HTML_ATTR_Ghost_restruct, L_BasicValue},
374: {"", "", EOS, 0, L_OtherValue} /* Last entry. Mandatory */
1.1 cvs 375: };
376:
1.31 vatton 377: /* Mapping table of HTML attribute values */
378: AttrValueMapping XhtmlAttrValueMappingTable[] =
379: {
380: {HTML_ATTR_dir, "ltr", HTML_ATTR_dir_VAL_ltr_},
381: {HTML_ATTR_dir, "rtl", HTML_ATTR_dir_VAL_rtl_},
382:
383: {HTML_ATTR_TextAlign, "left", HTML_ATTR_TextAlign_VAL_left_},
384: {HTML_ATTR_TextAlign, "center", HTML_ATTR_TextAlign_VAL_center_},
385: {HTML_ATTR_TextAlign, "right", HTML_ATTR_TextAlign_VAL_right_},
386: {HTML_ATTR_TextAlign, "justify", HTML_ATTR_TextAlign_VAL_justify_},
387:
388: {HTML_ATTR_Align, "left", HTML_ATTR_Align_VAL_left_},
389: {HTML_ATTR_Align, "center", HTML_ATTR_Align_VAL_center_},
390: {HTML_ATTR_Align, "right", HTML_ATTR_Align_VAL_right_},
391:
392: {HTML_ATTR_LAlign, "top", HTML_ATTR_LAlign_VAL_Top_},
393: {HTML_ATTR_LAlign, "bottom", HTML_ATTR_LAlign_VAL_Bottom_},
394: {HTML_ATTR_LAlign, "left", HTML_ATTR_LAlign_VAL_Left_},
395: {HTML_ATTR_LAlign, "right", HTML_ATTR_LAlign_VAL_Right_},
396:
1.43 quint 397: {HTML_ATTR_Clear_, "left", HTML_ATTR_Clear__VAL_Left_},
398: {HTML_ATTR_Clear_, "right", HTML_ATTR_Clear__VAL_Right_},
399: {HTML_ATTR_Clear_, "all", HTML_ATTR_Clear__VAL_All_},
400: {HTML_ATTR_Clear_, "none", HTML_ATTR_Clear__VAL_None_},
1.31 vatton 401:
402: {HTML_ATTR_NumberStyle, "1", HTML_ATTR_NumberStyle_VAL_Arabic_},
403: {HTML_ATTR_NumberStyle, "a", HTML_ATTR_NumberStyle_VAL_LowerAlpha},
404: {HTML_ATTR_NumberStyle, "A", HTML_ATTR_NumberStyle_VAL_UpperAlpha},
1.54 quint 405: {HTML_ATTR_NumberStyle, "i", HTML_ATTR_NumberStyle_VAL_LowerRoman_},
406: {HTML_ATTR_NumberStyle, "I", HTML_ATTR_NumberStyle_VAL_UpperRoman_},
1.31 vatton 407:
1.54 quint 408: {HTML_ATTR_BulletStyle, "disc", HTML_ATTR_BulletStyle_VAL_disc_},
409: {HTML_ATTR_BulletStyle, "square", HTML_ATTR_BulletStyle_VAL_square_},
410: {HTML_ATTR_BulletStyle, "circle", HTML_ATTR_BulletStyle_VAL_circle_},
1.31 vatton 411:
412: {HTML_ATTR_ItemStyle, "1", HTML_ATTR_ItemStyle_VAL_Arabic_},
413: {HTML_ATTR_ItemStyle, "a", HTML_ATTR_ItemStyle_VAL_LowerAlpha},
414: {HTML_ATTR_ItemStyle, "A", HTML_ATTR_ItemStyle_VAL_UpperAlpha},
1.54 quint 415: {HTML_ATTR_ItemStyle, "i", HTML_ATTR_ItemStyle_VAL_LowerRoman_},
416: {HTML_ATTR_ItemStyle, "I", HTML_ATTR_ItemStyle_VAL_UpperRoman_},
417: {HTML_ATTR_ItemStyle, "disc", HTML_ATTR_ItemStyle_VAL_disc_},
418: {HTML_ATTR_ItemStyle, "square", HTML_ATTR_ItemStyle_VAL_square_},
419: {HTML_ATTR_ItemStyle, "circle", HTML_ATTR_ItemStyle_VAL_circle_},
1.31 vatton 420:
421: {HTML_ATTR_Button_type, "button", HTML_ATTR_Button_type_VAL_button},
422: {HTML_ATTR_Button_type, "submit", HTML_ATTR_Button_type_VAL_submit},
423: {HTML_ATTR_Button_type, "reset", HTML_ATTR_Button_type_VAL_reset},
424:
425: {HTML_ATTR_frame, "void", HTML_ATTR_frame_VAL_void},
426: {HTML_ATTR_frame, "above", HTML_ATTR_frame_VAL_above},
427: {HTML_ATTR_frame, "below", HTML_ATTR_frame_VAL_below},
428: {HTML_ATTR_frame, "hsides", HTML_ATTR_frame_VAL_hsides},
429: {HTML_ATTR_frame, "lhs", HTML_ATTR_frame_VAL_lhs},
430: {HTML_ATTR_frame, "rhs", HTML_ATTR_frame_VAL_rhs},
431: {HTML_ATTR_frame, "vsides", HTML_ATTR_frame_VAL_vsides},
432: {HTML_ATTR_frame, "box", HTML_ATTR_frame_VAL_box},
433: {HTML_ATTR_frame, "border", HTML_ATTR_frame_VAL_border},
434:
435: {HTML_ATTR_frameborder, "0", HTML_ATTR_frameborder_VAL_Border0},
436: {HTML_ATTR_frameborder, "1", HTML_ATTR_frameborder_VAL_Border1},
437:
438: {HTML_ATTR_scrolling, "yes", HTML_ATTR_scrolling_VAL_Yes_},
439: {HTML_ATTR_scrolling, "no", HTML_ATTR_scrolling_VAL_No_},
440: {HTML_ATTR_scrolling, "auto", HTML_ATTR_scrolling_VAL_auto_},
441:
442: {HTML_ATTR_rules_, "none", HTML_ATTR_rules__VAL_none_},
443: {HTML_ATTR_rules_, "groups", HTML_ATTR_rules__VAL_groups},
444: {HTML_ATTR_rules_, "rows", HTML_ATTR_rules__VAL_rows},
445: {HTML_ATTR_rules_, "cols", HTML_ATTR_rules__VAL_cols},
446: {HTML_ATTR_rules_, "all", HTML_ATTR_rules__VAL_all},
447:
448: {HTML_ATTR_Cell_align, "left", HTML_ATTR_Cell_align_VAL_Cell_left},
449: {HTML_ATTR_Cell_align, "center", HTML_ATTR_Cell_align_VAL_Cell_center},
450: {HTML_ATTR_Cell_align, "right", HTML_ATTR_Cell_align_VAL_Cell_right},
451: {HTML_ATTR_Cell_align, "justify", HTML_ATTR_Cell_align_VAL_Cell_justify},
452: {HTML_ATTR_Cell_align, "char", HTML_ATTR_Cell_align_VAL_Cell_char},
453:
454: {HTML_ATTR_Alignment, "top", HTML_ATTR_Alignment_VAL_Top_},
455: {HTML_ATTR_Alignment, "middle", HTML_ATTR_Alignment_VAL_Middle_},
456: {HTML_ATTR_Alignment, "bottom", HTML_ATTR_Alignment_VAL_Bottom_},
457: {HTML_ATTR_Alignment, "left", HTML_ATTR_Alignment_VAL_Left_},
458: {HTML_ATTR_Alignment, "right", HTML_ATTR_Alignment_VAL_Right_},
459:
460: {HTML_ATTR_METHOD, "get", HTML_ATTR_METHOD_VAL_Get_},
461: {HTML_ATTR_METHOD, "post", HTML_ATTR_METHOD_VAL_Post_},
462:
463: {HTML_ATTR_Position, "top", HTML_ATTR_Position_VAL_Position_top},
464: {HTML_ATTR_Position, "bottom", HTML_ATTR_Position_VAL_Position_bottom},
465: {HTML_ATTR_Position, "left", HTML_ATTR_Position_VAL_Position_left},
466: {HTML_ATTR_Position, "right", HTML_ATTR_Position_VAL_Position_right},
467:
468: {HTML_ATTR_Row_valign, "top", HTML_ATTR_Row_valign_VAL_Row_top},
469: {HTML_ATTR_Row_valign, "middle", HTML_ATTR_Row_valign_VAL_Row_middle},
470: {HTML_ATTR_Row_valign, "bottom", HTML_ATTR_Row_valign_VAL_Row_bottom},
471: {HTML_ATTR_Row_valign, "baseline", HTML_ATTR_Row_valign_VAL_Row_baseline},
472:
473: {HTML_ATTR_Cell_valign, "top", HTML_ATTR_Cell_valign_VAL_Cell_top},
474: {HTML_ATTR_Cell_valign, "middle", HTML_ATTR_Cell_valign_VAL_Cell_middle},
475: {HTML_ATTR_Cell_valign, "bottom", HTML_ATTR_Cell_valign_VAL_Cell_bottom},
476: {HTML_ATTR_Cell_valign, "baseline", HTML_ATTR_Cell_valign_VAL_Cell_baseline},
477:
478: {HTML_ATTR_shape, "rect", HTML_ATTR_shape_VAL_rectangle},
479: {HTML_ATTR_shape, "circle", HTML_ATTR_shape_VAL_circle},
480: {HTML_ATTR_shape, "poly", HTML_ATTR_shape_VAL_polygon},
1.55 vatton 481: {HTML_ATTR_shape, "default", HTML_ATTR_shape_VAL_default_},
1.31 vatton 482:
483: {HTML_ATTR_valuetype, "data", HTML_ATTR_valuetype_VAL_data_},
484: {HTML_ATTR_valuetype, "ref", HTML_ATTR_valuetype_VAL_ref},
485: {HTML_ATTR_valuetype, "object", HTML_ATTR_valuetype_VAL_object_},
486:
487: {HTML_ATTR_EmbedHidden, "yes", HTML_ATTR_EmbedHidden_VAL_Yes_},
488: {HTML_ATTR_EmbedHidden, "no", HTML_ATTR_EmbedHidden_VAL_No_},
489:
490: /* HTML attribute TYPE generates a Thot element */
491: {DummyAttribute, "button", HTML_EL_Button_Input},
492: {DummyAttribute, "checkbox", HTML_EL_Checkbox_Input},
493: {DummyAttribute, "file", HTML_EL_File_Input},
494: {DummyAttribute, "hidden", HTML_EL_Hidden_Input},
1.51 quint 495: {DummyAttribute, "image", HTML_EL_PICTURE_UNIT},
1.31 vatton 496: {DummyAttribute, "password", HTML_EL_Password_Input},
497: {DummyAttribute, "radio", HTML_EL_Radio_Input},
498: {DummyAttribute, "reset", HTML_EL_Reset_Input},
499: {DummyAttribute, "submit", HTML_EL_Submit_Input},
500: {DummyAttribute, "text", HTML_EL_Text_Input},
501:
502: /* The following declarations allow the parser to accept boolean attributes */
503: /* written "checked=CHECKED"), for instance */
504: {HTML_ATTR_ISMAP, "ismap", HTML_ATTR_ISMAP_VAL_Yes_},
505: {HTML_ATTR_nohref, "nohref", HTML_ATTR_nohref_VAL_Yes_},
506: {HTML_ATTR_COMPACT, "compact", HTML_ATTR_COMPACT_VAL_Yes_},
507: {HTML_ATTR_Multiple, "multiple", HTML_ATTR_Multiple_VAL_Yes_},
508: {HTML_ATTR_Selected, "selected", HTML_ATTR_Selected_VAL_Yes_},
509: {HTML_ATTR_Checked, "checked", HTML_ATTR_Checked_VAL_Yes_},
510: {HTML_ATTR_No_wrap, "nowrap", HTML_ATTR_No_wrap_VAL_no_wrap},
511: {HTML_ATTR_NoShade, "noshade", HTML_ATTR_NoShade_VAL_NoShade_},
512: {HTML_ATTR_declare, "declare", HTML_ATTR_declare_VAL_declare_},
513: {HTML_ATTR_defer, "defer", HTML_ATTR_defer_VAL_Yes_},
514: {HTML_ATTR_disabled, "disabled", HTML_ATTR_disabled_VAL_Yes_},
515: {HTML_ATTR_readonly, "readonly", HTML_ATTR_readonly_VAL_Yes_},
516: {HTML_ATTR_no_resize, "noresize", HTML_ATTR_no_resize_VAL_Yes_},
517:
518: /* XML attribute xml:space */
519: {HTML_ATTR_xml_space, "default", HTML_ATTR_xml_space_VAL_xml_space_default},
520: {HTML_ATTR_xml_space, "preserve", HTML_ATTR_xml_space_VAL_xml_space_preserve},
521:
522: {0, "", 0} /* Last entry. Mandatory */
523: };
524:
1.9 cvs 525: /* Mapping table of Xhtml entities */
526: XmlEntity XhtmlEntityTable[] =
527: {
528: /* This table MUST be in alphabetical order */
1.11 cvs 529: {"AElig", 198}, /* latin capital letter AE = */
1.10 cvs 530: /* latin capital ligature AE, U+00C6 ISOlat1 */
1.11 cvs 531: {"Aacute", 193}, /* latin capital letter A with acute, U+00C1 ISOlat1 */
532: {"Acirc", 194}, /* latin capital letter A with circumflex, U+00C2 ISOlat1 */
533: {"Agrave", 192}, /* latin capital letter A with grave = */
1.10 cvs 534: /* latin capital letter A grave, U+00C0 ISOlat1 */
1.11 cvs 535: {"Alpha", 913}, /* greek capital letter alpha, U+0391 */
536: {"Aring", 197}, /* latin capital letter A with ring above = */
1.10 cvs 537: /* latin capital letter A ring, U+00C5 ISOlat1 */
1.11 cvs 538: {"Atilde", 195}, /* latin capital letter A with tilde, U+00C3 ISOlat1 */
539: {"Auml", 196}, /* latin capital letter A with diaeresis, U+00C4 ISOlat1 */
540: {"Beta", 914}, /* greek capital letter beta, U+0392 */
541: {"Ccedil", 199}, /* latin capital letter C with cedilla, U+00C7 ISOlat1 */
542: {"Chi", 935}, /* greek capital letter chi, U+03A7 */
543: {"Dagger", 8225}, /* double dagger, U+2021 ISOpub */
544: {"Delta", 916}, /* greek capital letter delta, U+0394 ISOgrk3 */
545: {"ETH", 208}, /* latin capital letter ETH, U+00D0 ISOlat1 */
546: {"Eacute", 201}, /* latin capital letter E with acute, U+00C9 ISOlat1 */
547: {"Ecirc", 202}, /* latin capital letter E with circumflex, U+00CA ISOlat1 */
548: {"Egrave", 200}, /* latin capital letter E with grave, U+00C8 ISOlat1 */
549: {"Epsilon", 917}, /* greek capital letter epsilon, U+0395 */
550: {"Eta", 919}, /* greek capital letter eta, U+0397 */
551: {"Euml", 203}, /* latin capital letter E with diaeresis, U+00CB ISOlat1 */
552: {"Gamma", 915}, /* greek capital letter gamma, U+0393 ISOgrk3 */
553: {"Iacute", 205}, /* latin capital letter I with acute, U+00CD ISOlat1 */
554: {"Icirc", 206}, /* latin capital letter I with circumflex, U+00CE ISOlat1 */
555: {"Igrave", 204}, /* latin capital letter I with grave, U+00CC ISOlat1 */
556: {"Iota", 921}, /* greek capital letter iota, U+0399 */
557: {"Iuml", 207}, /* latin capital letter I with diaeresis, U+00CF ISOlat1 */
558: {"Kappa", 922}, /* greek capital letter kappa, U+039A */
559: {"Lambda", 923}, /* greek capital letter lambda, U+039B ISOgrk3 */
560: {"Mu", 924}, /* greek capital letter mu, U+039C */
561: {"Ntilde", 209}, /* latin capital letter N with tilde, U+00D1 ISOlat1 */
562: {"Nu", 925}, /* greek capital letter nu, U+039D */
563: {"OElig", 338}, /* latin capital ligature OE, U+0152 ISOlat2 */
564: {"Oacute", 211}, /* latin capital letter O with acute, U+00D3 ISOlat1 */
565: {"Ocirc", 212}, /* latin capital letter O with circumflex, U+00D4 ISOlat1 */
566: {"Ograve", 210}, /* latin capital letter O with grave, U+00D2 ISOlat1 */
567: {"Omega", 937}, /* greek capital letter omega, U+03A9 ISOgrk3 */
568: {"Omicron", 927}, /* greek capital letter omicron, U+039F */
569: {"Oslash", 216}, /* latin capital letter O with stroke = */
1.10 cvs 570: /* latin capital letter O slash, U+00D8 ISOlat1 */
1.11 cvs 571: {"Otilde", 213}, /* latin capital letter O with tilde, U+00D5 ISOlat1 */
572: {"Ouml", 214}, /* latin capital letter O with diaeresis, U+00D6 ISOlat1 */
573: {"Phi", 934}, /* greek capital letter phi, U+03A6 ISOgrk3 */
574: {"Pi", 928}, /* greek capital letter pi, U+03A0 ISOgrk3 */
575: {"Prime", 8243}, /* double prime = seconds = inches, U+2033 ISOtech */
576: {"Psi", 936}, /* greek capital letter psi, U+03A8 ISOgrk3 */
577: {"Rho", 929}, /* greek capital letter rho, U+03A1 */
578: {"Scaron", 352}, /* latin capital letter S with caron, U+0160 ISOlat2 */
579: {"Sigma", 931}, /* greek capital letter sigma, U+03A3 ISOgrk3 */
580: {"THORN", 222}, /* latin capital letter THORN, U+00DE ISOlat1 */
581: {"Tau", 932}, /* greek capital letter tau, U+03A4 */
582: {"Theta", 920}, /* greek capital letter theta, U+0398 ISOgrk3 */
583: {"Uacute", 218}, /* latin capital letter U with acute, U+00DA ISOlat1 */
584: {"Ucirc", 219}, /* latin capital letter U with circumflex, U+00DB ISOlat1 */
585: {"Ugrave", 217}, /* latin capital letter U with grave, U+00D9 ISOlat1 */
586: {"Upsilon", 933}, /* greek capital letter upsilon, U+03A5 ISOgrk3 */
587: {"Uuml", 220}, /* latin capital letter U with diaeresis, U+00DC ISOlat1 */
588: {"Xi", 926}, /* greek capital letter xi, U+039E ISOgrk3 */
589: {"Yacute", 221}, /* latin capital letter Y with acute, U+00DD ISOlat1 */
590: {"Yuml", 376}, /* latin capital letter Y with diaeresis, U+0178 ISOlat2 */
591: {"Zeta", 918}, /* greek capital letter zeta, U+0396 */
592: {"aacute", 225}, /* latin small letter a with acute, U+00E1 ISOlat1 */
593: {"acirc", 226}, /* latin small letter a with circumflex, U+00E2 ISOlat1 */
594: {"acute", 180}, /* acute accent = spacing acute, U+00B4 ISOdia */
595: {"aelig", 230}, /* latin small letter ae = */
1.10 cvs 596: /* latin small ligature ae, U+00E6 ISOlat1 */
1.11 cvs 597: {"agrave", 224}, /* latin small letter a with grave = */
1.10 cvs 598: /* latin small letter a grave, U+00E0 ISOlat1 */
1.11 cvs 599: {"alefsym", 8501},/* alef symbol = first transfinite cardinal, U+2135 NEW */
600: {"alpha", 945}, /* greek small letter alpha, U+03B1 ISOgrk3 */
601: {"amp", 38}, /* ampersand, U+0026 ISOnum */
602: {"and", 8743}, /* logical and = wedge, U+2227 ISOtech */
603: {"ang", 8736}, /* angle, U+2220 ISOamso */
604: {"aring", 229}, /* latin small letter a with ring above = */
1.10 cvs 605: /* latin small letter a ring, U+00E5 ISOlat1 */
1.11 cvs 606: {"asymp", 8776}, /* almost equal to = asymptotic to, U+2248 ISOamsr */
607: {"atilde", 227}, /* latin small letter a with tilde, U+00E3 ISOlat1 */
608: {"auml", 228}, /* latin small letter a with diaeresis, U+00E4 ISOlat1 */
609: {"bdquo", 8222}, /* double low-9 quotation mark, U+201E NEW */
610: {"beta", 946}, /* greek small letter beta, U+03B2 ISOgrk3 */
611: {"brvbar", 166}, /* broken bar = broken vertical bar, U+00A6 ISOnum */
612: {"bull", 8226}, /* bullet = black small circle, U+2022 ISOpub */
613: {"cap", 8745}, /* intersection = cap, U+2229 ISOtech */
614: {"ccedil", 231}, /* latin small letter c with cedilla, U+00E7 ISOlat1 */
615: {"cedil", 184}, /* cedilla = spacing cedilla, U+00B8 ISOdia */
616: {"cent", 162}, /* cent sign, U+00A2 ISOnum */
617: {"chi", 967}, /* greek small letter chi, U+03C7 ISOgrk3 */
618: {"circ", 710}, /* modifier letter circumflex accent, U+02C6 ISOpub */
619: {"clubs", 9827}, /* black club suit = shamrock, U+2663 ISOpub */
620: {"cong", 8773}, /* approximately equal to, U+2245 ISOtech */
621: {"copy", 169}, /* copyright sign, U+00A9 ISOnum */
622: {"crarr", 8629}, /* downwards arrow with corner leftwards = */
1.10 cvs 623: /* carriage return, U+21B5 NEW */
1.11 cvs 624: {"cup", 8746}, /* union cup, U+222A ISOtech */
625: {"curren", 164}, /* currency sign, U+00A4 ISOnum */
626: {"dArr", 8659}, /* downwards double arrow, U+21D3 ISOamsa */
627: {"dagger", 8224}, /* dagger, U+2020 ISOpub */
628: {"darr", 8595}, /* downwards arrow, U+2193 ISOnum */
629: {"deg", 176}, /* degree sign, U+00B0 ISOnum */
630: {"delta", 948}, /* greek small letter delta, U+03B4 ISOgrk3 */
631: {"diams", 9830}, /* black diamond suit, U+2666 ISOpub */
632: {"divide", 247}, /* division sign, U+00F7 ISOnum */
633: {"eacute", 233}, /* latin small letter e with acute, U+00E9 ISOlat1 */
634: {"ecirc", 234}, /* latin small letter e with circumflex, U+00EA ISOlat1 */
635: {"egrave", 232}, /* latin small letter e with grave, U+00E8 ISOlat1 */
636: {"empty", 8709}, /* empty set = null set = diameter, U+2205 ISOamso */
637: {"emsp", 8195}, /* em space, U+2003 ISOpub */
638: {"ensp", 8194}, /* en space, U+2002 ISOpub */
1.29 quint 639: {"epsi", 949}, /* greek small letter epsilon, U+03B5 ISOgrk3 */
1.11 cvs 640: {"epsilon", 949}, /* greek small letter epsilon, U+03B5 ISOgrk3 */
641: {"equiv", 8801}, /* identical to, U+2261 ISOtech */
642: {"eta", 951}, /* greek small letter eta, U+03B7 ISOgrk3 */
643: {"eth", 240}, /* latin small letter eth, U+00F0 ISOlat1 */
644: {"euml", 235}, /* latin small letter e with diaeresis, U+00EB ISOlat1 */
645: {"euro", 8364}, /* euro sign, U+20AC NEW */
646: {"exist", 8707}, /* there exists, U+2203 ISOtech */
647: {"fnof", 402}, /* latin small f with hook = function = */
1.10 cvs 648: /* florin, U+0192 ISOtech */
1.11 cvs 649: {"forall", 8704}, /* for all, U+2200 ISOtech */
650: {"frac12", 189}, /* vulgar fraction one half = */
1.10 cvs 651: /*fraction one half, U+00BD ISOnum */
1.11 cvs 652: {"frac14", 188}, /* vulgar fraction one quarter = */
1.10 cvs 653: /* fraction one quarter, U+00BC ISOnum */
1.11 cvs 654: {"frac34", 190}, /* vulgar fraction three quarters = */
1.10 cvs 655: /* fraction three quarters, U+00BE ISOnum */
1.11 cvs 656: {"frasl", 8260}, /* fraction slash, U+2044 NEW */
657: {"gamma", 947}, /* greek small letter gamma, U+03B3 ISOgrk3 */
658: {"ge", 8805}, /* greater-than or equal to, U+2265 ISOtech */
659: {"gt", 62}, /* greater-than sign, U+003E ISOnum */
660: {"hArr", 8660}, /* left right double arrow, U+21D4 ISOamsa */
661: {"harr", 8596}, /* left right arrow, U+2194 ISOamsa */
662: {"hearts", 9829}, /* black heart suit = valentine, U+2665 ISOpub */
663: {"hellip", 8230}, /* horizontal ellipsis = three dot leader, U+2026 ISOpub */
664: {"hyphen", 173}, /* hyphen = discretionary hyphen, U+00AD ISOnum */
665: {"iacute", 237}, /* latin small letter i with acute, U+00ED ISOlat1 */
666: {"icirc", 238}, /* latin small letter i with circumflex, U+00EE ISOlat1 */
667: {"iexcl", 161}, /* inverted exclamation mark, U+00A1 ISOnum */
668: {"igrave", 236}, /* latin small letter i with grave, U+00EC ISOlat1 */
669: {"image", 8465}, /* blackletter capital I = imaginary part, U+2111 ISOamso */
670: {"infin", 8734}, /* infinity, U+221E ISOtech */
671: {"int", 8747}, /* integral, U+222B ISOtech */
672: {"iota", 953}, /* greek small letter iota, U+03B9 ISOgrk3 */
673: {"iquest", 191}, /* inverted question mark = */
1.10 cvs 674: /* turned question mark, U+00BF ISOnum */
1.11 cvs 675: {"isin", 8712}, /* element of, U+2208 ISOtech */
676: {"iuml", 239}, /* latin small letter i with diaeresis, U+00EF ISOlat1 */
677: {"kappa", 954}, /* greek small letter kappa, U+03BA ISOgrk3 */
678: {"lArr", 8656}, /* leftwards double arrow, U+21D0 ISOtech */
679: {"lambda", 955}, /* greek small letter lambda, U+03BB ISOgrk3 */
1.57 quint 680: {"lang", 0x27E8}, /* mathematical left angle bracket, U+27E8 */
1.11 cvs 681: {"laquo", 171}, /* left-pointing double angle quotation mark = */
1.10 cvs 682: /* left pointing guillemet, U+00AB ISOnum */
1.11 cvs 683: {"larr", 8592}, /* leftwards arrow, U+2190 ISOnum */
684: {"lceil", 8968}, /* left ceiling = apl upstile, U+2308 ISOamsc */
685: {"ldquo", 8220}, /* left double quotation mark, U+201C ISOnum */
686: {"le", 8804}, /* less-than or equal to, U+2264 ISOtech */
687: {"lfloor", 8970}, /* left floor = apl downstile, U+230A ISOamsc */
688: {"lowast", 8727}, /* asterisk operator, U+2217 ISOtech */
689: {"loz", 9674}, /* lozenge, U+25CA ISOpub */
690: {"lrm", 8206}, /* left-to-right mark, U+200E NEW RFC 2070 */
691: {"lsaquo", 8249}, /* single left-pointing angle quotation mark, */
1.10 cvs 692: /* U+2039 ISO proposed */
1.11 cvs 693: {"lsquo", 8216}, /* left single quotation mark, U+2018 ISOnum */
694: {"lt", 60}, /* less-than sign, U+003C ISOnum */
695: {"macr", 175}, /* macron = spacing macron = overline = APL overbar, */
1.10 cvs 696: /* U+00AF ISOdia */
1.11 cvs 697: {"mdash", 8212}, /* em dash, U+2014 ISOpub */
698: {"micro", 181}, /* micro sign, U+00B5 ISOnum */
699: {"middot", 183}, /* middle dot = Georgian comma = */
1.10 cvs 700: /* Greek middle dot, U+00B7 ISOnum */
1.11 cvs 701: {"minus", 8722}, /* minus sign, U+2212 ISOtech */
702: {"mu", 956}, /* greek small letter mu, U+03BC ISOgrk3 */
703: {"nabla", 8711}, /* nabla = backward difference, U+2207 ISOtech */
704: {"nbsp", 160}, /* no-break space = non-breaking space, U+00A0 ISOnum */
705: {"ndash", 8211}, /* en dash, U+2013 ISOpub */
706: {"ne", 8800}, /* not equal to, U+2260 ISOtech */
707: {"ni", 8715}, /* contains as member, U+220B ISOtech */
708: {"not", 172}, /* not sign, U+00AC ISOnum */
709: {"notin", 8713}, /* not an element of, U+2209 ISOtech */
710: {"nsub", 8836}, /* not a subset of, U+2284 ISOamsn */
711: {"ntilde", 241}, /* latin small letter n with tilde, U+00F1 ISOlat1 */
712: {"nu", 957}, /* greek small letter nu, U+03BD ISOgrk3 */
713: {"oacute", 243}, /* latin small letter o with acute, U+00F3 ISOlat1 */
714: {"ocirc", 244}, /* latin small letter o with circumflex, U+00F4 ISOlat1 */
715: {"oelig", 339}, /* latin small ligature oe, U+0153 ISOlat2 */
716: {"ograve", 242}, /* latin small letter o with grave, U+00F2 ISOlat1 */
717: {"oline", 8254}, /* overline = spacing overscore, U+203E NEW */
718: {"omega", 969}, /* greek small letter omega, U+03C9 ISOgrk3 */
719: {"omicron", 959}, /* greek small letter omicron, U+03BF NEW */
720: {"oplus", 8853}, /* circled plus = direct sum, U+2295 ISOamsb */
721: {"or", 8744}, /* logical or = vee, U+2228 ISOtech */
722: {"ordf", 170}, /* feminine ordinal indicator, U+00AA ISOnum */
723: {"ordm", 186}, /* masculine ordinal indicator, U+00BA ISOnum */
724: {"oslash", 248}, /* latin small letter o with stroke, = */
1.10 cvs 725: /* latin small letter o slash, U+00F8 ISOlat1 */
1.11 cvs 726: {"otilde", 245}, /* latin small letter o with tilde, U+00F5 ISOlat1 */
727: {"otimes", 8855}, /* circled times = vector product, U+2297 ISOamsb */
728: {"ouml", 246}, /* latin small letter o with diaeresis, U+00F6 ISOlat1 */
729: {"para", 182}, /* pilcrow sign = paragraph sign, U+00B6 ISOnum */
730: {"part", 8706}, /* partial differential, U+2202 ISOtech */
731: {"permil", 8240}, /* per mille sign, U+2030 ISOtech */
732: {"perp", 8869}, /* up tack = orthogonal to = perpendicular, U+22A5 ISOtech */
733: {"phi", 966}, /* greek small letter phi, U+03C6 ISOgrk3 */
1.32 quint 734: {"phiv", 981}, /* greek U+03D5 ISOgrk3 */
1.11 cvs 735: {"pi", 960}, /* greek small letter pi, U+03C0 ISOgrk3 */
736: {"piv", 982}, /* greek pi symbol, U+03D6 ISOgrk3 */
737: {"plusmn", 177}, /* plus-minus sign = plus-or-minus sign, U+00B1 ISOnum */
738: {"pound", 163}, /* pound sign, U+00A3 ISOnum */
739: {"prime", 8242}, /* prime = minutes = feet, U+2032 ISOtech */
740: {"prod", 8719}, /* n-ary product = product sign, U+220F ISOamsb */
741: {"prop", 8733}, /* proportional to, U+221D ISOtech */
742: {"psi", 968}, /* greek small letter psi, U+03C8 ISOgrk3 */
743: {"quot", 34}, /* quotation mark = APL quote, U+0022 ISOnum */
744: {"rArr", 8658}, /* rightwards double arrow, U+21D2 ISOtech */
745: {"radic", 8730}, /* square root = radical sign, U+221A ISOtech */
1.57 quint 746: {"rang", 0x27E9}, /* mathematical right angle bracket, U+27E9 */
1.11 cvs 747: {"raquo", 187}, /* right-pointing double angle quotation mark = */
1.10 cvs 748: /* right pointing guillemet, U+00BB ISOnum */
1.11 cvs 749: {"rarr", 8594}, /* rightwards arrow, U+2192 ISOnum */
750: {"rceil", 8969}, /* right ceiling, U+2309 ISOamsc */
751: {"rdquo", 8221}, /* right double quotation mark, U+201D ISOnum */
752: {"real", 8476}, /* blackletter capital R = real part symbol, U+211C ISOamso */
753: {"reg", 174}, /* registered sign = registered trade mark sign, */
1.10 cvs 754: /* U+00AE ISOnum */
1.11 cvs 755: {"rfloor", 8971}, /* right floor, U+230B ISOamsc */
756: {"rho", 961}, /* greek small letter rho, U+03C1 ISOgrk3 */
757: {"rlm", 8207}, /* right-to-left mark, U+200F NEW RFC 2070 */
758: {"rsaquo", 8250}, /* single right-pointing angle quotation mark, */
1.10 cvs 759: /* U+203A ISO proposed */
1.11 cvs 760: {"rsquo", 8217}, /* right single quotation mark, U+2019 ISOnum */
761: {"sbquo", 8218}, /* single low-9 quotation mark, U+201A NEW */
762: {"scaron", 353}, /* latin small letter s with caron, U+0161 ISOlat2 */
763: {"sdot", 8901}, /* dot operator, U+22C5 ISOamsb */
764: {"sect", 167}, /* section sign, U+00A7 ISOnum */
765: {"shy", 173}, /* soft hyphen = discretionary hyphen, U+00AD ISOnum */
766: {"sigma", 963}, /* greek small letter sigma, U+03C3 ISOgrk3 */
767: {"sigmaf", 962}, /* greek small letter final sigma, U+03C2 ISOgrk3 */
768: {"sim", 8764}, /* tilde operator = varies with = similar to, U+223C ISOtech */
769: {"spades", 9824}, /* black spade suit, U+2660 ISOpub */
770: {"sub", 8834}, /* subset of, U+2282 ISOtech */
771: {"sube", 8838}, /* subset of or equal to, U+2286 ISOtech */
772: {"sum", 8721}, /* n-ary sumation, U+2211 ISOamsb */
773: {"sup", 8835}, /* superset of, U+2283 ISOtech */
774: {"sup1", 185}, /* superscript one = superscript digit one, U+00B9 ISOnum */
775: {"sup2", 178}, /* superscript two = superscript digit two = squared, */
1.10 cvs 776: /* U+00B2 ISOnum */
1.11 cvs 777: {"sup3", 179}, /* superscript three = superscript digit three = cubed, */
1.10 cvs 778: /* U+00B3 ISOnum */
1.11 cvs 779: {"supe", 8839}, /* superset of or equal to, U+2287 ISOtech */
780: {"szlig", 223}, /* latin small letter sharp s = ess-zed, U+00DF ISOlat1 */
781: {"tau", 964}, /* greek small letter tau, U+03C4 ISOgrk3 */
782: {"there4", 8756}, /* therefore, U+2234 ISOtech */
783: {"theta", 952}, /* greek small letter theta, U+03B8 ISOgrk3 */
784: {"thetasym", 977},/* greek small letter theta symbol, U+03D1 NEW */
785: {"thinsp", 8201}, /* thin space, U+2009 ISOpub */
786: {"thorn", 254}, /* latin small letter thorn with, U+00FE ISOlat1 */
787: {"tilde", 732}, /* small tilde, U+02DC ISOdia */
788: {"times", 215}, /* multiplication sign, U+00D7 ISOnum */
789: {"trade", 8482}, /* trade mark sign, U+2122 ISOnum */
790: {"uArr", 8657}, /* upwards double arrow, U+21D1 ISOamsa */
791: {"uacute", 250}, /* latin small letter u with acute, U+00FA ISOlat1 */
792: {"uarr", 8593}, /* upwards arrow, U+2191 ISOnum*/
793: {"ucirc", 251}, /* latin small letter u with circumflex, U+00FB ISOlat1 */
794: {"ugrave", 249}, /* latin small letter u with grave, U+00F9 ISOlat1 */
795: {"uml", 168}, /* diaeresis = spacing diaeresis, U+00A8 ISOdia */
796: {"upsih", 978}, /* greek upsilon with hook symbol, U+03D2 NEW */
797: {"upsilon", 965}, /* greek small letter upsilon, U+03C5 ISOgrk3 */
798: {"uuml", 252}, /* latin small letter u with diaeresis, U+00FC ISOlat1 */
799: {"weierp", 8472}, /* script capital P = power set = Weierstrass p, */
1.10 cvs 800: /* U+2118 ISOamso */
1.11 cvs 801: {"xi", 958}, /* greek small letter xi, U+03BE ISOgrk3 */
802: {"yacute", 253}, /* latin small letter y with acute, U+00FD ISOlat1 */
803: {"yen", 165}, /* yen sign = yuan sign, U+00A5 ISOnum */
804: {"yuml", 255}, /* latin small letter y with diaeresis, U+00FF ISOlat1 */
805: {"zeta", 950}, /* greek small letter zeta, U+03B6 ISOgrk3 */
806: {"zwj", 8205}, /* zero width joiner, U+200D NEW RFC 2070 */
807: {"zwnj", 8204}, /* zero width non-joiner, U+200C NEW RFC 2070 */
808: {"zzzz", 0} /* this last entry is required */
1.9 cvs 809: };
Webmaster