ds1.xsd

来自「是一个工资的管理系统 利用的是VB.NET和sql2000来完成的」· XSD 代码 · 共 29 行

XSD
29
字号
<?xml version="1.0" standalone="yes"?>
<xs:schema id="ds1" targetNamespace="http://www.tempuri.org/ds1.xsd" xmlns:mstns="http://www.tempuri.org/ds1.xsd" xmlns="http://www.tempuri.org/ds1.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:element name="ds1" msdata:IsDataSet="true" msdata:Locale="zh-CN">
    <xs:complexType>
      <xs:choice maxOccurs="unbounded">
        <xs:element name="course">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="sno" type="xs:string" />
              <xs:element name="sname" type="xs:string" minOccurs="0" />
              <xs:element name="cno" type="xs:string" />
              <xs:element name="grade" type="xs:string" minOccurs="0" />
              <xs:element name="ccredit" type="xs:string" minOccurs="0" />
              <xs:element name="Expr1" type="xs:string" />
              <xs:element name="Expr2" type="xs:string" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:course" />
      <xs:field xpath="mstns:sno" />
      <xs:field xpath="mstns:cno" />
      <xs:field xpath="mstns:Expr1" />
      <xs:field xpath="mstns:Expr2" />
    </xs:unique>
  </xs:element>
</xs:schema>

⌨️ 快捷键说明

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