-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnote.xsd
37 lines (37 loc) · 1.42 KB
/
note.xsd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:include schemaLocation="common-doc.xsd"/>
<xs:element name="资料档案">
<xs:complexType>
<xs:sequence>
<xs:element name="索引" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="注释" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="词汇" maxOccurs="unbounded"/>
<xs:element name="注解" maxOccurs="unbounded">
<xs:complexType mixed="true">
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element name="概述" type="段落Type" minOccurs="0"/>
<xs:sequence maxOccurs="unbounded">
<xs:element ref="标记" minOccurs="0"/>
<xs:element ref="引文" minOccurs="0"/>
<xs:element ref="段落" minOccurs="0"/>
</xs:sequence>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="id" type="xs:ID" use="optional"/>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="ID" type="xs:ID" use="required"/>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>