当前位置:网站首页>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 .
边栏推荐
- Maximum continuous sub segment sum (dynamic programming, recursive, recursive)
- Prepare for 2022 and welcome the "golden three silver four". The "summary of Android intermediate and advanced interview questions in 2022" is fresh, so that your big factory interview can go smoothly
- 1115 counting nodes in a BST (30 points)
- BIO、NIO、AIO区别
- Yolov5 model construction source code details | CSDN creation punch in
- Do you know UVs in modeling?
- @RequestMapping
- My first Smartphone
- Market status and development prospect prediction of global fermentation acid industry in 2022
- [backtrader source code analysis 4] use Python to rewrite the first function of backtrader: time2num, which improves the efficiency by 2.2 times
猜你喜欢
![[research materials] 2021 annual report on mergers and acquisitions in the property management industry - Download attached](/img/95/833f5ec20207ee5d7e6cdfa7208c5e.jpg)
[research materials] 2021 annual report on mergers and acquisitions in the property management industry - Download attached

Kept hot standby and haproxy

Thesis reading_ ICD code_ MSMN

"Hands on deep learning" pytorch edition Chapter II exercise

JQ style, element operation, effect, filtering method and transformation, event object

JDBC database operation

Actual combat 8051 drives 8-bit nixie tube
![[Yu Yue education] basic reference materials of interchangeability and measurement technology of Zhongyuan Institute of Technology](/img/f1/d0dc4dc3fe49a2d2cd9e452a0ce31e.jpg)
[Yu Yue education] basic reference materials of interchangeability and measurement technology of Zhongyuan Institute of Technology

音频焦点系列:手写一个demo理解音频焦点与AudioMananger

Source insight garbled code solution
随机推荐
Redis 过期淘汰机制
Prepare for 2022 and welcome the "golden three silver four". The "summary of Android intermediate and advanced interview questions in 2022" is fresh, so that your big factory interview can go smoothly
微服务常见面试题
Use posture of sudo right raising vulnerability in actual combat (cve-2021-3156)
Wechat applet waterfall flow and pull up to the bottom
1119 pre- and post order traversals (30 points)
Automatic voltage rise and fall 5-40v multi string super capacitor charging chip and solution
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
Review the configuration of vscode to develop golang
Interface frequency limit access
1087 all roads lead to Rome (30 points)
Pan details of deep learning
es7创建索引容易犯的错误
Cross platform plug-in flutter for displaying local notifications_ local_ notifications
1095 cars on campus (30 points)
Dynamic programming - related concepts, (tower problem)
112 stucked keyboard (20 points)
Notes | numpy-07 Slice and index
[set theory] relation properties (transitivity | transitivity examples | transitivity related theorems)
Market status and development prospect prediction of global fermentation acid industry in 2022