The XHTML Mobile Profile document type is an XHTML document type based upon the module framework and the
modules defined by [XHTMLMod].
The XHTML Mobile Profile document type is defined as a strict superset of [XHTMLBasic]. XHTML Mobile Profile
consists of the XHTML modules specified in this section. All XHTML modules are defined in [XHTMLMod].
xhtml basic
Module
Element
Structure
body, head, html, title
Text
abbr, acronym, address,
blockquote, br, cite, code,
dfn, div, em, h1, h2, h3, h4, h5,
h6, kbd, p, pre, q, samp, span,
strong, var
Hypertext
a
List
dl, dt, dd, ol, ul, li
Basic Forms
form, input, label, select,
option, textarea
Basic Tables
caption, table, td, th, tr
Image
img
Object
object, param
Metainformation
meta
Link
link
Base
base
Additional XHTML Modules
Module
Elements/Attributes
Forms (partial)
fieldset, optgroup
Legacy (partial)
start attribute on ol, value
attribute on l ......
ÔÚÊÖ»úÓ²¼þ¸ßËÙÉý¼¶µÄ½ñÌ죬ԽÀ´Ô½¶àµÄÍøÕ¾ÒѾ´Ó´«Í³µÄwebÕ¾µã·¢Õ¹µ½ÓÚwebºÍwapΪһÌåµÄÈ«·½Î»Õ¾µãÁË¡£¸ù¾Ý×îÐÂͳ¼Æ£¬ÖйúÄ¿Ç°wap
Óû§×ÜÊýÒѽӽü2ÒÚÈËÁË£¬¾ßÓжÀÁ¢ÓòÃûµÄwapÕ¾µãµÄÊýÁ¿Ô¼Îª50Íò¸ö¡£
ÎÒÃÇÖÚ¶àµÄwapÕ¾³¤½ô½ôµÄץסÁËÕâ¸ö»úÓö£¬ÖÚ¶àµÄwapÕ¾µãÒ²ÓÌÈçÓêºó´ºËñ°ãðÁ˳öÀ´¡£ºÜ¶à¸ÕÈëÐеÄwapÕ¾³¤¾ÍÎÊ£¬Ôõô²ÅÄÜ°ÑwapÕ¾µã×ö
ºÃÄØ£¬ÈçºÎ²ÅÄÜÖªµÀÎÒµÄÕ¾µãµ½µ×Êܲ»ÊÜ´ó¼Ò»¶ÓÄØ¡£ÏÂÃæÎÒ¾ÍËæ±ã˵˵ÎÒµÄÒ»µã¾Ñ飺
Ê×ÏÈ£¬Òª³ÖÐø¸üÐÂÄãµÄwapÍøÕ¾µÄÄÚÈÝ£¬Í¬Ê±Í¨¹ý½»»»ÓÑÇéÁ´½ÓµÄ·½Ê½À´Ôö¼ÓËÑË÷ÒýÇæÊÕ¼µÄ¿ÉÄÜÐÔ¡£¶ÔÓÚÒ»¸öÁ÷Á¿²»´óµÄÐÂÕ¾À´Ëµ£¬µ¼º½
ÍøÕ¾ÄܸøÄã´øÀ´µÄÁ÷Á¿Ô¶Ô¶³¬¹ýËÑË÷ÒýÇæÒÔ¼°ÆäËû·½·¨¡£
̸ÆðÓÑÇéÁ´½Ó£¬×îºÃÄÜÁ´½ÓһЩÁ÷Á¿±È×Ô¼º¸ßµÄ£¬ÓÐÖªÃû¶ÈµÄÍøÕ¾¡£ÔÙ´ÎÊǺÍ×Ô¼ºÄÚÈÝ»¥²¹µÄÍøÕ¾¡£È»ºóÔÙÊÇͬÀàÍøÕ¾£¬Í¬ÀàÍøÕ¾Òª±£Ö¤×Ô
¼ºÍøÕ¾µÄÄÚÈÝÖÊÁ¿ÒªÓÐÌص㣬²¢ÇÒ¿ÉÒÔÎüÒýÈË£¬Òª²»È»²»Èç²»Á´Í¬ÀàÍøÕ¾¡£ÍøÕ¾ÒªÇóÃÀ¹Û£¬ÌرðÊÇÉÌÒµÍøÕ¾£¬Ò»¶¨ÒªÊµÓõÚÒ»£¬¼¼ÊõÃÀ¹ÛµÈ´ÎÖ®¡£
Èç¹ûÄã² ......
ÔÚ¡¶Ëû¾ËÍøwapÁ÷Á¿Í³¼Æ·ÖÎöƽ̨¡·¿ª·¢ÖÐΪÁËÌá¸ßϵͳµÄÐÔÄÜ£¬ÎÒÃÇÀûÓÃCacheÀ´±£´æÊý¾Ý£¬ÀýÈç°ÑÓû§µÄһЩȨÏÞÐÅÏ¢·ÅÔÚCacheÖУ¬µ«ÕâÑù×ö»áÓÐЩÎÊÌ⣬ºÎʱÇå³ýCacheÓëÊý¾Ý±£³Öͬ²½£¬ÏÂÃæÎÒÔÚÏîÄ¿ÖÐʹÓÃCacheµÄÐĵã¬Óë´ó¼Ò·ÖÏí¡£
Ò»¡¢ÀûÓÃCacheDependencyÀà
¡¡¡¡ËüÔÚÃüÃû¿Õ¼äSystem.Web.CachingÖС£CacheDependencyÀà»áÓëÎļþÖ®¼ä½¨Á¢ÒÀ¸½ÐÔ¹Øϵ¡£ÔÚÎļþ¸ü¸Äʱ£¬¸ÃCacheÏî»á×Ô¶¯ÒƳý¡£
·½·¨:
¡¡¡¡°ÑÓû§È¨ÏÞÐÅÏ¢±£Áô³ÉXMLÎļþ£¬µ±¹ÜÀíÔ±¸üÐÂÊý¾Ýʱ£¬Í¬Ê±¸üÐÂÕâ¸öXMLÎļþ¡£
´úÂ룺
//CahceֵΪXMLÎļþÄÚÈÝ
XmlDocument doc = Cache["user"] as XmlDocument;
if (doc == null)
{
doc = new XmlDocument();
string filePath = Server.MapPath("user.xml");
¡¡¡¡//½¨Á¢ÒÀÀµÏî
CacheDependency c = new CacheDependency(filePath);
doc.Load(filePath);
¡¡¡¡//½¨Á¢ÒÀÀµ¹Øϵ
Cache ......
Ëæ×Å3GÔÚÖйúµÄ·¢Õ¹ÒÔ¼°ÊÖ»úÉÏÍøÓû§µÄÔö³¤£¬Ãâ·Ñwap×÷ΪÊÖ»ú¹ã¸æµÄÔØÌå¡£WAPÕ¾³¤ÆÈÇÐÐèÒªÈçºÎÁ˽âÓû§£¬°ÑÎÕÓû§£¬·¢Õ¹Óû§£¬¶øÒÀÀµ¹ã¸æ·Ö³É£¬µã»÷¼Æ·ÑΪÖ÷ÒªÓ¯ÀûÊֶεÄÕ¾³¤¸üÐèÒªÁ÷Á¿µÄ¹«Ö¤ÐÔÒÔ»»È¡Óë¹ã¸æ¿Í»§Ì¸¼Û¸ñµÄÖ±½Ó³ïÂë¡£ËùÒÔ¾ÍÓÐÁ˹ØÓÚWAPÁ÷Á¿Í³¼ÆµÄ¸÷¸öÕ¾µã£¡
²»¹ýÒª×öÒ»¸öºÃµÄÕ¾µã£¬¾ÍÒªÔÚÊг¡Õ¼ÓÐÒ»¶¨Î»Ö᣶øËüµÄ¹Ø¼ü¾ÍÔÚÓÚÓû§¡£
×÷Ϊһ¸öÄÜÎüÒýÓû§Õ¾µã£¬Ê×ÏȸøÓû§µÄµÚÒ»ÊÓ¾õ¸ÐºÍÌåÑé¸ÐÊÇÖÁ¹ØÖØÒªµÄ¡£ÏÂÃæ¾ÍÄÃ×î½üÍøÂçгöµÄ‘Ëû¾ËWAPÁ÷Á¿Í³¼ÆÕ¾µã’À´Ëµ¼¸µãÎÒ¸öÈ˵Ľ¨ÒéÒÔ¼°Ïë·¨¡£
1¡¢ÑùʽѹËõÎÊÌâ
¶ÔÓÚÑùʽµÄѹËõÓ뾫Á¶£¬±ØÈ»¸úÓû§ÌåÑé´æÔÚ×ÅÃÜÇйØϵ¡£Ò»¸öºÃµÄÑùʽÎļþÓëÒ»¸öÀ¬»ø´úÂëºÜ¶àµÄÑùʽÎļþ£¬Ëü¾ö¶¨ÁËÍøÕ¾Ò³Ãæ´ò¿ªµÄËٶȡ£ËùÒÔÍøÒ³ÖÆ×÷¹¤³Ìʦ£¬ÔÚÕâ·½ÃæÓÐ׏ؼüÐԵľö¶¨ÒòËØ¡£ÑùʽµÄÎļþ¼ò½é¡¢¹¤Õû£¬±ØÈ»ÔÚÓû§´ò¿ªÊ±ËٶȻá¿ì¡£¸øÓû§Ò»ÖÖÕ¾µã²»´íµÄ¸Ð¾õ¡£
2¡¢¼Ì³Ð¹Øϵ
¹ØÓڼ̳У¬Ò²Ê ......
×î½üÔÚдһ¸öwapÁ÷Á¿Í³¼ÆµÄ¹¤¾ß£¬ÓÚÊǾÍÈ¥ÕÒ¹ØÓÚwapÁ÷Á¿Í³¼ÆµÄÏà¹ØÍøÕ¾»òÂÛ̳¡£
Ç°Á½ÌìÕÒµ½1¸öËû¾ËÍø£¬×¨ÃÅ×öwapÍøÕ¾Á÷Á¿Í³¼ÆµÄ£¬ÓÚÊÇÈ¥ÆäÂÛ̳Öп´ÁË¿´Ð©¼¼ÊõÎÄÕ£¬¸Ð¾õ»¹¿ÉÒÔ¡£Ó¦¸ÃÊÇгöÏֵģ¬ÒÔǰûÓз¢ÏÖ¡£
ÆäÖÐÓÐƪÎÄÕºܼòµ¥£¬ÊÇasp.netµÄ»ñÈ¡·þÎñÆ÷»·¾³±äÁ¿·½·¨£º
public string GetServerVariables()
{
NameValueCollection nvc = Request.ServerVariables;
StringBuilder sb = new StringBuilder();
for (int i = 0; i < nvc.Count; i++)
{
sb.Append("Key:" + nvc.GetKey(i) + "\r\n");
string[] values = nvc.GetValues(i);
string value=string.Empty;
for (int z=0; z < values.Length; z++)
&nb ......
1¡¢WAPtor ˵Ã÷: WAPtor ÊÇÒ»¿î·Ç³£¼òµ¥Ò×ÓÚʹÓõÄWML ±à¼Æ÷£¬ËäÈ»ËüûÓаÚÍÑ´úÂë¸ñʽµÄÊø¸¿£¬µ«±È¹ýÈ¥µÄHTML ´úÂë¼òµ¥µÄ¶à¡£¼´Ê¹Äã²»¼ÇµÃWMLÓïÑԵıêÇ©ºÍÊôÐÔ£¬Ò²ÄÜÀûÓÃWAPtorÖÆ×÷³ö·Ç³£³öÉ«µÄWMLÍøÒ³£¬WAPtorÄÜÈÃÄãËæʱԤÀÀWMLÒ³ÃæµÄЧ¹û£¬Ê®·Ö·½±ã¡£ WAPtorÊʺϳõѧWMLÍøÒ³µÄÈËʹÓã¬Ç¿Á¦ÍƼö¡£ >> waptor23.exe 2¡¢WAPPage ˵Ã÷: WAPPageÊÇWAPmineÍƳöµÄÒ»¿îWAP ±à¼Æ÷£¬Ö§³ÖÔ¤ÀÀ¡¢´úÂëÔĶÁ¡¢¿¨Æ¬ä¯ÀÀµÈ¹¦ÄÜ£¬ÆäÓû§Í¼ÐνçÃæºÜºÃ£¬²¢ÇÒ¶ÔÓÚʼþºÍ¶¨Ê±µÈµÄ´¦Àí¶¼²»´í¡£ >> wappage.zip 3¡¢Ericsson Wap IDE SDK ˵Ã÷: Ericsson¹«Ë¾×Ô¼º¿ª·¢µÄWAP¿ª·¢»·¾³¡£Í¬NokiaÒ»Ñù£¬EricssonµÄÕâ¿î¹¤¾ßÒ²ºÜÓÅÐã¡£ÆäÖаüº¬ÁËR320s·ÂÕæÆ÷£¬²¢ÇÒ×Ô´øÁËÒ»¸ö Xitami V2.4d3µÄWeb·þÎñÆ÷¡£Ä¿Ç°¸Ã¹¤¾ß×î¸ß°æ±¾Îª2.1¡£ Õâ¸ö¹¤¾ßºÜ¾«Ö£¬¶øÇÒ½çÃæ±È½ÏÓÐÌص㣬ÄúÓÃÆðÀ´Ò»¶¨»á¾õµÃ¶úĿһС£¹¤¾ßµÄ°²×°·ÖÁ½²½£¬Ê×ÏÈ°²×°WapIDE 3pp v2.0£¬½Ó×Å°²×°WapIDE SDK v2.1¡£ËùÒÔÐèÒªÏÂÔØ2¸öÎļþ¡£ >>WapIDE_3PP_2_0.exe >> WapIDE_SDK_2_1.exe 4¡¢Nokia WAP Toolkit ˵Ã÷: Nokia¹«Ë¾×Ô¼º¿ª·¢µÄWAP¹¤¾ß°ü¡£ÒªÖªµÀNokia¶ÔWAP·¢Õ¹µÄ×÷Óò»Ð¡Å¶£¬ËùÒÔÔÌÀ»¯Ôʳ£¬Õâ¿î¹¤¾ß×ÔÈ»»áÊ¹Ä ......