26 lines
898 B
XML
26 lines
898 B
XML
<?xml version="1.0"?>
|
|
|
|
<!--
|
|
* xml/importexport.xsd
|
|
*
|
|
* Copyright (c) 2014-2021 Simon Fraser University
|
|
* Copyright (c) 2003-2021 John Willinsky
|
|
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
|
|
*
|
|
* Schema describing common XML import/export elements shared across PKP applications
|
|
-->
|
|
|
|
<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://pkp.sfu.ca" xmlns:pkp="http://pkp.sfu.ca" elementFormDefault="qualified">
|
|
<!-- Identifies a particular I18N locale, e.g. en -->
|
|
<simpleType name="locale">
|
|
<restriction base="string">
|
|
<pattern value="([a-z]{2,3})((_[A-Z]{2})?)(@[a-z]{0,})?" />
|
|
</restriction>
|
|
</simpleType>
|
|
|
|
<!-- A text node with an attribute describing its locale, e.g. title -->
|
|
<complexType name="localizedNode" mixed="true">
|
|
<attribute name="locale" type="pkp:locale" use="optional" />
|
|
</complexType>
|
|
</schema>
|