In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
Editor to share with you a detailed introduction to XML, I believe that most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to understand it.
Basic overview
Extensible markup language, a subset of the standard general markup language, is a markup language used to mark up electronic documents to make them structural. In electronic computers, tags refer to information symbols that computers can understand. Through such marks, computers can process all kinds of information, such as articles, etc. It can be used to mark data and define data types. It is a source language that allows users to define their own markup language. It is ideal for World wide Web transmission and provides a unified way to describe and exchange structured data independent of applications or vendors. It is a cross-platform and content-dependent technology in Internet environment, and it is also an effective tool to deal with distributed structure information. As early as 1998, the W3C issued the XML1.0 specification, which is used to simplify the transmission of document information in Internet.
The Historical Origin of XML
1969, GML (Generalized Markup Language Universal markup language)-> 1985, SGML (Standard Generalized Markup Language Standard Generalized markup language)-- > 1993, HTML (Hypertext Markup Language Hypertext markup language)-- > 1998, XML (Extensible Markup Language Extensible markup language)
What is an extensible markup language?
1. Extensible markup language is a markup language that is very similar to hypertext markup language.
2. It is designed to transmit data, not to display it.
3. Its label is not predefined. You need to define your own label.
4. It is designed to be self-describing.
5. It is the recommended standard of W3C.
What is the difference between Extensible markup language and Hypertext markup language?
1. It is not a substitute for hypertext markup language.
2. It is a supplement to Hypertext markup language.
3. It and Hypertext markup language are designed for different purposes:
4. It is designed to transmit and store data, and its focus is on the content of the data.
5. Hypertext markup language is designed to display data, and its focus is the appearance of the data.
6. Hypertext markup language is designed to display information, while it is designed to transmit information.
7. The best description of it is that it is an information transmission tool independent of software and hardware.
Why do I need XML?
1. The problem of non-standard data transmission is solved.
2. Things with tree structure can be described very well.
3. Can be used as a configuration file.
PS: nowadays, many languages and technologies use XML as the standard for data transmission, so a deep understanding of XML is tantamount to mastering a general data transfer protocol.
Case study:
Zhang San male 20 Li Si female 18 XML basic Grammar
A XML file can be divided into the following parts:
Document declarations, elements, attributes, comments, CDATA areas, special characters, processing instructions (processing instruction)
Basic syntax:
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: 279
*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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.