In this paper, the features of HTML and XML were compared, and expounds the necessity of transition from HTML to XML, and finally introduces document conversion, XHTML conversion and intelligent instead of three kinds of HTML to XML conversion method. Keyword: HTML;XML;conversion method;XHTML Characteristics of HTML HTML (Hypertext Markup Language) is a universal language for creating Webpage and to release information, it is YISHION text stored in the form of organization, to label definition document. Provided the cross plat form file sharing. In the HTML document, can be embedded in other objects, such as electronic forms, video, audio and various applications and so on, through the uniform resource locator can realize the hypertext links between Web nodes. HTML has the following features, format and grammar is relatively simple, easy to learn, will the data with some control markers, even if no programming experience can easily use HTML to design Webpage; and all of the control tag HTML is fixed [1], the number is limited, provides functions and related properties the setting is fixed, easy to remember; rules more flexible, such as the control of English marker size marker to write in no difference. In addition, the control flag must have the end tag corresponding to no strict requirements. Need the simplicity of HTML is more suitable for low cost information publishing; HTML as Web common information description method of strong universality, can realize different platform document sharing; to create more flexible, HTML document is a plain text file, can use a variety of editing tools for creating. The major disadvantage of HTML is: (1) Performance is too simple. (2) Link easily broken, chain destination address changes, chain source cannot automatically correct. (3) The flowers during the retrieval time are longer, the retrieved content targeted poor, and many returned results. (4) Poor scalability, HTML tag set is fixed, not to allow users to define their International Symposium on Computers & Informatics (ISCI 2015) © 2015. The authors Published by Atlantis Press 64 own identity. (5) The lack of semantics, HTML is a marker, it will not reveal the nature of the information content, and the computer cannot know the exact meaning of each section of text. HTML and XML are used for the network information organization and communication, are in the form of texts written in storage, and are structured information based on international standards [2]. But HTML only shows data seems to be what kind of, and the XML is that data is what mean. Using XML can create their own tags, these tags can more accurately describe the user what they want, but HTML can not be used to define a new application, and this is the biggest difference between XML and HTML. XML has overcome some limitations of the HTML, has the broad application prospect. The necessity of transformation Most of the current Webpage still is mainly composed of HTML. HTML of the inherent shortcomings of the original network information organization mode can't meet the requirements of the development of the new. Because the relevant development of the XML technology continues to mature, more and more websites gradually in XML design. In this process, not only will the new content is stored in XML format and transmission, but also consider compatible with the original data, so it is necessary to convert existing HTML Webpage into XML data form more flexible processing and application. At the same time, to the previous accumulated HTML documents continue to play a role in the new environment, the XML conversion is undoubtedly a solution. HTML to XML conversion is helpful for Webpage information integration, extraction, retrieval, filtering or mining analysis. (1) Facilitate the information integration of heterogeneous system under Network Environment In the network environment, because of the existence of the system platform and database operation of heterogeneous, leading to the exchange of information and work with difficulty. One of the data exchange between heterogeneous systems is to adopt a unified information exchange format. XML because of its custom and scalability advantages [3], which is convenient for expressing various types of data between heterogeneous databases, and can be used as middleware, unify the data interface, convenient for the exchange of information between different databases and colleagues. XML can be used to construct the data layer integration, will transform the source data into the data integration, simplification of integration system query translation, query mechanisms provide unified multi data source for the user, in a unified way using a variety of data from different sources of data, different shielding each data source in the structure, running environment on the. (2) The organization and management for network information
Read more