forked from pkp/crossref-ojs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcrossref-test.xsd
57 lines (45 loc) · 1.47 KB
/
crossref-test.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<?xml version="1.0"?>
<!--
* plugins/importexport/crossref/crossref-test.xsd
*
* Copyright (c) 2014-2021 Simon Fraser University
* Copyright (c) 2003-2021 John Willinsky
* Distributed under The MIT License. For full terms see the file LICENSE.
*
* Schema describing crossref test XML export elements
-->
<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://pkp.sfu.ca" xmlns:pkp="http://pkp.sfu.ca" elementFormDefault="qualified">
<!-- Bring in the common PKP import/export content -->
<include schemaLocation="../../../lib/pkp/xml/importexport.xsd" />
<element name="article" substitutionGroup="pkp:submission" />
<element name="articles" substitutionGroup="pkp:submissions" />
<complexType name="submission">
<sequence>
<!-- Metadata -->
<element ref="pkp:title" minOccurs="1" maxOccurs="unbounded" />
</sequence>
</complexType>
<!-- ************
- * Elements *
- ************ -->
<!--
- Metadata element types
-->
<element name="title" type="pkp:localizedNode" />
<!--
- Composite / root elements
-->
<!-- Permit "submissions" as a root element -->
<element name="submissions" abstract="true">
<complexType>
<sequence>
<element ref="pkp:submission" minOccurs="0" maxOccurs="unbounded" />
</sequence>
</complexType>
</element>
<!--
- Submission-related elements
-->
<!-- Permit "submission" as a root element -->
<element name="submission" type="pkp:submission" abstract="true" />
</schema>