home *** CD-ROM | disk | FTP | other *** search
/ Chip 2011 November / CHIP_2011_11.iso / Programy / Inne / Gry / Enigma / Enigma-1.01-w7.exe / data / schemas / preferences.xsd < prev    next >
Extensible Markup Language  |  2009-12-13  |  2KB  |  45 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema' version="2.0" xml:lang="en">
  3.   <xs:annotation>
  4.     <xs:documentation>
  5.       XML schema definitions for Enigma preferences ".enigma.xml"
  6.       Copyright ┬⌐ 2006 Ronald Lamprecht
  7.       GPL2
  8.     </xs:documentation>
  9.   </xs:annotation>
  10.   <xs:element name="preferences">
  11.     <xs:complexType>
  12.       <xs:sequence>
  13.         <xs:element name="properties" minOccurs="1" maxOccurs="1">
  14.           <xs:annotation>
  15.             <xs:documentation>
  16.               All simple hardware dependend key-value-properties:
  17.               MouseSpeed, VideoMode, MusicVolume, ...
  18.               Properties that describe the applications gaming state are
  19.               stored in state.xml
  20.             </xs:documentation>
  21.           </xs:annotation>
  22.           <xs:complexType>
  23.             <xs:sequence>
  24.               <xs:element name="property" minOccurs="0" maxOccurs="unbounded">
  25.                 <xs:complexType>
  26.                   <xs:attribute name="key" type="xs:string" use="required"/>
  27.                   <xs:attribute name="value" type="xs:string" use="required"/>
  28.                 </xs:complexType>
  29.               </xs:element> <!-- property -->
  30.             </xs:sequence>
  31.           </xs:complexType>
  32.         </xs:element> <!-- properties -->
  33.         
  34.         <xs:any namespace="##targetNamespace" minOccurs="0" maxOccurs="unbounded" processContents="skip">
  35.           <xs:annotation>
  36.             <xs:documentation>
  37.               Ignore any future incompatible extensions.
  38.             </xs:documentation>
  39.           </xs:annotation>
  40.         </xs:any>
  41.       </xs:sequence>
  42.     </xs:complexType>
  43.   </xs:element> <!-- preferences -->
  44. </xs:schema>
  45.