]>
Dogcows Code - chaz/openbox/blob - data/menu.xsd
1 <?xml version=
"1.0" encoding=
"UTF-8"?>
3 xml Schema for the openbox windowmanager menu file
6 Don Aug 14 21:10:27 CEST 2003 - pch(a)myzel.net
8 Mon Sep 8 12:33:57 CEST 2003 - pch(a)myzel.net
10 Die Sep 16 21:22:59 CEST 2003 - pch(a)myzel.net
12 Fri Sep 19 14:36:33 EDT 2003 - xor(a)orodu.net
13 use openbox.org for namespace
14 Mon Sep 22 02:42:10 EDT 2003 - xor(a)orodu.net
15 fix some capitalization
17 <xs:schema xmlns:
xs=
"http://www.w3.org/2001/XMLSchema"
18 targetNamespace=
"http://openbox.org/"
19 xmlns:
ob=
"http://openbox.org/"
20 elementFormDefault=
"qualified">
24 <xs:element name=
"openbox_menu">
25 <xs:complexType mixed=
"false">
26 <xs:sequence maxOccurs=
"unbounded" minOccurs=
"1">
27 <xs:element name=
"menu" type=
"ob:menu"/>
34 <xs:complexType name=
"menu">
35 <xs:choice maxOccurs=
"unbounded" minOccurs=
"0">
36 <xs:element maxOccurs=
"unbounded" minOccurs=
"0" name=
"menu" type=
"ob:menu"/>
37 <xs:element maxOccurs=
"unbounded" minOccurs=
"0" name=
"item" type=
"ob:item"/>
38 <xs:element maxOccurs=
"unbounded" minOccurs=
"0" name=
"separator" type=
"ob:empty"/>
40 <xs:attribute name=
"label" type=
"xs:string" use=
"optional"/>
41 <xs:attribute name=
"execute" type=
"xs:string" use=
"optional"/>
42 <xs:attribute name=
"id" type=
"xs:string" use=
"required"/>
44 <xs:complexType name=
"empty">
46 <xs:restriction base=
"xs:anyType"/>
49 <xs:complexType name=
"item">
51 <xs:element minOccurs=
"0" name=
"action">
54 <xs:element minOccurs=
"0" name=
"execute" type=
"xs:string"/>
56 <xs:attribute name=
"name" type=
"ob:actionname" use=
"required"/>
60 <xs:attribute name=
"label" type=
"xs:string" use=
"required"/>
63 simple types / restrictions
65 <xs:simpleType name=
"actionname">
66 <xs:restriction base=
"xs:string">
67 <xs:enumeration value=
"Execute"/>
68 <xs:enumeration value=
"Restart"/>
69 <xs:enumeration value=
"Reconfigure"/>
70 <xs:enumeration value=
"Exit"/>
This page took 0.03885 seconds and 4 git commands to generate.