📄 employee.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 + -