xml| comparison
Two. Comparison of XML and HTML
HTML itself has many drawbacks, for example, content and the layout of the page, presentation form mixed together, excessive expansion. Information stored in the database, after the interpretation and conversion of cgi,asp to HTML format, the original format of the information has become unrecognizable. The gradual popularity of E-commerce, the shortcomings of the HTML itself has hindered his development.
Ha!
This is the best time for our XML to come out!
The most powerful part of XML is the complete separation of data and expression forms!
If you have studied the data structure, you must know an important data structure--the tree!
And our XML is a tree-like structure!
The difference between XML and HTML is that:
The focus of XML is on content, while the HTML focus is on page layout and typography.
Xml+xsl (CSS)-->html
How to explain?
XML is written in a similar notation to HTML.
The advantages of XML:
1. Facilitate the exchange of information between different systems
The nature of XML itself makes it an unprecedented convenience for business-to-business companies to make business.
2. More convenient information search
The content and design of the file are completely separate, and the XML file itself is unaffected when the appearance changes. When searching for information, you can get the useful information you want as long as you search for the XML file.