Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What is the definition of XML?

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly explains "what is the definition of XML". The content of the explanation is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "what is the definition of XML".

Definition of XML

XML is a compact SGML, which combines the rich functions of SGML and the ease of use of HTML into the application of Web. XML retains the extensible capabilities 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 the definition of an unlimited number of tags to describe the data in the document, allowing nested information structures. HTML is just a common way for Web to display data, while XML provides a general method for directly dealing with Web data. HTML focuses on the display format of Web pages, while XML focuses on the content of Web pages.

XML includes 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, which enables developers to construct Web pages with expression layer structure, which is different from the data structure of XML. XSL can also work with HTML to construct stacked pages. XSL can interpret an unlimited number of tags, which makes the layout of Web more colorful, such as dynamic text, horse-racing text. In addition, XSL also deals with multinational characters, double-byte Chinese character display, grid processing and so on.

XLL is the linking language of XML, which is similar to HTML's links, but more powerful. XLL supports extensible links and multi-directional links. It breaks the simplest link restriction that HTML only supports hypertext, and can support address-independent domain names, two-way links, loops, collective links of multiple sources, and so on. XLL links can be specified and managed according to user requirements without being restricted by the document.

In order to make XML easy to learn and use, XML has streamlined a large area of SGML features that are rarely used once. Just as only 8, 000 of the hundreds of thousands of Chinese characters are commonly used, SGML accounts for only 20% of the commonly used parts of SGML, abandoning the less common parts of XML and reducing it by 80% at once. As a result, the grammar specification for XML is only 30 pages, while SGML has 500 pages.

The ease of use of XML is also considered in the design, which comes from two aspects: on the one hand, it is convenient for users to write Web pages, on the other hand, it is not too difficult for designers to implement XML browsers.

In short, XML uses a simple and flexible standard format, which provides an effective means of describing and exchanging data for Web-based applications. HTML describes a common way to display global data, while XML provides a common way to process global data directly.

Thank you for your reading, the above is the content of "what is the definition of XML", after the study of this article, I believe you have a deeper understanding of what the definition of XML is, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report