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 are the basic knowledge points of XML

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)05/31 Report--

This article mainly explains "what are the basic knowledge points of XML", interested friends may wish to take a look. The method introduced in this paper is simple, fast and practical. Let's let Xiaobian take you to learn "What are the basic XML knowledge points"!

XML is designed to describe data, and its focus is on the content of the data.

XML is designed to describe data, and its focus is on the content of the data.

HTML is designed to display data, with the focus on how the data looks.

Basic knowledge that should be mastered:

Before you can continue, you need to have a basic understanding of the following:

HTML / XHTML JavaScript or VBScript

If you would like to learn about these projects first, please visit these tutorials on our home page.

What is XML? XML stands for Extensible Markup Language XML is a markup language, much like HTML XML is designed to describe data XML tags are not predefined. You need to define your own label. XML uses a Document Type Declaration (DTD) or XML Schema to describe data. XML with a DTD or XML Schema is designed to be self-descriptive. XML is a W3C standard XML is a W3C standard

Extensible Markup Language was established as a W3C standard on February 10, 1998.

You can learn more about XML standards in our W3C Tutorial.

Main differences between XML and HTML

XML is designed to carry data.

XML is not intended to replace HTML.

XML and HTML are designed for different purposes:

XML is designed to describe data, with the focus on the content of the data.

HTML is designed to display data, with the focus on how the data looks.

HTML is intended to display information, while XML is intended to describe information.

XML without any behavior

XML is nonexistent.

Maybe it's a little hard to understand, but XML doesn't do anything. XML is designed to structure, store, and transmit information.

Here is a note John wrote to George, stored as XML:

GeorgeJohnReminderDon't forget the meeting!

This tag has a title and a comment. It also contains information about the sender and receiver. However, this XML document still doesn't do anything. It's just pure information wrapped in XML tags. We need to write software or programs to send, receive, and display this document.

XML is free and extensible.

XML tags are not predefined. You have to "invent" your own label.

The tags used to mark HTML documents and their structure are predefined. Authors of HTML documents can use only those tags defined in the HTML standard (e.g.

、。)。

XML allows authors to define their own tags as well as their own document structure.

The tags in the example above are not defined in any XML standard. These tags were invented by the author of the XML document.

XML is a complement to HTML

XML is not a substitute for HTML.

It is important to understand that XML is not a substitute for HTML. In the future of Web development, the most likely scenario is that XML will be used to describe data and HTML will be used to format and display it.

Our best description of XML is that XML is a cross-platform, software-and hardware-independent tool for transferring information.

XML's role in future Web development

At this point, I believe that everyone has a deeper understanding of "what are the basic knowledge points of XML", so let's actually operate it! Here is the website, more related content can enter the relevant channels for inquiry, pay attention to us, continue to learn!

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

Servers

Wechat

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

12
Report