⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 wbxml_tables.c

📁 WAP Binary XML 简单地说
💻 C
📖 第 1 页 / 共 5 页
字号:
    { "help",            0x00, 0x8d },    /* Do NOT change the order in this table please ! */    { "http://www.",     0x00, 0x8f },    { "http://",         0x00, 0x8e },    { "https://www.",    0x00, 0x91 },    { "https://",        0x00, 0x90 },        { "middle",          0x00, 0x93 },    { "nowrap",          0x00, 0x94 },    { "onenterbackward", 0x00, 0x96 },    { "onenterforward",  0x00, 0x97 },    { "onpick",          0x00, 0x95 }, /* WML 1.1 */    { "ontimer",         0x00, 0x98 },    { "options",         0x00, 0x99 },    { "password",        0x00, 0x9a },    { "reset",           0x00, 0x9b },    { "text",            0x00, 0x9d },    { "top",             0x00, 0x9e },    { "unknown",         0x00, 0x9f },    { "wrap",            0x00, 0xa0 },    { "www.",            0x00, 0xa1 },    { NULL,              0x00, 0x00 }};#endif /* WBXML_SUPPORT_WML */#if defined( WBXML_SUPPORT_WTA )/******************************************** *    WTA 1.0 (WAP 1.0: "wta-30-apr-98.pdf") */const WBXMLTagEntry sv_wta10_tag_table[] = {    { "EVENT",          0x00, 0x05 },    { "EVENTTABLE",     0x00, 0x06 },    { "TYPE",           0x00, 0x07 },    { "URL",            0x00, 0x08 },    { "WTAI",           0x00, 0x09 },    { NULL,             0x00, 0x00 }};const WBXMLAttrEntry sv_wta10_attr_table[] = {    { "NAME",       NULL,                    0x00, 0x05 },    { "VALUE",      NULL,                    0x00, 0x06 },    { NULL,         NULL,                    0x00, 0x00 }};/*********************************************** *    WTA WML 1.2 ("WAP-266-WTA-20010908-a.pdf") */const WBXMLTagEntry sv_wtawml12_tag_table[] = {    /* Code Page 0 (WML 1.2) */    { "a",         0x00, 0x1c },    { "anchor",    0x00, 0x22 },    { "access",    0x00, 0x23 },    { "b",         0x00, 0x24 },    { "big",       0x00, 0x25 },    { "br",        0x00, 0x26 },    { "card",      0x00, 0x27 },    { "do",        0x00, 0x28 },    { "em",        0x00, 0x29 },    { "fieldset",  0x00, 0x2a },    { "go",        0x00, 0x2b },    { "head",      0x00, 0x2c },    { "i",         0x00, 0x2d },    { "img",       0x00, 0x2e },    { "input",     0x00, 0x2f },    { "meta",      0x00, 0x30 },    { "noop",      0x00, 0x31 },    { "p",         0x00, 0x20 },    { "postfield", 0x00, 0x21 },    { "pre",       0x00, 0x1b },    { "prev",      0x00, 0x32 },    { "onevent",   0x00, 0x33 },    { "optgroup",  0x00, 0x34 },    { "option",    0x00, 0x35 },    { "refresh",   0x00, 0x36 },    { "select",    0x00, 0x37 },    { "setvar",    0x00, 0x3e },    { "small",     0x00, 0x38 },    { "strong",    0x00, 0x39 },    { "table",     0x00, 0x1f },    { "td",        0x00, 0x1d },    { "template",  0x00, 0x3b },    { "timer",     0x00, 0x3c },    { "tr",        0x00, 0x1e },    { "u",         0x00, 0x3d },    { "wml",       0x00, 0x3f },    /* Code Page 1 (WTA) */    { "wta-wml",   0x01, 0x3f },    { NULL,        0x00, 0x00 }};const WBXMLAttrEntry sv_wtawml12_attr_table[] = {    /* Code Page 0 (WML 1.2) */    { "accept-charset",  NULL,                                0x00, 0x05 },    { "accesskey",       NULL,                                0x00, 0x5e },    { "align",           NULL,                                0x00, 0x52 },    { "align",           "bottom",                            0x00, 0x06 },    { "align",           "center",                            0x00, 0x07 },    { "align",           "left",                              0x00, 0x08 },    { "align",           "middle",                            0x00, 0x09 },    { "align",           "right",                             0x00, 0x0a },    { "align",           "top",                               0x00, 0x0b },    { "alt",             NULL,                                0x00, 0x0c },    { "class",           NULL,                                0x00, 0x54 },    { "columns",         NULL,                                0x00, 0x53 },    { "content",         NULL,                                0x00, 0x0d },    { "content",         "application/vnd.wap.wmlc;charset=", 0x00, 0x5c },    { "domain",          NULL,                                0x00, 0x0f },    { "emptyok",         "false",                             0x00, 0x10 },    { "emptyok",         "true",                              0x00, 0x11 },    { "enctype",         NULL,                                0x00, 0x5f },    { "enctype",         "application/x-www-form-urlencoded", 0x00, 0x60 },        { "enctype",         "multipart/form-data",               0x00, 0x61 },    { "format",          NULL,                                0x00, 0x12 },    { "forua",           "false",                             0x00, 0x56 },    { "forua",           "true",                              0x00, 0x57 },    { "height",          NULL,                                0x00, 0x13 },    { "href",            NULL,                                0x00, 0x4a },    { "href",            "http://",                           0x00, 0x4b },    { "href",            "https://",                          0x00, 0x4c },    { "hspace",          NULL,                                0x00, 0x14 },    { "http-equiv",      NULL,                                0x00, 0x5a },    { "http-equiv",      "Content-Type",                      0x00, 0x5b },    { "http-equiv",      "Expires",                           0x00, 0x5d },    { "id",              NULL,                                0x00, 0x55 },    { "ivalue",          NULL,                                0x00, 0x15 },    { "iname",           NULL,                                0x00, 0x16 },    { "label",           NULL,                                0x00, 0x18 },    { "localsrc",        NULL,                                0x00, 0x19 },    { "maxlength",       NULL,                                0x00, 0x1a },    { "method",          "get",                               0x00, 0x1b },    { "method",          "post",                              0x00, 0x1c },    { "mode",            "nowrap",                            0x00, 0x1d },    { "mode",            "wrap",                              0x00, 0x1e },    { "multiple",        "false",                             0x00, 0x1f },    { "multiple",        "true",                              0x00, 0x20 },    { "name",            NULL,                                0x00, 0x21 },    { "newcontext",      "false",                             0x00, 0x22 },    { "newcontext",      "true",                              0x00, 0x23 },    { "onenterbackward", NULL,                                0x00, 0x25 },    { "onenterforward",  NULL,                                0x00, 0x26 },    { "onpick",          NULL,                                0x00, 0x24 },    { "ontimer",         NULL,                                0x00, 0x27 },    { "optional",        "false",                             0x00, 0x28 },    { "optional",        "true",                              0x00, 0x29 },    { "path",            NULL,                                0x00, 0x2a },    { "scheme",          NULL,                                0x00, 0x2e },    { "sendreferer",     "false",                             0x00, 0x2f },    { "sendreferer",     "true",                              0x00, 0x30 },    { "size",            NULL,                                0x00, 0x31 },    { "src",             NULL,                                0x00, 0x32 },    { "src",             "http://",                           0x00, 0x58 },    { "src",             "https://",                          0x00, 0x59 },    { "ordered",         "true",                              0x00, 0x33 },    { "ordered",         "false",                             0x00, 0x34 },    { "tabindex",        NULL,                                0x00, 0x35 },    { "title",           NULL,                                0x00, 0x36 },    { "type",            NULL,                                0x00, 0x37 },    { "type",            "accept",                            0x00, 0x38 },    { "type",            "delete",                            0x00, 0x39 },    { "type",            "help",                              0x00, 0x3a },    { "type",            "password",                          0x00, 0x3b },    { "type",            "onpick",                            0x00, 0x3c },    { "type",            "onenterbackward",                   0x00, 0x3d },    { "type",            "onenterforward",                    0x00, 0x3e },    { "type",            "ontimer",                           0x00, 0x3f },    { "type",            "options",                           0x00, 0x45 },    { "type",            "prev",                              0x00, 0x46 },    { "type",            "reset",                             0x00, 0x47 },    { "type",            "text",                              0x00, 0x48 },    { "type",            "vnd.",                              0x00, 0x49 },    { "value",           NULL,                                0x00, 0x4d },    { "vspace",          NULL,                                0x00, 0x4e },    { "width",           NULL,                                0x00, 0x4f },    { "xml:lang",        NULL,                                0x00, 0x50 },    /* Code Page 1 (WTA) */    /* Do NOT change the order in this table please ! */    { "href",             "wtai://wp/mc;",                      0x01, 0x06 },    { "href",             "wtai://wp/sd;",                      0x01, 0x07 },    { "href",             "wtai://wp/ap;",                      0x01, 0x08 },    { "href",             "wtai://ms/ec;",                      0x01, 0x09 },    { "href",             "wtai://",                            0x01, 0x05 },            { "type",             "wtaev-cc/ic",                        0x01, 0x12 },    { "type",             "wtaev-cc/cl",                        0x01, 0x13 },    { "type",             "wtaev-cc/co",                        0x01, 0x14 },    { "type",             "wtaev-cc/oc",                        0x01, 0x15 },    { "type",             "wtaev-cc/cc",                        0x01, 0x16 },    { "type",             "wtaev-cc/dtmf",                      0x01, 0x17 },    { "type",             "wtaev-nt/it",                        0x01, 0x21 },    { "type",             "wtaev-nt/st",                        0x01, 0x22 },    { "type",             "wtaev-nt/",                          0x01, 0x20 },    { "type",             "wtaev-pb/",                          0x01, 0x30 },    { "type",             "wtaev-lg/",                          0x01, 0x38 },    { "type",             "wtaev-ms/ns",                        0x01, 0x51 },    { "type",             "wtaev-ms/",                          0x01, 0x50 },    { "type",             "wtaev-gsm/ru",                       0x01, 0x59 },    { "type",             "wtaev-gsm/ch",                       0x01, 0x5a },    { "type",             "wtaev-gsm/ca",                       0x01, 0x5b },    { "type",             "wtaev-gsm/",                         0x01, 0x58 },    { "type",             "wtaev-pdc",                          0x01, 0x60 },    { "type",             "wtaev-ansi136/ia",                   0x01, 0x69 },    { "type",             "wtaev-ansi136/if",                   0x01, 0x6a },    { "type",             "wtaev-ansi136",                      0x01, 0x68 },    { "type",             "wtaev-cdma/",                        0x01, 0x70 },    { "type",             "wtaev-cc",                           0x01, 0x11 },    { "type",             "wtaev-",                             0x01, 0x10 },    { NULL,               NULL,                                 0x00, 0x00 }};const WBXMLAttrValueEntry sv_wtawml12_attr_value_table[] = {    /* Code Page 0 (WML 1.2) */    { ".com/",           0x00, 0x85 },    { ".edu/",           0x00, 0x86 },    { ".net/",           0x00, 0x87 },    { ".org/",           0x00, 0x88 },    { "accept",          0x00, 0x89 },    { "bottom",          0x00, 0x8a },    { "clear",           0x00, 0x8b },    { "delete",          0x00, 0x8c },    { "help",            0x00, 0x8d },    /* Do NOT change the order in this table please ! */    { "http://www.",     0x00, 0x8f },    { "http://",         0x00, 0x8e },        { "https://www.",    0x00, 0x91 },    { "https://",        0x00, 0x90 },        { "middle",          0x00, 0x93 },    { "nowrap",          0x00, 0x94 },    { "onenterbackward", 0x00, 0x96 },    { "onenterforward",  0x00, 0x97 },    { "onpick",          0x00, 0x95 },    { "ontimer",         0x00, 0x98 },    { "options",         0x00, 0x99 },    { "password",        0x00, 0x9a },    { "reset",           0x00, 0x9b },    { "text",            0x00, 0x9d },    { "top",             0x00, 0x9e },    { "unknown",         0x00, 0x9f },    { "wrap",            0x00, 0xa0 },    { "www.",            0x00, 0xa1 },    { NULL,              0x00, 0x00 }};

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -