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