⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 employee.xsd

📁 XML课件非常好的东西 如果你不了解XML看看非常有用
💻 XSD
字号:
<?xml version = "1.0"?>
<Schema name = "Employee"
xmlns="urn:schemas-microsoft-com:xml-data"
xmlns:dt="urn:schemas-microsoft-com:datatypes">

<AttributeType name = "Position" dt:type = "enumeration" dt:values = "Junior Senior Middle" />

<ElementType name = "Name" content = "textOnly" dt:type = "string" />
<ElementType name = "Age" content = "textOnly" dt:type = "integer" />
<ElementType name = "Sex" content = "textOnly" dt:type = "string" />
<ElementType name = "Qualification" content = "textOnly" dt:type = "string" />
<ElementType name = "Contact_No" content = "textOnly" dt:type = "integer" />

<ElementType name="Employee" content= "eltOnly" >
<AttributeType name = "Company" />
<attribute type = "Company" default = "Aptech" />
<attribute type = "Position" default = "Middle" />

<element type="Name" minOccurs="1" maxOccurs="1" />
<element type="Age" minOccurs="1" maxOccurs="1" />
<element type="Sex" minOccurs="1" maxOccurs="1" />
<element type="Qualification" minOccurs="1" maxOccurs="1" />
<element type="Contact_No" minOccurs="1" maxOccurs="1" />
</ElementType>

<ElementType name="Information" content= "eltOnly" >
<element type="Employee" minOccurs="1" maxOccurs="*" />
</ElementType>
</Schema>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -