当前位置:网站首页>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 .
边栏推荐
- ZABBIX monitoring of lamp architecture (2): ZABBIX basic operation
- Hire cashier (differential constraint)
- Redis 入門和數據類型講解
- Audio Focus Series: write a demo to understand audio focus and audiomananger
- Blog building tool recommendation (text book delivery)
- Redis Introduction et explication des types de données
- Coordinatorlayout appbarrayout recyclerview item exposure buried point misalignment analysis
- The consumption of Internet of things users is only 76 cents, and the price has become the biggest obstacle to the promotion of 5g industrial interconnection
- 乾元通多卡聚合路由器的技术解析
- 小学校园IP网络广播-基于校园局域网的小学IP数字广播系统设计
猜你喜欢

Mobile terminal - uniapp development record (public request encapsulation)

Use posture of sudo right raising vulnerability in actual combat (cve-2021-3156)
![[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

Shuttle + alluxio accelerated memory shuffle take-off

cookie session jwt

BIO、NIO、AIO区别
![[research materials] annual report of China's pension market in 2021 - Download attached](/img/24/622aeeb38de16ac84128b362ceeddb.jpg)
[research materials] annual report of China's pension market in 2021 - Download attached

Cross platform plug-in flutter for displaying local notifications_ local_ notifications

Analysis of proxy usage of ES6 new feature

SSM framework integration
随机推荐
Notes | numpy-10 Iterative array
微服务常见面试题
Messy change of mouse style in win system
[backtrader source code analysis 5] rewrite several time number conversion functions in utils with Python
Audio Focus Series: write a demo to understand audio focus and audiomananger
Market status and development prospect prediction of global fermentation acid industry in 2022
编译GCC遇到的“pthread.h” not found问题
JS string and array methods
2022-02-11 daily clock in: problem fine brush
Botu uses peek and poke for IO mapping
Automatic voltage rise and fall 5-40v multi string super capacitor charging chip and solution
1106 lowest price in supply chain (25 points)
Redis Introduction et explication des types de données
Common methods of JS array
Analysis of proxy usage of ES6 new feature
Notes | numpy-08 Advanced index
Caijing 365 stock internal reference: what's the mystery behind the good father-in-law paying back 50 million?
Without 50W bride price, my girlfriend was forcibly dragged away. What should I do
cookie session jwt
Handler understands the record