DTD for menu files
Keith Dart
kdart at kdart.com
Fri May 27 04:11:49 CEST 2005
Attached is a DTD describing the xfce menu files (xfdesktop-menu DOCTYPE).
I am not sure if the content model is accurate, but it seems to. If not,
let me know.
--
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Keith Dart <kdart at kdart.com>
public key: ID: F3D288E4
=====================================================================
-------------- next part --------------
<!-- xfdesktop-menu.dtd defines xfce4 desktop menu files. -->
<!ENTITY % Boolean "(true|false)">
<!ELEMENT xfdesktop-menu (app|separator|menu|title|include)*>
<!ELEMENT menu (app|separator|menu|title|include)*>
<!-- name="Name in menu" icon="iconfile" visible="true" -->
<!ATTLIST menu
name CDATA #REQUIRED
icon CDATA #IMPLIED
visible %Boolean; "true"
>
<!ELEMENT app EMPTY>
<!-- name="Name" cmd="Command to run" term="false" icon="iconfile" snotify="false" visible="true" -->
<!ATTLIST app
name CDATA #REQUIRED
cmd CDATA #REQUIRED
icon CDATA #IMPLIED
term %Boolean; "false"
snotify %Boolean; "false"
visible %Boolean; "true"
>
<!ELEMENT separator EMPTY>
<!-- visible="true" -->
<!ATTLIST separator
visible %Boolean; "true"
>
<!ELEMENT include EMPTY>
<!-- type="file" src="menu2.xml" visible="true" -->
<!-- type="system" style="simple" unique="true" -->
<!ATTLIST include
type (file|system) "file"
src CDATA #IMPLIED
style CDATA #IMPLIED
unique %Boolean; "true"
visible %Boolean; "true"
>
<!ELEMENT title EMPTY>
<!-- title name="Name in menu" icon="iconfile" visible="true" -->
<!ATTLIST title
name CDATA #REQUIRED
icon CDATA #IMPLIED
visible %Boolean; "true"
>
More information about the Xfce
mailing list