📄 myxmltest.xms
字号:
<?xml version="1.0" standalone="yes"?>
<xsd:schema id="MyRootNode" targetNamespace="" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:element name="MyRootNode" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="ChildFolder">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="ChildElementOfChildFolder" type="xsd:string" minOccurs="0" msdata:Ordinal="0" />
<xsd:element name="SubFolderOfChildFolder" minOccurs="0" maxOccurs="unbounded">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="SubChildElement" type="xsd:string" minOccurs="0" msdata:Ordinal="0" />
</xsd:sequence>
<xsd:attribute name="Price" type="xsd:string" />
<xsd:attribute name="ChildFolder_Id" type="xsd:int" use="prohibited" />
</xsd:complexType>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="ChildFolder_Id" msdata:AutoIncrement="true" type="xsd:int" msdata:AllowDBNull="false" use="prohibited" />
<xsd:attribute name="Price" type="xsd:string" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
<xsd:unique name="Constraint1" msdata:PrimaryKey="true">
<xsd:selector xpath=".//ChildFolder" />
<xsd:field xpath="@ChildFolder_Id" />
</xsd:unique>
<xsd:keyref name="ChildFolder_SubFolderOfChildFolder" refer="Constraint1" msdata:IsNested="true">
<xsd:selector xpath=".//SubFolderOfChildFolder" />
<xsd:field xpath="@ChildFolder_Id" />
</xsd:keyref>
</xsd:element>
</xsd:schema>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -