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