Home  >  Article  >  Backend Development  >  What is XML and what does it do?

What is XML and what does it do?

清浅
清浅Original
2019-04-11 14:14:5733333browse

XML is an extensible markup language, where marks refer to information symbols that can be understood by computers. By marking resources containing various information, computers can process them through a universal markup language. Markup; XML language is simplified and modified from SGML. It mainly uses XML, XSL, XPath, etc.

What is XML and what does it do?

XML is an extensible markup language, which is a complement to HTML and has good scalability and can separate content from form. Its main function is to realize data sharing and communication between different applications and platforms

XML is an extensible markup language. Similar to the HTML language, it can be regarded as a supplement to the HTML language. Next, This article will give you a detailed introduction to what XML language is and what it does. It has certain reference value and I hope it will be helpful to you

[Recommended courses: XML tutorial

XML meaning

XML becomes eXtensible Markup Language. Markers refer to information symbols that can be understood by computers. By marking resources containing various information, computers can process them. We can mark them through a common markup language, such as HTML language. The XML language is simplified and modified from SGML. It mainly uses XML, XSL, XPath, etc.

The role of XML

The main function of XML files is for data sharing and communication between different applications and different platforms. In addition, it can also be used to store configurations. files and store data.

Advantages of XML

(1) Good scalability

(2) Separation of content and form in XML files

(3) XML syntax is strict, and it will stop running when the syntax is wrong

The difference between XML and HTML

(1) XML is not a markup language, it It is just a language used to create markup, while HTML is a markup language

(2) The tag pairs in XML are customized by themselves, while the tags of HTML are predefined

(3 ) XML is used to describe, store and exchange data and does not display any format information, while HTML mixes data and display formats

Summary: The above is the entire content of this article, I hope it will be useful to everyone helped.

The above is the detailed content of What is XML and what does it do?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Related articles

See more