~azzar1/unity/add-show-desktop-key

368 by stevenbird
First version of a DTD for XML problem files
1
<!ELEMENT problem (desc, include?, solution, case)>
2
<!ELEMENT desc (#PCDATA)>
3
<!ELEMENT include (#PCDATA)>
4
<!ELEMENT solution (#PCDATA)>
5
<!ELEMENT case (stdin?, file*, var*)>
6
<!ATTLIST case
7
	name CDATA #REQUIRED
8
>
9
<!ELEMENT stdin (#PCDATA)>
10
<!ELEMENT stdout (#PCDATA)>
11
<!ELEMENT file (#PCDATA)>
12
<!ATTLIST file
13
	name CDATA #REQUIRED
14
	type (check|norm) #IMPLIED
15
>
16
<!ELEMENT var EMPTY>
17
<!ATTLIST var
18
	name CDATA #REQUIRED
19
	value CDATA #REQUIRED
20
>
21
<!ELEMENT function (stdout?, file*)>
22
<!ATTLIST function
23
	desc CDATA #REQUIRED
24
	default (ignore|match) #REQUIRED
25
>