]>
Dogcows Code - chaz/openbox/blob - data/menu.xsd
1 <?xml version=
"1.0" encoding=
"UTF-8"?>
3 <!-- XML Schema for the Openbox windowm anager menu file -->
5 <xs:schema xmlns:
xs=
"http://www.w3.org/2001/XMLSchema"
6 targetNamespace=
"http://openbox.org/4.0/menu"
7 xmlns:
ob=
"http://openbox.org/4.0/menu"
8 elementFormDefault=
"qualified">
12 <xs:element name=
"openbox_menu">
13 <xs:complexType mixed=
"false">
14 <xs:sequence maxOccurs=
"unbounded" minOccurs=
"1">
15 <xs:element name=
"menu" type=
"ob:menu"/>
22 <xs:complexType name=
"menu">
23 <xs:choice maxOccurs=
"unbounded" minOccurs=
"0">
24 <xs:element maxOccurs=
"unbounded" minOccurs=
"0" name=
"menu" type=
"ob:menu"/>
25 <xs:element maxOccurs=
"unbounded" minOccurs=
"0" name=
"item" type=
"ob:item"/>
26 <xs:element maxOccurs=
"unbounded" minOccurs=
"0" name=
"separator" type=
"ob:empty"/>
28 <xs:attribute name=
"label" type=
"xs:string" use=
"optional"/>
29 <xs:attribute name=
"execute" type=
"xs:string" use=
"optional"/>
30 <xs:attribute name=
"id" type=
"xs:string" use=
"required"/>
32 <xs:complexType name=
"empty">
34 <xs:restriction base=
"xs:anyType"/>
37 <xs:complexType name=
"item">
39 <xs:element minOccurs=
"0" name=
"action">
42 <xs:element minOccurs=
"0" name=
"execute" type=
"xs:string"/>
44 <xs:attribute name=
"name" type=
"ob:actionname" use=
"required"/>
48 <xs:attribute name=
"label" type=
"xs:string" use=
"required"/>
51 simple types / restrictions
53 <xs:simpleType name=
"actionname">
54 <xs:restriction base=
"xs:string">
55 <xs:enumeration value=
"Execute"/>
56 <xs:enumeration value=
"Restart"/>
57 <xs:enumeration value=
"Reconfigure"/>
58 <xs:enumeration value=
"Exit"/>
This page took 0.043525 seconds and 4 git commands to generate.