II. XML definition XML is a simplified SGML, which combines the rich functions of SGML with the ease of use of HTML into Web applications. XML retains the scalability of SGML, which makes XML fundamentally different from HTML. XML is much more powerful than HTML. it is no longer a fixed tag, but allows defining a limited number of tags to describe the data in the document, allowing nested information structures 2. XML definitions
XML is a simplified SGML that combines the rich functions of SGML with the ease of use of HTML into Web applications. XML retains the scalability of SGML, which makes XML fundamentally different from HTML. XML is much more powerful than HTML. it is no longer a fixed tag, but allows defining a limited number of tags to describe the data in the document and allows nested information structures. HTML is only a common method for displaying data on the Web, while XML provides a common method for directly processing Web data. HTML focuses on the display format of web pages, while XML focuses on the content of web pages.
XML includes the Extensible format Language XSL (Extensible Style Language) and Extensible link Language XLL (Extensible Linking Language ).
XSL is used to translate XML data into HTML or other formats. XSL provides a stacked page CSS function that allows developers to construct a Web page with an expression layer structure, which is different from the XML data structure. XSL can also be used with HTML to construct stacked pages. XSL can interpret a limited number of tags, which make Web pages more colorful, such as dynamic text and horse-running text. In addition, XSL also processes multi-country text, dual-byte Chinese character display, and various grid processing methods.
XLL is the link language of XML, which is similar to HTML links, but is more powerful. XLL supports scalable and multi-direction connections. It breaks the simple link restrictions in HTML that only supports the hypertext concept, and supports domain names, bidirectional links, loops, and collection links of multiple sources independent of addresses. XLL links can be specified and managed according to user requirements without document restrictions.
To make XML easy to learn and use, XML simplifies a large SGML. Just as some 100,000 Chinese characters are commonly used only eight thousand, the common part of SGML accounts for only 20%, and XML discards the not commonly used part of SGML, which is reduced by 80%. In this way, the XML syntax has only 30 pages, while SGML has 500 pages.
The ease of use is also taken into account in XML Design. usability comes from two aspects: On the one hand, it is convenient for users to write Web pages, and on the other hand, it is not difficult for designers to implement XML browsers.
In short, XML uses a simple and flexible standard format, which provides an effective means for Web-based applications to describe data and exchange data. HTML describes general methods for displaying global data, while XML provides a general method for directly processing global data.
The above is the detailed description of the WEB page tool Language XML (2) definition. For more information, see other related articles in the first PHP community!