📄 contextmodel.xsd
字号:
<?xml version = "1.0" encoding = "gb2312" ?>
<xsd:schema xmlns="http://www.cs.sysu.edu.cn/~zxc/AlgorithmAnimation/XMLschema" targetNamespace="http://www.cs.sysu.edu.cn/~zxc/AlgorithmAnimation/ContextModels">
<xsd:element name = "algorithmgroup">
<xsd:complexType>
<xsd:attribute name = "name" type = "xsd:string"/>
<xsd:sequence>
<xsd:element name = "algorithm" minOccurs="1" maxOccurs="unbounded">
<xsd:complexType>
<xsd:attribute name = "name" type = "xsd:string"/>
<xsd:sequence>
<xsd:element name = "extends" type = "xsd:string"/>
<xsd:element name = "implementation">
<xsd:complexType>
<xsd:sequence>
<xsd:element name = "class" type = "xsd:string"/>
<xsd:element name = "method" type = "xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name = "events" minOccurs="0">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="event" maxOccurs="unbounded">
<xsd:complexType>
<xsd:attribute name = "name" type = "xsd:string"/>
<xsd:sequence>
<xsd:element name = "time" type = "xsd:string"/>
<xsd:element name = "refer" type = "xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name = "datastructures" minOccurs="0">
<xsd:complexType>
<xsd:sequence>
<xsd:element name = "data" maxOccurs="unbounded">
<xsd:complexType>
<xsd:attribute name = "name" type = "xsd:string"/>
<xsd:attribute name = "type" type = "xsd:string"/>
<xsd:sequence>
<xsd:element name="implementation" type="xsd:string"/>
<xsd:element name = "events" minOccurs="0">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="event" maxOccurs="unbounded">
<xsd:complexType>
<xsd:attribute name = "name" type = "xsd:string"/>
<xsd:sequence>
<xsd:element name = "time" type = "xsd:string"/>
<xsd:element name = "refer" type = "xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
<xsd:complexType>
</xsd:element>
<xsd:element name = "actions" minOccurs="0">
<xsd:complexType>
<xsd:sequence>
<xsd:element name = "action" maxOccurs="unbounded">
<xsd:complexType>
<xsd:attribute name = "name" type = "xsd:string"/>
<xsd:sequence>
<xsd:element name="implementation" type="xsd:string"/>
<xsd:element name = "arguments" minOccurs="0">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="argument" maxOccurs="unbounded">
<xsd:complexType>
<xsd:attribute name = "name" type = "xsd:string"/>
<xsd:attribute name = "type" type = "xsd:string"/>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name = "events" minOccurs="0">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="event" maxOccurs="unbounded">
<xsd:complexType>
<xsd:attribute name = "name" type = "xsd:string"/>
<xsd:sequence>
<xsd:element name = "time" type = "xsd:string"/>
<xsd:element name = "refer" type = "xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
<xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -