当前位置:网站首页>XML schema
XML schema
2022-07-24 05:00:00 【flysh05】
XML framework
XML Pattern ( Also known as XML Mode definition or XSD) Used to describe XML Document structure . It is DTD substitute .
Why Architecture Matters ?
DTD Not as powerful as the mode , Because its scalability and flexibility are not enough . therefore , It may not be suitable for some situations . under these circumstances , Patterns are important . Use XML The main purpose of a pattern is to define XML Elements and attributes of documents .
XML Architecture and DTD What's the difference? ?
The following comparison shows XSD(XML Pattern ) And DTD The difference .

The following code snippet shows XML Examples of patterns :
<xs:schema xmlns:xs = "http://www.w3.org/2001/XMLSchema">
<xs:element name = "employee">
<xs:complexType>
<xs:sequence>
<xs:element name = "firstname" type = "xs:string" />
<xs:element name = "lastname" type = "xs:string" />
<xs:element name = "phone" type = "xs:int" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
边栏推荐
- [machine learning] - [traditional classification problem] - naive Bayesian classification + logistic regression classification
- Personalized customized TenPay name customized TenPay is a diagram of any name such as Ma Huateng
- Jiang Xingqun, senior vice president of BOE: aiot technology enables enterprise IOT transformation
- Quick reference manual for the strongest collation of common regular expressions (glory Collection Edition)
- Yum to see which installation package provides a command
- Two methods of modifying configuration files in PHP
- How is it that desktop icons can't be dragged? Introduction to the solution to the phenomenon that desktop file icons can't be dragged
- Summary of common errors in wechat applet cloud development
- 472-82 (22, 165, 39, sword finger offer II 078, 48. Rotate image)
- The software cannot be uninstalled. Please wait for the current program to complete the uninstallation or change the solution
猜你喜欢

Event extraction and documentation (2019)

Kingbase v8r6 cluster installation and deployment case - script online one click expansion

Sort - quicksort

LabVIEW master VI freeze pending

MGRE and OSPF comprehensive experiment

How much do you know about thread pool and its application

Problems and solutions of QT (online installation package) crash in win10 installation

Journey of little black leetcode: 341. Flattening nested list iterator

Event extraction and documentation (2020-2021)

京东方高级副总裁姜幸群:AIoT技术赋能企业物联网转型
随机推荐
C. Recover an RBS (parenthesis sequence, thinking)
Little black leetcode journey: 100 same trees
How can I open and view the bin file? Diagram of reading method of bin file backed up by router
How to download vscode using domestic image seconds
Why can't I hide folders? Solutions to the hidden folders on the computer that can still be seen
Personalized customized TenPay name customized TenPay is a diagram of any name such as Ma Huateng
连接数%的准确率。现在拟需求。企业在数足以
Chapter III encog workbench
C. Recover an RBS(括号序列,思维)
Share a login interface template of QT implementation
Little black gnawing leetcode:589. Preorder traversal of n-ary tree
Want to know how a C program is compiled—— Show you the compilation of the program
[cornerstone of high concurrency] multithreading, daemon thread, thread safety, thread synchronization, mutual exclusion
Introduction to MapReduce
智能指针、左值引用右值引用、lambda表达式
最大公约数
Problems and solutions of QT (online installation package) crash in win10 installation
排序——QuickSort
MySQL transaction and its problems and isolation level
Mysq Database Constraints