(Author: Liao Order December 2000 04 Ri 12:46) XML (eXtensible Markup Language, Extensible Markup Language), is one of the most popular network technology, known as "second-generation Web language", "Next Generation The cornerstone of the network application. " Since it has been put forward, it has almost supported support from all the industry in the industry. So, when XML is now not universal, hurry to grab the priority to keep future rice bowls. HTML disadvantages talk about XML, have to talk about "First Generation Web Language" - Html. HTML is old, has been eliminated (exaggerated, but there is no HTML 4.0, it is replaced by XHTML defined according to XML). Poor us, it's hard to get it, you will use HTML, but I have to discard it. why? HTML can act in driving the vigorous development of WWW in these years. Want to do things on the Internet, almost no HTML can't. But HTML has a fatal disadvantage, that is: is only suitable for communication between people and computers, not suitable for communication with computers. Everyone knows that HTML is to define the documentation in front of us through a lot of tag, that is, HTML is a "display description" language, which describes how web browser should be on page The layout, graphics, etc. are arranged, and there is no description of the most important thing on the Internet. These texts that pass HTML, the graphical content is easy to understand, and it is difficult to understand the meaning of the text within these markers. For example, we design a program that automatically goes to major online shopping malls to catch up with the latest price. But the problem is that each online shopping mall may write a product name and price in the web page, all of them have their own way of writing, such as: price b>, and
If we can pass the data of the original structure in the database to be passed between the computer, then it will definitely speed up the speed of the information processing. Obviously, the HTML is not available, and due to the different computer systems, operating systems, and the database used, different computers should be quite difficult and very troublesome, in order to make a variety of different computers. It can exchange information between each other, it seems that HTML is essential. How to solve this problem? Welcome XML using XML to solve the above problems. W3C describes the XML as follows: "XML describes a class of data objects called an XML document, and partially describes the behavior of the computer program that handles their computer program. XML is an application instance of SGML or a restricted form. From Structure, XML document complies with the SGML document standard. Used in publishing industries, very complex, based on SGML development is very expensive, only in a few big companies and government departments, XML retains SGML 80% function, reducing 20% complexity, so Make the development of XML applications that make XML enters "ordinary people's home". Tip: HTML is only suitable for communication between people and computers, is not suitable for computer and computer communication. The XML and HTML differs from: XML allows us to express the actual document content based on our documents we want to express, such as: We can define the