first commit
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
<?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>
|
||||
Reference in New Issue
Block a user