当前位置:网站首页>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 .
边栏推荐
- 微服务常见面试题
- Flutter monitors volume to realize waveform visualization of audio
- JS dynamic table creation
- 1115 counting nodes in a BST (30 points)
- [basic grammar] C language uses for loop to print Pentagram
- (完美解决)matplotlib图例(legend)如何自由设置其位置
- 1118 birds in forest (25 points)
- Common methods of JS array
- Review the configuration of vscode to develop golang
- Promise
猜你喜欢

2022-02-12 daily clock in: problem fine brush
![[research materials] the fourth quarter report of the survey of Chinese small and micro entrepreneurs in 2021 - Download attached](/img/01/052928e7f20ca671cdc4c30ae55258.jpg)
[research materials] the fourth quarter report of the survey of Chinese small and micro entrepreneurs in 2021 - Download attached

appium1.22.x 版本後的 appium inspector 需單獨安裝

2022-02-11 daily clock in: problem fine brush

5-36v input automatic voltage rise and fall PD fast charging scheme drawing 30W low-cost chip

es7创建索引容易犯的错误
![[set theory] relational power operation (relational power operation | examples of relational power operation | properties of relational power operation)](/img/8b/c10423ee95200a0d94f9fb9dde76eb.jpg)
[set theory] relational power operation (relational power operation | examples of relational power operation | properties of relational power operation)

appium1.22. Appium inspector after X version needs to be installed separately

Review the configuration of vscode to develop golang

Use posture of sudo right raising vulnerability in actual combat (cve-2021-3156)
随机推荐
Learning record of arouter principle
Handler understands the record
Detailed explanation of the output end (head) of yolov5 | CSDN creation punch in
小学校园IP网络广播-基于校园局域网的小学IP数字广播系统设计
Literature reading_ Research on the usefulness identification of tourism online comments based on semantic fusion of multimodal data (Chinese Literature)
JS scope
1119 pre- and post order traversals (30 points)
[set theory] relationship properties (common relationship properties | relationship properties examples | relationship operation properties)
编译GCC遇到的“pthread.h” not found问题
Use Sqlalchemy module to obtain the table name and field name of the existing table in the database
Webapidom get page elements
Celebrate the new year together
乾元通多卡聚合路由器的技术解析
Common methods of JS array
Realize file download through the tag of < a > and customize the file name
Wechat applet distance and map
Analysis of proxy usage of ES6 new feature
Yolov5 model construction source code details | CSDN creation punch in
1103 integer factorization (30 points)
What is UUID