summaryrefslogtreecommitdiffstats
path: root/menu/menu.dtd
diff options
context:
space:
mode:
authorlanius <lanius>2003-11-09 13:10:06 +0000
committerlanius <lanius>2003-11-09 13:10:06 +0000
commit7d616706bba168427214848c6fbb77da5a30e04d (patch)
treee56264f6da815061392c911e6e589c2bea4fe9b5 /menu/menu.dtd
parent8601b0136a361b59c69cbd99fb8ce77a7e6f66ec (diff)
downloadxdg-specs-7d616706bba168427214848c6fbb77da5a30e04d.tar.xz
see changelog
Diffstat (limited to 'menu/menu.dtd')
-rw-r--r--menu/menu.dtd81
1 files changed, 81 insertions, 0 deletions
diff --git a/menu/menu.dtd b/menu/menu.dtd
new file mode 100644
index 0000000..893097e
--- /dev/null
+++ b/menu/menu.dtd
@@ -0,0 +1,81 @@
+<!-- For explanations see http://www.freedesktop.org/standards/menu/draft/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>