| 1 |
<?xml version="1.0" encoding="UTF-8" ?> |
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
<schema xmlns="http://www.w3.org/2001/XMLSchema" |
| 16 |
xmlns:mw="http://www.mediawiki.org/xml/export-0.2/" |
| 17 |
targetNamespace="http://www.mediawiki.org/xml/export-0.2/" |
| 18 |
elementFormDefault="qualified"> |
| 19 |
|
| 20 |
<annotation> |
| 21 |
<documentation xml:lang="en"> |
| 22 |
MediaWiki's page export format |
| 23 |
</documentation> |
| 24 |
</annotation> |
| 25 |
|
| 26 |
|
| 27 |
<import namespace="http://www.w3.org/XML/1998/namespace" |
| 28 |
schemaLocation="http://www.w3.org/2001/xml.xsd"/> |
| 29 |
|
| 30 |
|
| 31 |
<element name="mediawiki" type="mw:MediaWikiType"/> |
| 32 |
|
| 33 |
<complexType name="MediaWikiType"> |
| 34 |
<sequence> |
| 35 |
<element name="page" type="mw:PageType" |
| 36 |
minOccurs="0" maxOccurs="unbounded"/> |
| 37 |
</sequence> |
| 38 |
<attribute name="version" type="string" use="required"/> |
| 39 |
<attribute ref="xml:lang" use="required"/> |
| 40 |
</complexType> |
| 41 |
|
| 42 |
<complexType name="PageType"> |
| 43 |
<sequence> |
| 44 |
|
| 45 |
<element name="title" type="string"/> |
| 46 |
|
| 47 |
|
| 48 |
<element name="id" type="positiveInteger" minOccurs="0"/> |
| 49 |
|
| 50 |
|
| 51 |
<element name="restrictions" type="string" minOccurs="0"/> |
| 52 |
|
| 53 |
|
| 54 |
<choice minOccurs="0" maxOccurs="unbounded"> |
| 55 |
<element name="revision" type="mw:RevisionType" /> |
| 56 |
<element name="upload" type="mw:UploadType" /> |
| 57 |
</choice> |
| 58 |
</sequence> |
| 59 |
</complexType> |
| 60 |
|
| 61 |
<complexType name="RevisionType"> |
| 62 |
<sequence> |
| 63 |
<element name="id" type="positiveInteger" minOccurs="0"/> |
| 64 |
<element name="timestamp" type="dateTime"/> |
| 65 |
<element name="contributor" type="mw:ContributorType"/> |
| 66 |
<element name="minor" minOccurs="0" /> |
| 67 |
<element name="comment" type="string" minOccurs="0"/> |
| 68 |
<element name="text" type="string"/> |
| 69 |
</sequence> |
| 70 |
</complexType> |
| 71 |
|
| 72 |
<complexType name="ContributorType"> |
| 73 |
<sequence> |
| 74 |
<element name="username" type="string" minOccurs="0"/> |
| 75 |
<element name="id" type="positiveInteger" minOccurs="0" /> |
| 76 |
|
| 77 |
<element name="ip" type="string" minOccurs="0"/> |
| 78 |
</sequence> |
| 79 |
</complexType> |
| 80 |
|
| 81 |
<complexType name="UploadType"> |
| 82 |
<sequence> |
| 83 |
|
| 84 |
<element name="timestamp" type="dateTime"/> |
| 85 |
<element name="contributor" type="mw:ContributorType"/> |
| 86 |
<element name="comment" type="string" minOccurs="0"/> |
| 87 |
|
| 88 |
|
| 89 |
<element name="filename" type="string"/> |
| 90 |
|
| 91 |
|
| 92 |
<element name="src" type="anyURI"/> |
| 93 |
|
| 94 |
<element name="size" type="positiveInteger" /> |
| 95 |
|
| 96 |
|
| 97 |
</sequence> |
| 98 |
</complexType> |
| 99 |
|
| 100 |
</schema> |