XML (Extensible Markup Language)

Source: Internet
Author: User
Tags html tags xml parser xsl

XML (Extensible Markup Language) 1. What is Extensible Markup language?

Reply:

1. Extensible Markup Language is a markup language that wants Hypertext Markup language

2. It is designed to transmit data instead of displaying data

3. Its label is not predefined, it needs to define its own label

4. It is designed to be self-descriptive

5. It is the recommended standard for the

2. Differences between extensible Markup language and Hypertext Markup language

Reply:

1. It is not an alternative to Hypertext Markup language

2. It complements hyper-text markup language

3. It and the Hypertext Markup language are designed for different purposes

--it is designed to transmit and store data with the focus on the content of the data

--Hypertext Markup language is designed to display data with the focus on the appearance of the data

Hypertext Markup Language Master is designed to display information, while Extensible Markup language is the main thrust in transmitting information

The best description of it is that it is a software and hardware-independent information transfer tool

3. Extensible Markup Language is the recommended standard for the consortium

The recommended standard for XML as of February 10, 1998

4. Extensible Markup Language is ubiquitous

XML is the most common tool for data transfer between various applications.

Features of the 5.xml

1. Hypertext Markup Language tags not all need to appear in pairs

2. Extensible Markup language requires that all tags must appear in pairs

3.Html tags are case-insensitive, XML is case-sensitive, that is, case-sensitive

Syntax for 6.xml

1. The standard common markup language is commonly used for document type definitions for HTML, and it is often useful for writing XML DTDs.

2. The problem with the standard Universal markup language is that it allows for some strange syntax, which is called a big puzzle to create an HTML parser.

--point:

1. Some start tags can optionally appear end tag or implied end tag

2. Some start tag requirements must appear end tag, for example: HTML <script> ' script ' tag

3. Tags can be nested in any order.

4. Some feature requirements must contain values, such as source attributes in:< picture Source = ' Image.jpg ' >

5. Certain features do not require a certain value

6. It is possible to define both sides of the attribute with double quotation marks.

  

XML removes the random syntax of many of the standard generic markup languages that have previously made developers headache. The XML takes the following:

1. Any start tag must have an end tag

2. You can represent both the start and end tags in a single label.

3. Tags must be nested in the appropriate order

4. All features must have a value

5. All features must be surrounded by double quotation marks around the value.

These rules make it much easier to develop an XML parser, and it also removes the work of parsing the standard common markup language that is spent in judging when and where to apply those strange grammatical rules. In the first six years after the advent of XML, many different languages were derived, including MathML, SVG, RDF, RSS, SOAP, XSLT, XSL-FO, while also improving HTML to XHTML.

Application of 7.xml

The XML consists of 3 parts, namely:

Document type definition (DOC type definition DTD), which is the layout language

Extensible Style language (extensible Style Language XSL), which is the stylesheet language for XML

XML (Extensible Markup Language)

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.