当前位置:网站首页>XML Configuration File
XML Configuration File
2022-07-03 05:10:00 【Luoluo hushengwei】
hello, Family , Today we are going to study XML The configuration file
Catalog
3、 ... and . Why should we use XML?
5、 ... and . The standard XML Format
6、 ... and .🥤🥤 Element definition
7、 ... and . Attribute definitions
One . What is? XML?
XML Designed to transmit and store data ,XML Extensible markup language .
- XML Extensible markup language (EXtensible Markup Language).
- XML It's like HTML The markup language of .
- XML The purpose of the design is to transmit data , Instead of showing the data .
- XML The label is not predefined . You need to define your own tags .
- XML Designed to be self-descriptive .
- XML yes W3C The recommended standard of
If you don't understand XML Right again XML If you are interested , You can click this link to see :XML brief introduction – What is? XML? | Novice tutorial XML brief introduction XML Designed to transmit and store data . HTML Designed to display data . XML Extensible markup language (eXtensible Markup Language). Extensible markup language ( English :Extensible Markup Language, abbreviation :XML) It's a markup language , From standard General Markup Language (SGML) Simplified and modified from . It mainly uses extensible markup language 、 Extensible style language (XSL)、XBRL and XPath etc. . The basic knowledge that should be mastered As you continue to learn ..https://www.runoob.com/xml/xml-intro.html
Two .XML The role of
XML be applied to Web Many aspects of development , It is often used to simplify the storage and sharing of data
- XML The data from HTML Separate
- XML Simplify data sharing
- XML Simplify data transfer
- XML Simplify platform changes
- XML Make your data more useful
- XML For creating new internet languages
3、 ... and . Why should we use XML?
xml The ability to run between different system platforms and convert into different format object files makes it an excellent choice in content management application systems
Four .XML Structure diagram

5、 ... and . The standard XML Format
- There is and only one root element
- XML Labels are case sensitive
- Use the end tag correctly
- Nesting labels correctly
- Legal tag name used
- Define valid properties
6、 ... and .🥤🥤 Element definition
- The classification of elements
1. Empty elements
<!ELEMENT element-name EMPTY> // Empty elements 2. Text elements
<!ELEMENT element-name (#PCDATA)>// Text elements 3. Mixed elements
<!ELEMENT element-name(e1,e2)> // Mixed elements - The limitation of elements
And (,) Not (|)
Times are divided into :
| 0 or 1 | use ? The sign means |
| 0~N | use * The sign means |
| 1~N | use + The sign means |
- Case study

7、 ... and . Attribute definitions
grammar :
<!ATTLIST element-name att_name type desc>- Attribute types type
- ID: To write elements, you must write this
- ( male | Woman ) : Only male or female
- CDATA: Text attribute
- IDREF: Quote someone else ID The value in
- reference( To use less )
- Property description
#REQUIRED: Required
#IMPLIED: Not required
' The default value is '
Be careful : Only type by ( male | Woman ) Type ,desc Can use the default value
- Case study

Today's code ends here ~ I'll see you next time
Remember to smile today .
边栏推荐
- Go language interface learning notes Continued
- Analysis of proxy usage of ES6 new feature
- The programmer resigned and was sentenced to 10 months for deleting the code. JD came home and said that it took 30000 to restore the database. Netizen: This is really a revenge
- JDBC database operation
- leetcode860. Lemonade change
- Realize file download through the tag of < a > and customize the file name
- The principle is simple, but I don't know how to use it? Understand "contemporaneous group model" in one article
- Overview of basic knowledge of C language
- Without 50W bride price, my girlfriend was forcibly dragged away. What should I do
- 50 practical applications of R language (36) - data visualization from basic to advanced
猜你喜欢

Use posture of sudo right raising vulnerability in actual combat (cve-2021-3156)

Botu uses peek and poke for IO mapping

Keepalived热备与HAProxy

Web APIs exclusivity
![[basic grammar] Snake game written in C language](/img/cb/83631ef3ccd7047ca42d33dc49bf90.jpg)
[basic grammar] Snake game written in C language

Online VR model display - 3D visual display solution

leetcode452. Detonate the balloon with the minimum number of arrows

RT thread flow notes I startup, schedule, thread

JQ style, element operation, effect, filtering method and transformation, event object
![[set theory] relation properties (reflexivity | reflexivity theorem | reflexivity | reflexivity theorem | example)](/img/2a/362f3b0491f721d89336d4f468c9dd.jpg)
[set theory] relation properties (reflexivity | reflexivity theorem | reflexivity | reflexivity theorem | example)
随机推荐
The process of browser accessing the website
[set theory] relation properties (reflexivity | reflexivity theorem | reflexivity | reflexivity theorem | example)
Shallow and first code
Common methods of JS array
Do you know UVs in modeling?
Make your own dataset
1106 lowest price in supply chain (25 points)
Without 50W bride price, my girlfriend was forcibly dragged away. What should I do
appium1.22. Appium inspector after X version needs to be installed separately
1099 build a binary search tree (30 points)
Notes | numpy-10 Iterative array
Notes | numpy-07 Slice and index
JS scope
appium1.22.x 版本后的 appium inspector 需单独安装
Kept hot standby and haproxy
[backtrader source code analysis 5] rewrite several time number conversion functions in utils with Python
MySQL master-slave configuration
Chapter II program design of circular structure
Overview of basic knowledge of C language
leetcode452. Detonate the balloon with the minimum number of arrows