Detailed introduction to XML development

零下一度
Release: 2017-06-12 09:54:47
Original
1631 people have browsed it

XML documents form a tree structure, which starts from the "root" and then expands to the "leaves". An XML document instance XML uses a simple self-descriptive syntax: George John Reminder Don't forget the meeting this weekend! The first line

1. XML Development Basics-XML Tree Structure

Detailed introduction to XML development

## Introduction: XML documents form a tree structure, which starts from the "root" and then expands to the "leaves". An XML document example XML uses a simple self-descriptive syntax:

2. XML Development Basics-XML Validation Code Sharing

Detailed introduction to XML development

#Introduction: XML with correct syntax is called "well-formed" XML. XML that has been validated against a DTD is "valid" XML. Well-formed XML document A "well-formed" XML document has correct syntax. A "well-formed" XML document will comply with the XML syntax rules introduced in the previous chapters:

3. XML Development Basics-Detailed Explanation of XML Syntax Rules

Detailed introduction to XML development

Introduction: The syntax rules of XML are very simple and very logical. These rules are easy to learn and easy to use. All XML elements must have closing tags. In HTML, you often see elements without closing tags:

4. XML Development Basics-XML Elements

Detailed introduction to XML development

Introduction: XML documents contain XML elements. What are XML elements? An XML element refers to the part from (and including) the start tag to (and including) the end tag. Elements can contain other elements, text, or a mixture of both. Elements can also have attributes.

5. XML Development Basics-Detailed Code Explanation of XML Attributes

Detailed introduction to XML development

Introduction: XML elements can contain attributes in the start tag, similar to HTML. Attributes provide additional information about an element. XML attributes From HTML, you'll recall this: . The "src" attribute provides additional information about the element. In HTML (and in XML), attributes provide additional information about an element:

6. XML Development Basics - Viewing XML Files

Detailed introduction to XML development

Introduction: Raw XML files may be viewed in all modern browsers. Don't expect XML files to be displayed directly as HTML pages. View the XML file

7. XML development basics-detailed explanation of using CSS to display XML

Detailed introduction to XML development

Introduction: By using CSS, you can add display information to XML documents. Display your XML using CSS? It is possible to format XML documents using CSS. The following example is about how to use a CSS style sheet to format an XML document: This is the XML file: CD directory This is the style sheet: CSS file

8. Detailed explanation of the establishment of XML development environment

Detailed introduction to XML development

## Introduction: PHP100 Chinese website is the first professional website in China that focuses on PHP resource sharing, and also provides a PHP Chinese communication community. For PHP learning researchers, it provides: the latest PHP information, original content, open source code, PHP video tutorials and other related content.

9. A simple example of using XML to develop a message board

Detailed introduction to XML development

##Introduction: xml is a meta-markup language based on text format. It focuses on the description of data structure and data meaning, realizes the separation of data content and display style (xml+xsl), and is platform-independent. of.

10.

Using XML to develop a message board simple example code analysis

Detailed introduction to XML development##Introduction: xml is a meta-markup language based on text format. It focuses on the description of data structure and data meaning, realizes the separation of data content and display style (xml+xsl), and is compatible with Platform independent.

The above is the detailed content of Detailed introduction to XML development. For more information, please follow other related articles on the PHP Chinese website!

source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template