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

« back to all changes in this revision

Viewing changes to test/test_framework/problem.dtd

  • Committer: mattgiuca
  • Date: 2008-02-05 23:29:48 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:426
tutorial: Again refactored present_worksheet so it now recurses on all nodes.
Had to manually write out element nodes in order to recurse on their children.
Now able to present problem elements from anywhere in the DOM tree.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
>