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 function of XML?

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

Share

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

This article mainly shows you "what is the role of XML", the content is easy to understand, clear, hope to help you solve your doubts, the following let the editor lead you to study and learn "what is the role of XML" this article?

Xml is extensible markup language (eXtensible Markup Language). Tags refer to the information symbols that computers can understand. Through such marks, computers can deal with articles containing all kinds of information. How to define these tags, we can not only choose an international markup language, such as HTML, but also use a markup language like XML, which is freely determined by relevant people. This is the extensibility of the language. XML is simplified and modified from SGML. It mainly uses XML, XSL, XPath and so on.

The above paragraph is a basic definition of XML, a widely accepted description. To put it simply, XML is a data description language, although it is a language, it usually does not have the basic function of a common language-to be recognized and run by a computer. You have to rely on another language to explain it so that it can achieve the effect you want or be accepted by the computer.

If you are new to XML, you may not know what XML is by definition. Maybe you can look at what XML is from another perspective; getting to know XML from the application side and what XML can do about it should be more helpful to you than the more empty definition.

XML applications are mainly divided into two types, document type and data type. Here are some common XML applications:

1. Custom XML+XSLT= > HTML, one of the most common document applications. XML stores the XML data of the entire document, and then XSLT converts and parses the XML, combines the HTML tags in XSLT, and finally becomes HTML, which is displayed on the browser. A typical example is a post on CSDN.

2. XML, as a micro-database, is one of the most common data-based applications. We use related XML API (MSXML DOM, java DOM, etc.) to access and query XML. In the implementation of the message board, you can often see XML as the database.

3. As communication data. The most typical is WEB SERVICE, which uses XML to transfer data.

4. As the configuration information data of some applications. Common ones such as web.XML used by J2EE to configure WEB server.

5. The XML format of other documents. Such as Word, Excel and so on.

6. Save the mapping relationship between the data. Such as Hibernate.

These are all the contents of this article "what is the purpose of XML?" Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

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