Learn to understand XML language in Chinese and English

Source: Internet
Author: User
Tags define definition
Xml

XML was designed to describe data and to the what data is.
XML is generated to describe the data and to focus on what the data is

HTML is designed to display data looks.
HTML is used to display data, which is concerned with the effect of data display

What you Should already Know [what you should already know]

Before you continue your should have a basic understanding of the following:
Before you go on, you should have a basic understanding of the following:

    • Html/xhtml
    • JavaScript or VBScript

If you are want to study these subjects
If you want to study these topics first, please find the guide on the homepage first.

What is XML? [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 must define your own tags
    • XML uses a Document Type Definition (DTD) or a XML Schema to describe the data
    • XML with a DTD or XML Schema was designed to self-descriptive
    • XML is a recommendation
    • XML is EXtensible Markup Language (supports Extensible Markup Language)
    • XML is a markup language similar to HTML language
    • XML is used to describe the data
    • The XML label is not defined. You have to define your label.
    • XML uses a file type definition (DTD) or XML Schema(model) to describe the data
    • The inclusion of a DTD or XML Schema in XML can be used to describe self
    • XML is recommended by the world Wode Web Consortium

XML is a-recommendation [XML is recommended by the consortium]

The Extensible Markup Language (XML) became a is in the recommendation 10. February 1998.
Extensible Markup Language (XML) was recommended by the consortium on February 10, 1998

The main difference between XML and HTML [the primary difference between XML and HTML]

XML is designed to carry data.
XML is used to transmit data.

XML is isn't a replacement for HTML.
XML is not a substitute for HTML location XML and HTML were designed with different goals:
XML and HTML have their own different uses:

XML was designed to describe data and to the what data is.
XML is generated to describe the data and to focus on what the data is
HTML is designed to display data looks.
HTML is used to display data, which is concerned with the effect of data display

The HTML is about displaying information, while the XML is about describing information.
HTML is used to display information ~ and XML is to describe information.

XML does not do anything [doing nothing]

XML is not designed to do anything.
Be designed to do nothing.

Maybe It is a little hard to understand, but XML does don't do anything. XML is created to structure, the store and to send information.
This may be a bit hard to understand ~ but XML does not output any data ~xml is used with building structures, saving and sending information.

The following example is a note to Tove from Jani, stored as XML:
Here is an example of an XML

<note> <to>Tove</to> <from>Jani</from> 

The note has a headers and a message body. It also has sender and receiver information. But Still, this XML document does does not do anything. It is just pure information wrapped in XML tags. Someone must write a piece of software to send, receive or display it.
This document has a header and the subject of the message, and it also has information about the sender and the recipient. However, this XML document is also not able to output any data ~, it is simply encapsulated in the XML tag information. You must write a copy of the software to be able to send, receive or display this information.

XML is free and extensible [XML can be extended freely]

XML tags are not predefined. You must "invent" your own tags.
XML tags cannot be predefined, you must "create" your own label

The tags used to mark up HTML documents and the structure of HTML documents are predefined. The author of HTML documents can only use tags this are defined in the HTML standard (like <p>, This tag is commonly used to mark HTML documents and the structure of HTML documents is predefined, and the HTML document creator can only use tags defined in standard HTML (like <p>,

XML allows the author to define he own tags and his own document structure.
XML allows creators to define their own tags and their own document structure.

The tags in the example above (like <to> and <from>) are is not defined into any XML standard. These tags are "invented" by the author of the XML document.
The tags in the above example (like <to> and <from>) cannot be defined in any standard XML as "created" by the author of this XML document.

XML is a complement to HTML [XML as a complement to HTML]

XML is isn't a replacement for HTML.
XML is not yet able to replace the location of HTML

It is important to understand this XML is isn't a replacement for HTML. In future WEB development it are most likely that XML would be used to describe the data, while HTML would be used to format and display the same data.
It is important to understand that XML is currently not a substitute for HTML, and that the development of the web in the future is likely to be XML used to describe the data, while HTML is used to lay out and display the same data.

My best description The XML is this: xml are a cross-platform, software and hardware independent tool for transmitting I nformation.
The best description of XML is this:XML is cross-platform, and software and hardware are mutually independent tools when transferring information.

XML in future WEB development [prospect of XML in future web development]

The XML is going to be everywhere.
XML will extend to various places

We have been participating in XML development since its creation. It has been amazing to? quickly the XML standard has been developed and how quickly a large number of software ORS have adopted the standard.
We have been involved in the development of XML since the day the XML was created. We were surprised to find how quickly XML standards have developed, and that a large number of software developers have adopted this standard.

We strongly believe that XML'll be as important to the future of the web as HTML has been to the foundation of the Web A nd that XML would be the most common tool to all data manipulation and data transmission.
We believe that XML will become as important in the future as the HTML that has become the World Wide Web, and that XML will be the most common tool for all operational and transmission data.

XML joke [XML jokes]

Question:when should I use XML?
Q: When should I use XML?

Answer:when you need a buzzword in your resume.
A: You can write your XML in your resume.



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.