w3pop.com :: ÍøÂçѧԺ :: XML :: XML µÄÓÃ;
It is important to understand that XML was designed to store, carry, and exchange data. XML was not designed to display data.
×îÖØÒªµÄÒ»µã£ºXMLÊÇÓÃÀ´´¢´æ¡¢³ÐÔØºÍ½»»»Êý¾ÝµÄ£¬¶ø²»ÊÇÓÃÀ´ÏÔʾÊý¾ÝµÄ¡£
With XML, your data is stored outside your HTML.
ͨ¹ýʹÓÃXML£¬Êý¾Ý½«±»´æ´¢ÔÚHTMLÖ®Íâ¡£
When HTML is used to display data, the data is stored inside your HTML. With XML, data can be stored in separate XML files. This way you can concentrate on using HTML for data layout and display, and be sure that changes in the underlying data will not require any changes to your HTML.
µ±Ê¹ÓÃHTMLÏÔʾÊý¾Ýʱ£¬Êý¾Ý½«±»´æ´¢ÔÚHTMLÖС£Í¨¹ýXML£¬Êý¾Ý¿ÉÒÔ±»µ¥¶À´¢´æÔÚXMLÎļþÖС£Í¨¹ýÕâÖÖ·½·¨£¬Äã¾Í¿ÉÒÔÒ»ÐÄÒ»ÒâµØÊ¹ÓÃHTML¶ÔÊý¾Ý½øÐÐÅŰæºÍÏÔʾ£¬¶Ô»ù±¾Êý¾ÝµÄ¸Ä±ä²¢²»ÐèÒª¶ÔHTML×ö³öÈκθı䡣
XML data can also be stored inside HTML pages as "
XMLÊý¾Ý¿ÉÒÔ×÷Ϊ“Êý¾Ýµº£¨Data Islands£©”´¢´æÔÚHTMLÒ³ÃæÖС£Äã¿ÉÒÔֻʹÓÃHTML¶¨ÒåÊý¾Ý¸ñʽºÍÏÔʾÊý¾Ý¡£
With XML, data can be exchanged between incompatible systems
ͨ¹ýʹÓÃXML£¬Êý¾Ý¿ÉÒÔÔÚÏ໥²»¼æÈݵÄϵͳÖнøÐн»»»¡£
In the real world, computer systems and databases contain data in incompatible formats. One of the most time-consuming challenges for developers has been to exchange data between such systems over the Internet.
ʵ¼ÊÉÏ£¬¼ÆËã»úϵͳºÍÊý¾Ý¿â¶¼°üº¬×ŸñʽÉÏÏ໥²»¼æÈݵÄÊý¾Ý¡£¿ª·¢ÕßÃÇÃæÁÙµÄ×î·ÑʱµÄÌôÕ½Ö®Ò»¾ÍÊÇͨ¹ý»¥ÁªÍøÔÚÏ໥²»¼æÈݵÄϵͳÖн»»»Êý¾Ý¡£
Converting the data to XML can greatly reduce this complexity and create data that can be read by many different types of applications.
½«Êý¾Ýת»»³ÉXML¸ñʽ¿ÉÒÔ¼«´óµØ¼õÉÙÉÏÊöµÄ¸´ÔÓÐÔ£¬²¢ÇÒ´´½¨³ö¿ÉÒÔ±»¶àÖÖ²»Í¬ÀàÐ͵ÄÓ¦ÓóÌÐòËùÔĶÁµÄÊý¾Ý¡£
With XML, financial information can be exchanged over the Internet.
ͨ¹ýʹÓÃXML£¬ÎÒÃÇ¿ÉÒÔÔÚ»¥ÁªÍøÉϽ»»»½ðÈÚÐÅÏ¢¡£
Expect to see a lot about XML and B2B (Business To Business) in the near future.
ÎÒÃÇÆÚÍûÔÚ²»¾Ã½«À´¿´µ½¸ü¶à¹ØÓÚXMLºÍ B2B (Business To Business£ºÆóÒµ¶ÔÆóÒµ)µÄÏà¹ØÄÚÈÝ¡£
XML is going to be the main language for exchanging financial information between businesses over the Internet. A lot of interesting B2B applications are under development.
XML½«³ÉΪÉÌÎñ½çÔÚ»¥ÁªÍøÉϽ»»»½ðÈÚÐÅÏ¢µÄÖ÷ÒªÓïÑÔ¡£´óÁ¿ÓÐȤµÄB2BÓ¦ÓÃÈí¼þÕýÔÚ¿ª·¢Ö®ÖС£
With XML, plain text files can be used to share data.
ͨ¹ýʹÓÃXML£¬ÆÕͨµÄÎı¾Îļþ¿ÉÓÃÀ´¹²ÏíÊý¾Ý¡£
Since XML data is stored in plain text format, XML provides a software- and hardware-independent way of sharing data.
ÒòΪXMLÊý¾ÝÒÔÆÕͨµÄÎı¾¸ñʽ´¢´æ£¬XMLʹÓÓÈíÓ²¼þ·ÖÀ딵ķ½Ê½¹²ÏíÊý¾Ý¡£
This makes it much easier to create data that different applications can work with. It also makes it easier to expand or upgrade a system to new operating systems, servers, applications, and new browsers.
ÕâÑù¿É·Ç³£·½±ãµØ´´½¨³öÄܱ»²»Í¬Ó¦ÓÃÈí¼þËù´¦ÀíµÄÊý¾Ý¡£ÕâÑùÒ»À´£¬ÏµÍ³Ò²¿ÉÒԷdz£ÈÝÒ×µØÀ©Õ¹»òÉý¼¶ÎªÐµIJÙ×÷ϵͳ¡¢·þÎñÆ÷¡¢Ó¦ÓÃÈí¼þºÍеÄä¯ÀÀÆ÷µÈ¡£
With XML, plain text files can be used to store data.
ͨ¹ýʹÓÃXML£¬¿ÉÒÔʹÓÃÆÕͨµÄÎı¾Îļþ´¢´æÊý¾Ý¡£
XML can also be used to store data in files or in databases. Applications can be written to store and retrieve information from the store, and generic applications can be used to display the data.
XML¿ÉÒÔÔÚÎļþ»òÊý¾Ý¿âÖд¢´æÊý¾Ý¡£Ó¦ÓÃÈí¼þ¿ÉÒÔ´ÓÒÑ´æ´¢µÄÊý¾ÝÖд¢´æ¡¢»ñÈ¡ÐÅÏ¢¡£Ò»°ãµÄÓ¦ÓÃÈí¼þ¿ÉÒÔÓÃÓÚÏÔʾÊý¾Ý¡£
With XML, your data is available to more users.
ͨ¹ýʹÓÃXML£¬ÎÒÃÇ¿ÉÒÔÈøü¶àµÄÓû§Ê¹ÓÃÊý¾Ý¡£
Since XML is independent of hardware, software and application, you can make your data available to other than only standard HTML browsers.
ÒòΪXMLÓëÓ²¼þ¡¢Èí¼þ¡¢Ó¦ÓÃÈí¼þÏ໥¶ÀÁ¢£¬ÕâÑù¾Í¿ÉÒÔÈøü¶àµÄä¯ÀÀÆ÷ÀûÓÃÊý¾Ý£¬¶ø²»Ö»ÏÞÓÚ»ùÓÚHTML±ê×¼µÄä¯ÀÀÆ÷¡£
Other clients and applications can access your XML files as data sources, like they are accessing databases. Your data can be made available to all kinds of "reading machines" (agents), and it is easier to make your data available for blind people, or people with other disabilities.
ÆäËüµÄ¿Í»§ºÍÓ¦ÓÃÈí¼þ¿ÉÒÔ°ÑÄãµÄXMLÎļþ×÷ΪÊý¾Ý×ÊÔ´½øÐзÃÎÊ£¬¾ÍÈçͬËûÃÇ»ñÈ¡Êý¾Ý¿â×ÊÔ´Ò»Ñù£»Äã¿ÉÒÔʹÓø÷ÖÖÀàÐ͵ÄÔĶÁÆ÷£¨»òÕßÊÇ´úÀí¹¤¾ß£©»ñÈ¡Êý¾Ý¡£Ã¤ÈË£¬»òÆäËû²Ð¼²ÈËÒ²ÄÜÈÝÒ׵ػñÈ¡Êý¾Ý¡£
XML is the mother of WAP and WML.
XML ÊÇ WAP ºÍ WML Ö®“ĸ”¡£
The Wireless Markup Language (WML), used to markup Internet applications for handheld devices like mobile phones, is written in XML.
ÎÞÏß±ê¼ÇÓïÑÔ (WML)£¬ÓÃÓÚΪÊÖ»úÖ®ÀàµÄÕÆÉÏÉ豸Êéд»¥ÁªÍøÓ¦ÓóÌÐò£¬Ëü¾ÍÊÇÓÃXMLд³ÉµÄ¡£
If they DO have sense, all future applications will exchange their data in XML.
Èç¹û¿ª·¢ÕßÃǾßÓÐÔ¶¼û˼άµÄ»°£¬Î´À´ËùÓеÄÓ¦ÓÃÈí¼þ¶¼½«ÒÔXMLÐÎʽ½øÐÐÊý¾Ý½»»»ÁË¡£
The future might give us word processors, spreadsheet applications and databases that can read each other's data in a pure text format, without any conversion utilities in between.
ÔÚ½«À´£¬ÎÒÃÇ¿ÉÄÜ»áÓµÓÐÕâÑùµÄµ¥´Ê´¦ÀíÆ÷¡¢µç×Ó±í¸ñ¡¢Ó¦ÓÃÈí¼þºÍÊý¾Ý¿â¡£ËüÃÇ¿ÉÒÔͨ¹ý´¿Îı¾¸ñʽÔĶÁ±Ë´ËÖ®¼äµÄÊý¾Ý£¬¶ø²»ÐèÒª½øÐÐÈκÎÊý¾Ýת»»¡£
We can only pray that Microsoft and all the other software vendors will agree.
ÎÒÃÇÖ»ÄÜÆíÅÎ΢ÈíºÍÆäËüÈí¼þÉÌÈÏ¿ÉÕâÑùµÄÌáÒéà¶¡£