XML Schema All In One
XML Schema All In One
XSD
An XML Schema
describes the structure of an XML
document.
The XML Schema language
is also referred to as XML Schema Definition
(XSD).
https://en.wikipedia.org/wiki/XML_schema
https://www.w3.org/XML/Schema
https://www.w3.org/TR/xmlschema-1/
XML Schema Definition
An XML Schema describes the structure of an XML document, just like a DTD
.
An XML document with correct syntax is called "Well Formed".
An XML document validated against an XML Schema is both "Well Formed" and "Valid".
https://www.w3schools.com/xml/xml_schema.asp
demos
<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="note">
<xs:complexType>
<xs:sequence>
<xs:element name="to" type="xs:string"/>
<xs:element name="from" type="xs:string"/>
<xs:element name="heading" type="xs:string"/>
<xs:element name="body" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
https://www.w3schools.com/xml/schema_intro.asp
refs
https://www.cnblogs.com/xgqfrms/p/15869698.html#5212841
https://codesandbox.io/s/typescript-declare-module-bug-z479fm?file=/index.d.ts:425-757
©xgqfrms 2012-2025
www.cnblogs.com/xgqfrms 发布文章使用:只允许注册用户才可以访问!
原创文章,版权所有©️xgqfrms, 禁止转载 🈲️,侵权必究⚠️!
本文首发于博客园,作者:xgqfrms,原文链接:https://www.cnblogs.com/xgqfrms/p/17718162.html
未经授权禁止转载,违者必究!
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· 没有Manus邀请码?试试免邀请码的MGX或者开源的OpenManus吧
· 【自荐】一款简洁、开源的在线白板工具 Drawnix
· 园子的第一款AI主题卫衣上架——"HELLO! HOW CAN I ASSIST YOU TODAY
· Docker 太简单,K8s 太复杂?w7panel 让容器管理更轻松!
2022-09-20 河南省人才交流中心 All In One
2021-09-20 Flutter 2.5 All In One
2020-09-20 Swift 5.3
2020-09-20 OTA development
2019-09-20 React & Dva & Actions & dispatch & effects
2018-09-20 Linux Bash & rm -rf & Node.js & rimraf All In One
2018-09-20 Spring Boot & JsonParser All In One