glib/gio/menumarkup.dtd
Matthias Clasen 6b40d4eb6b Add GMenu markup
These functions serialize and deserialize a GMenuModel
to and from XML.
2011-12-08 18:05:12 -05:00

30 lines
970 B
DTD

<!ELEMENT menu (item|submenu|section)* >
<!ATTLIST menu id CDATA #REQUIRED
domain #IMPLIED >
<!ELEMENT item (attribute|link)* >
<!ATTLIST item label CDATA #IMPLIED
action CDATA #IMPLIED
target CDATA #IMPLIED >
<!ELEMENT attribute (#PCDATA) >
<!ATTLIST attribute name CDATA #REQUIRED
type CDATA #IMPLIED
translatable (yes|no) #IMPLIED
context CDATA #IMPLIED
comments CDATA #IMPLIED >
<!ELEMENT link (item*) >
<!ATTLIST link name CDATA #REQUIRED
id CDATA #IMPLIED >
<!ELEMENT submenu (item|submenu|section)* >
<!ATTLIST submenu label CDATA #IMPLIED
action CDATA #IMPLIED
target CDATA #IMPLIED >
<!ELEMENT section (item|submenu|section)* >
<!ATTLIST section label CDATA #IMPLIED
action CDATA #IMPLIED
target CDATA #IMPLIED >