File: granule.dtd

package info (click to toggle)
granule 1.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: lenny, squeeze
  • size: 3,092 kB
  • ctags: 1,772
  • sloc: cpp: 14,998; sh: 8,692; makefile: 321
file content (73 lines) | stat: -rw-r--r-- 2,340 bytes parent folder | download
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<?xml version="1.0" encoding="UTF-8"?>

<!ELEMENT deck ((author, description, sound_path, pics_path*, appearance*), (card)*)>
<!ELEMENT author (#PCDATA)>
<!ELEMENT description (#PCDATA)>

<!ELEMENT sound_path (#PCDATA)>
<!ATTLIST sound_path
    relative (yes|no) #IMPLIED>

<!ELEMENT pics_path EMPTY>
<!ATTLIST pics_path
    relative (yes|no) #IMPLIED>

<!ELEMENT appearance (fonts, colors, front_app, back_app, example_app)*>
<!ATTLIST appearance
    enabled (yes|no) #REQUIRED>

<!ELEMENT colors EMPTY>
<!ATTLIST colors
    text_fgcolor CDATA                    #REQUIRED
    text_bgcolor CDATA                    #REQUIRED
    sep_color    CDATA                    #REQUIRED
    frame_color  CDATA                    #REQUIRED>

<!ELEMENT fonts EMPTY>
<!ATTLIST fonts
    question_font CDATA                    #REQUIRED
    answer_font   CDATA                    #REQUIRED
    example_font  CDATA                    #REQUIRED
    input_font    CDATA                    #IMPLIED
    app_font      CDATA                    #IMPLIED>

<!ELEMENT front_app EMPTY>
<!ATTLIST front_app
    x_alignment   (center|left|right)      #REQUIRED
    y_alignment   (center|top|bottom)      #REQUIRED
    x_padding     CDATA                    #REQUIRED
    y_padding     CDATA                    #REQUIRED
    justification (center|left|right|fill) #REQUIRED>

<!ELEMENT back_app EMPTY>
<!ATTLIST back_app
    x_alignment   (center|left|right)      #REQUIRED
    y_alignment   (center|top|bottom)      #REQUIRED
    x_padding     CDATA                    #REQUIRED
    y_padding     CDATA                    #REQUIRED
    justification (center|left|right|fill) #REQUIRED>

<!ELEMENT example_app EMPTY>
<!ATTLIST example_app
    x_alignment   (center|left|right)      #REQUIRED
    y_alignment   (center|top|bottom)      #REQUIRED
    x_padding     CDATA                    #REQUIRED
    y_padding     CDATA                    #REQUIRED
    justification (center|left|right|fill) #REQUIRED>

<!ELEMENT card (front, back, back_example)>
<!ATTLIST card 
    id CDATA #REQUIRED>

<!ELEMENT front (#PCDATA)>
<!ATTLIST front
    alt_spelling CDATA #IMPLIED
    image        CDATA #IMPLIED>

<!ELEMENT back  (#PCDATA)>
<!ATTLIST back
    alt_spelling CDATA #IMPLIED>

<!ELEMENT back_example (#PCDATA)>
<!ATTLIST back_example
    image        CDATA #IMPLIED>