summaryrefslogtreecommitdiffstats
path: root/menu/menu.dtd
blob: 436f61da2cbd015388d91d5a3c2976be1611b9de (plain)
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
74
75
76
77
78
79
80
81
<!-- For explanations see http://www.freedesktop.org/standards/menu-spec -->
<!ELEMENT Menu (
	Name, (
	  Directory
	| DefaultAppDirs
	| AppDir
	| DefaultDirectoryDirs
	| DirectoryDir
	| LegacyDir
	| KDELegacyDirs
	| MergeFile
	| DefaultMergeDirs
	| MergeDir
	| OnlyUnallocated
	| NotOnlyUnallocated
	| Deleted
	| NotDeleted
	| Include
	| Exclude
	| Move
	| Menu
	| Layout
	| DefaultLayout
	)*
)>

<!ELEMENT Name (#PCDATA)>

<!ELEMENT Directory (#PCDATA)>

<!ELEMENT DefaultAppDirs EMPTY>
<!ELEMENT AppDir         (#PCDATA)>

<!ELEMENT DefaultDirectoryDirs EMPTY>
<!ELEMENT DirectoryDir         (#PCDATA)>

<!ELEMENT LegacyDir     (#PCDATA)>
<!ATTLIST LegacyDir     prefix CDATA #IMPLIED>
<!ELEMENT KDELegacyDirs EMPTY>

<!ELEMENT MergeFile        (#PCDATA)>
<!ELEMENT DefaultMergeDirs EMPTY>
<!ELEMENT MergeDir         (#PCDATA)>

<!ELEMENT OnlyUnallocated    EMPTY>
<!ELEMENT NotOnlyUnallocated EMPTY>

<!ELEMENT Deleted    EMPTY>
<!ELEMENT NotDeleted EMPTY>

<!ELEMENT Exclude  ((Category|Filename|And|Or|Not)*)> 
<!ELEMENT Include  ((Category|Filename|And|Or|Not)*)>

<!ELEMENT And      ((Category|Filename|And|Or|Not)*)>
<!ELEMENT Or       ((Category|Filename|And|Or|Not)*)>
<!ELEMENT Not      ((Category|Filename|And|Or|Not)*)>
<!ELEMENT Filename (#PCDATA)>
<!ELEMENT Category (#PCDATA)>

<!ELEMENT Move ((Old,New)*)>
<!ELEMENT Old  (#PCDATA)>
<!ELEMENT New  (#PCDATA)>

<!ELEMENT Layout ((Filename|Menuname|Separator|Merge)*)>
<!ELEMENT DefaultLayout ((Filename|Menuname|Separator|Merge)*)>
<!ATTLIST DefaultLayout show_empty (true|false) #IMPLIED>
<!ATTLIST DefaultLayout inline (true|false) #IMPLIED>
<!ATTLIST DefaultLayout inline_limit CDATA #IMPLIED>
<!ATTLIST DefaultLayout inline_header (true|false) #IMPLIED>
<!ATTLIST DefaultLayout inline_alias (true|false) #IMPLIED>

<!ELEMENT Menuname (#PCDATA)>
<!ATTLIST Menuname inline (true|false) #IMPLIED>
<!ATTLIST Menuname inline_limit CDATA #IMPLIED>
<!ATTLIST Menuname inline_header (true|false) #IMPLIED>
<!ATTLIST Menuname inline_alias (true|false) #IMPLIED>

<!ELEMENT Separator EMPTY>

<!ELEMENT Merge EMPTY>
<!ATTLIST Merge type (menus|files|all) #REQUIRED>