-
Notifications
You must be signed in to change notification settings - Fork 0
/
page_mediawiki.dtd
38 lines (29 loc) · 998 Bytes
/
page_mediawiki.dtd
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
<?xml version="1.0" encoding="UTF-8"?>
<!ELEMENT page (revision+)> <!-- ((revision|upload)*) -->
<!ATTLIST page
title CDATA #REQUIRED
id ID #IMPLIED>
<!ELEMENT revision (contributor,comment?,text?, change-list?)>
<!ATTLIST revision
id ID #IMPLIED
timestamp CDATA #REQUIRED>
<!ELEMENT comment (#PCDATA)>
<!ELEMENT text (#PCDATA)> <!-- Wikisyntax -->
<!ATTLIST text xml:space CDATA #FIXED "preserve">
<!ELEMENT contributor EMPTY>
<!ATTLIST contributor
id CDATA #IMPLIED
name CDATA #IMPLIED
ip CDATA #IMPLIED>
<!ELEMENT change-list (insert | delete | change)* >
<!ELEMENT insert EMPTY >
<!ATTLIST insert line CDATA #REQUIRED txt CDATA #REQUIRED >
<!ELEMENT delete EMPTY >
<!ATTLIST delete line CDATA #REQUIRED txt CDATA #IMPLIED >
<!ELEMENT change (insert | delete)* >
<!--ELEMENT upload (contributor,comment?)>
<!ATTLIST upload
timestamp CDATA #REQUIRED
filename CDATA #REQUIRED
src CDATA #REQUIRED
size CDATA #REQUIRED-->