]> icculus.org git repositories - dana/openbox.git/blob - data/keys.xsd
Load and save the margins stuff from the cache config file
[dana/openbox.git] / data / keys.xsd
1 <?xml version="1.0" encoding="UTF-8"?> <!-- -*- nxml -*- -->
2
3 <!-- XML Schema for the Openbox window manager configuration file -->
4
5 <!DOCTYPE schema PUBLIC "-//W3C//DTD XMLSCHEMA 200102//EN"
6                                 "http://www.w3.org/2001/XMLSchema.dtd" [
7 <!ATTLIST schema xmlns:ob CDATA #IMPLIED>
8 <!ENTITY % p "xsd:">
9 <!ENTITY % s ":xsd">
10 ]>
11
12 <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
13     targetNamespace="http://openbox.org/4.0/rc"
14     xmlns:ob="http://openbox.org/4.0/rc"
15     elementFormDefault="qualified"
16     attributeFormDefault="unqualified">
17     <!--
18          root node
19       -->
20     <xsd:element name="keys">
21         <xsd:complexType>
22           <xsd:sequence>
23             <xsd:element maxOccurs="unbounded" name="keybind" type="ob:keybind"/>
24           </xsd:sequence>
25         </xsd:complexType>
26     </xsd:element>
27
28     <xsd:complexType name="keybind">
29         <xsd:choice>
30             <xsd:element maxOccurs="unbounded" name="action" type="xsd:string"/>
31             <xsd:element maxOccurs="unbounded" name="keybind" type="ob:keybind"/>
32         </xsd:choice>
33         <xsd:attribute name="chroot" type="ob:bool"/>
34         <xsd:attribute name="key" type="ob:keyname" use="required"/>
35     </xsd:complexType>
36 </xsd:schema>