home *** CD-ROM | disk | FTP | other *** search
/ FCE Gold Plus / GOLD.iso / pc / configuration.xsd < prev    next >
Extensible Markup Language  |  2005-12-05  |  5KB  |  118 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- edited with XMLSPY v2004 rel. 3 U (http://www.xmlspy.com) by Jethro (XYZ) -->
  3. <xs:schema targetNamespace="urn:schemas-xtrabass-com:configuration" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:cfg="urn:schemas-xtrabass-com:configuration" elementFormDefault="qualified" attributeFormDefault="unqualified">
  4.     <xs:element name="Configuration">
  5.         <xs:annotation>
  6.             <xs:documentation>Root element</xs:documentation>
  7.         </xs:annotation>
  8.         <xs:complexType>
  9.             <xs:sequence>
  10.                 <xs:element ref="cfg:License"/>
  11.                 <xs:element ref="cfg:RuntimeSettings"/>
  12.             </xs:sequence>
  13.             <xs:attribute name="PID" type="xs:NCName" use="required"/>
  14.         </xs:complexType>
  15.     </xs:element>
  16.     <xs:element name="License">
  17.         <xs:complexType>
  18.             <xs:sequence>
  19.                 <xs:element ref="cfg:Name"/>
  20.                 <xs:element ref="cfg:Organization"/>
  21.                 <xs:element ref="cfg:Type"/>
  22.                 <xs:element ref="cfg:Key"/>
  23.             </xs:sequence>
  24.         </xs:complexType>
  25.     </xs:element>
  26.     <xs:element name="RuntimeSettings">
  27.         <xs:complexType>
  28.             <xs:all>
  29.                 <xs:element name="EmbedParams" type="xs:string">
  30.                     <xs:annotation>
  31.                         <xs:documentation>This is the string of embed parameters that gets passed to the plugin. E.g. src="Grids.swf" loop=false menu=false quality=medium scale=exactfit salign=LT bgcolor=#FFFFFF WIDTH="800" HEIGHT="600" TYPE="application/x-shockwave-flash"</xs:documentation>
  32.                     </xs:annotation>
  33.                 </xs:element>
  34.                 <xs:element name="WindowStyle" type="xs:long" minOccurs="0"/>
  35.                 <xs:element name="WindowTitle" type="xs:string" minOccurs="0"/>
  36.                 <xs:element name="WindowPosition" minOccurs="0">
  37.                     <xs:annotation>
  38.                         <xs:documentation>The window position expressed as x,y. Note -1,-1 is centered.</xs:documentation>
  39.                     </xs:annotation>
  40.                     <xs:simpleType>
  41.                         <xs:restriction base="xs:string">
  42.                             <xs:pattern value="-?\d+,-?\d+"/>
  43.                         </xs:restriction>
  44.                     </xs:simpleType>
  45.                 </xs:element>
  46.                 <xs:element name="WindowSize" minOccurs="0">
  47.                     <xs:annotation>
  48.                         <xs:documentation>The window size expessed as w,h</xs:documentation>
  49.                     </xs:annotation>
  50.                     <xs:simpleType>
  51.                         <xs:restriction base="xs:string">
  52.                             <xs:pattern value="\d+,\d+"/>
  53.                         </xs:restriction>
  54.                     </xs:simpleType>
  55.                 </xs:element>
  56.                 <xs:element name="Fullscreen" type="xs:boolean" minOccurs="0">
  57.                     <xs:annotation>
  58.                         <xs:documentation>Makes the window fullscreen. This overrides WindowPosition and WindowStyle.</xs:documentation>
  59.                     </xs:annotation>
  60.                 </xs:element>
  61.                 <xs:element name="Shape" type="xs:string" minOccurs="0">
  62.                     <xs:annotation>
  63.                         <xs:documentation>This holds a filename of an image to use as a shape mask.</xs:documentation>
  64.                     </xs:annotation>
  65.                 </xs:element>
  66.                 <xs:element name="TransparencyKey" minOccurs="0">
  67.                     <xs:annotation>
  68.                         <xs:documentation>The colour to use as transparent in the Shape png. Expressed as rrggbb</xs:documentation>
  69.                     </xs:annotation>
  70.                     <xs:simpleType>
  71.                         <xs:restriction base="xs:string">
  72.                             <xs:pattern value="[a-fA-F0-9]{6}"/>
  73.                         </xs:restriction>
  74.                     </xs:simpleType>
  75.                 </xs:element>
  76.                 <xs:element name="MouseMode" minOccurs="0">
  77.                     <xs:annotation>
  78.                         <xs:documentation>normal|draggable|ignore</xs:documentation>
  79.                     </xs:annotation>
  80.                     <xs:simpleType>
  81.                         <xs:restriction base="xs:NCName">
  82.                             <xs:enumeration value="normal"/>
  83.                             <xs:enumeration value="draggable"/>
  84.                             <xs:enumeration value="ignore"/>
  85.                         </xs:restriction>
  86.                     </xs:simpleType>
  87.                 </xs:element>
  88.                 <xs:element name="KeyboardMode" minOccurs="0">
  89.                     <xs:annotation>
  90.                         <xs:documentation>normal|ignore</xs:documentation>
  91.                     </xs:annotation>
  92.                     <xs:simpleType>
  93.                         <xs:restriction base="xs:NCName">
  94.                             <xs:enumeration value="normal"/>
  95.                             <xs:enumeration value="ignore"/>
  96.                         </xs:restriction>
  97.                     </xs:simpleType>
  98.                 </xs:element>
  99.                 <xs:element name="EscExits" type="xs:boolean" minOccurs="0">
  100.                     <xs:annotation>
  101.                         <xs:documentation>If set to true, Esc key exits app.</xs:documentation>
  102.                     </xs:annotation>
  103.                 </xs:element>
  104.             </xs:all>
  105.         </xs:complexType>
  106.     </xs:element>
  107.     <xs:element name="Name" type="xs:string"/>
  108.     <xs:element name="Organization" type="xs:string"/>
  109.     <xs:element name="Type" type="xs:NCName"/>
  110.     <xs:element name="Key" type="xs:string"/>
  111.     <xs:element name="Property">
  112.         <xs:complexType>
  113.             <xs:attribute name="name" type="xs:NCName" use="required"/>
  114.             <xs:attribute name="value" type="xs:anySimpleType" use="required"/>
  115.         </xs:complexType>
  116.     </xs:element>
  117. </xs:schema>
  118.