File: cardfile.dtd

package info (click to toggle)
granule 1.4.0-7-9
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 5,236 kB
  • ctags: 2,144
  • sloc: cpp: 16,030; makefile: 353
file content (37 lines) | stat: -rw-r--r-- 853 bytes parent folder | download | duplicates (4)
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
<?xml version="1.0" encoding="UTF-8"?>

<!ELEMENT cardfile (schedule*, carddeck+)>

<!ELEMENT schedule EMPTY>
<!ATTLIST schedule
    efactor    CDATA #REQUIRED
    capacity   CDATA #REQUIRED
    interval_1 CDATA #REQUIRED
    interval_2 CDATA #REQUIRED>

<!ELEMENT carddeck (card*)>
<!ATTLIST carddeck
    side (front|back) #IMPLIED>

<!ELEMENT card (fromdeck, expdate, 
				efactor*, interval*, repetition*, 
				statistics*)>
<!ATTLIST card 
    id NMTOKEN #REQUIRED 
    reverse (1) #IMPLIED>

<!ELEMENT fromdeck   (#PCDATA)>
<!ELEMENT expdate    (#PCDATA)>
<!ELEMENT efactor    (#PCDATA)>
<!ELEMENT interval   (#PCDATA)>
<!ELEMENT repetition (#PCDATA)>

<!ELEMENT statistics EMPTY>
<!ATTLIST statistics
    qs0 CDATA #REQUIRED
    qs1 CDATA #REQUIRED
    qs2 CDATA #REQUIRED
    qs3 CDATA #REQUIRED
    qs4 CDATA #REQUIRED
    qs5 CDATA #REQUIRED>