jerimiah797

http://xbmc.org/xbmc.xsd

Oct 6th, 2013
318
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.87 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  3. <xs:element name="window" type="windowType"/>
  4. <xs:complexType name="windowType">
  5. <xs:sequence>
  6. <xs:element type="xs:string" name="onload" maxOccurs="unbounded" minOccurs="0"/>
  7. <xs:element type="xs:string" name="onunload" maxOccurs="unbounded" minOccurs="0"/>
  8. <xs:element type="defaultcontrolType" name="defaultcontrol" maxOccurs="1" minOccurs="0"/>
  9. <xs:element type="xs:string" name="allowoverlay" maxOccurs="1" minOccurs="0"/>
  10. <xs:element type="xs:string" name="backgroundcolor" maxOccurs="1" minOccurs="0"/>
  11. <xs:element type="xs:string" name="views" maxOccurs="1" minOccurs="0"/>
  12. <xs:element type="xs:string" name="visible" maxOccurs="1" minOccurs="0"/>
  13. <xs:element type="animationType" name="animation" maxOccurs="unbounded" minOccurs="0"/>
  14. <xs:element type="xs:string" name="zorder" maxOccurs="1" minOccurs="0"/>
  15. <xs:element type="coordinatesType" name="coordinates" maxOccurs="1" minOccurs="0"/>
  16. <xs:element type="xs:string" name="previouswindow" maxOccurs="1" minOccurs="0"/>
  17. <xs:element type="controlsType" name="controls"/>
  18. </xs:sequence>
  19. <xs:attribute type="xs:string" name="type"/>
  20. </xs:complexType>
  21. <xs:complexType name="bordertextureType">
  22. <xs:simpleContent>
  23. <xs:extension base="xs:string">
  24. <xs:attribute type="xs:string" name="border" use="optional"/>
  25. </xs:extension>
  26. </xs:simpleContent>
  27. </xs:complexType>
  28. <xs:complexType name="defaultcontrolType">
  29. <xs:simpleContent>
  30. <xs:extension base="xs:string">
  31. <xs:attribute type="xs:string" name="always"/>
  32. </xs:extension>
  33. </xs:simpleContent>
  34. </xs:complexType>
  35. <xs:complexType name="animationType">
  36. <xs:simpleContent>
  37. <xs:extension base="xs:string">
  38. <xs:attribute type="xs:string" name="effect" use="optional"/>
  39. <xs:attribute type="xs:string" name="time" use="optional"/>
  40. <xs:attribute type="xs:string" name="end" use="optional"/>
  41. </xs:extension>
  42. </xs:simpleContent>
  43. </xs:complexType>
  44. <xs:complexType name="textureType">
  45. <xs:simpleContent>
  46. <xs:extension base="xs:string">
  47. <xs:attribute type="xs:string" name="border" use="optional"/>
  48. <xs:attribute type="xs:string" name="flipy" use="optional"/>
  49. <xs:attribute type="xs:string" name="flipx" use="optional"/>
  50. </xs:extension>
  51. </xs:simpleContent>
  52. </xs:complexType>
  53. <xs:complexType name="controlsType">
  54. <xs:sequence>
  55. <xs:element type="controlType" name="control"/>
  56. </xs:sequence>
  57. </xs:complexType>
  58. <xs:complexType name="controlType" mixed="true">
  59. <xs:choice maxOccurs="unbounded" minOccurs="0">
  60. <xs:element type="xs:string" name="description"/>
  61. <xs:element type="xs:string" name="type"/>
  62. <xs:element type="xs:string" name="id"/>
  63. <xs:element type="xs:string" name="posx"/>
  64. <xs:element type="xs:string" name="posy"/>
  65. <xs:element type="xs:string" name="width"/>
  66. <xs:element type="xs:string" name="height"/>
  67. <xs:element type="xs:string" name="visible"/>
  68. <xs:element type="xs:string" name="animation"/>
  69. <xs:element type="xs:string" name="camera"/>
  70. <xs:element type="xs:string" name="colordiffuse"/>
  71. <xs:element type="xs:string" name="onup"/>
  72. <xs:element type="xs:string" name="ondown"/>
  73. <xs:element type="xs:string" name="onleft"/>
  74. <xs:element type="xs:string" name="onright"/>
  75. <xs:element type="xs:string" name="hitrect"/>
  76. <xs:element type="xs:string" name="pulseonselect"/>
  77. <xs:element type="xs:string" name="defaultcontrol"/>
  78. <xs:element type="controlType" name="control"/>
  79. <xs:element type="xs:string" name="itemgap"/>
  80. <xs:element type="xs:string" name="orientation"/>
  81. <xs:element type="xs:string" name="pagecontrol"/>
  82. <xs:element type="xs:string" name="scrolltime"/>
  83. <xs:element type="xs:string" name="usecontrolcoords"/>
  84. <xs:element type="xs:string" name="align"/>
  85. <xs:element type="xs:string" name="aligny"/>
  86. <xs:element type="xs:string" name="scroll"/>
  87. <xs:element type="xs:string" name="label"/>
  88. <xs:element type="xs:string" name="info"/>
  89. <xs:element type="xs:string" name="number"/>
  90. <xs:element type="xs:string" name="angle"/>
  91. <xs:element type="xs:string" name="haspath"/>
  92. <xs:element type="xs:string" name="font"/>
  93. <xs:element type="xs:string" name="textcolor"/>
  94. <xs:element type="xs:string" name="shadowcolor"/>
  95. <xs:element type="xs:string" name="wrapmultiline"/>
  96. <xs:element type="xs:string" name="scrollspeed"/>
  97. <xs:element type="xs:string" name="scrollsuffix"/>
  98. <xs:element type="xs:string" name="textoffsetx"/>
  99. <xs:element type="xs:string" name="scrollout"/>
  100. <xs:element type="xs:string" name="pauseatend"/>
  101. <xs:element type="xs:string" name="resetonlabelchange"/>
  102. <xs:element name="aspectratio">
  103. <xs:simpleType>
  104. <xs:restriction base="xs:string">
  105. <xs:enumeration value="keep"/>
  106. <xs:enumeration value="scale"/>
  107. </xs:restriction>
  108. </xs:simpleType>
  109. </xs:element>
  110. <xs:element type="textureType" name="texture"/>
  111. <xs:element type="bordertextureType" name="bordertexture"/>
  112. <xs:element type="xs:string" name="bordersize"/>
  113. <xs:element type="xs:string" name="fadetime"/>
  114. <xs:element type="xs:string" name="imagepath"/>
  115. <xs:element type="xs:string" name="timeperimage"/>
  116. <xs:element type="xs:string" name="loop"/>
  117. <xs:element type="xs:string" name="texturefocus"/>
  118. <xs:element type="xs:string" name="texturenofocus"/>
  119. <xs:element type="xs:string" name="focusedcolor"/>
  120. <xs:element type="xs:string" name="disabledcolor"/>
  121. <xs:element type="xs:string" name="textoffsety"/>
  122. <xs:element type="xs:string" name="textwidth"/>
  123. <xs:element type="xs:string" name="onclick"/>
  124. <xs:element type="xs:string" name="onfocus"/>
  125. <xs:element type="xs:string" name="onunfocus"/>
  126. <xs:element type="xs:string" name="textureradioon"/>
  127. <xs:element type="xs:string" name="textureradiooff"/>
  128. <xs:element type="xs:string" name="selected"/>
  129. <xs:element type="xs:string" name="radioposx"/>
  130. <xs:element type="xs:string" name="radioposy"/>
  131. <xs:element type="xs:string" name="radiowidth"/>
  132. <xs:element type="xs:string" name="radioheight"/>
  133. <xs:element type="xs:string" name="texturebg"/>
  134. <xs:element type="xs:string" name="textureleft"/>
  135. <xs:element type="xs:string" name="textureleftfocus"/>
  136. <xs:element type="xs:string" name="textureright"/>
  137. <xs:element type="xs:string" name="texturerightfocus"/>
  138. <xs:element type="xs:string" name="alttexturefocus"/>
  139. <xs:element type="xs:string" name="alttexturenofocus"/>
  140. <xs:element type="xs:string" name="usealttexture"/>
  141. <xs:element type="xs:string" name="textureup"/>
  142. <xs:element type="xs:string" name="textureupfocus"/>
  143. <xs:element type="xs:string" name="texturedown"/>
  144. <xs:element type="xs:string" name="texturedownfocus"/>
  145. <xs:element type="xs:string" name="subtype"/>
  146. <xs:element type="xs:string" name="texturesliderbar"/>
  147. <xs:element type="xs:string" name="textureslidernib"/>
  148. <xs:element type="xs:string" name="textureslidernibfocus"/>
  149. <xs:element type="xs:string" name="controloffsetx"/>
  150. <xs:element type="xs:string" name="controloffsety"/>
  151. <xs:element type="xs:string" name="action"/>
  152. <xs:element type="xs:string" name="texturesliderbackground"/>
  153. <xs:element type="xs:string" name="texturesliderbarfocus"/>
  154. <xs:element type="xs:string" name="texturesliderbarnib"/>
  155. <xs:element type="xs:string" name="texturesliderbarnibfocus"/>
  156. <xs:element type="xs:string" name="showonepage"/>
  157. <xs:element type="xs:string" name="sliderwidth"/>
  158. <xs:element type="xs:string" name="sliderheight"/>
  159. <xs:element type="xs:string" name="reveal"/>
  160. <xs:element type="xs:string" name="lefttexture"/>
  161. <xs:element type="xs:string" name="righttexture"/>
  162. <xs:element type="xs:string" name="overlaytexture"/>
  163. <xs:element type="xs:string" name="viewtype"/>
  164. <xs:element type="xs:string" name="itemlayout"/>
  165. <xs:element type="xs:string" name="focusedlayout"/>
  166. <xs:element type="xs:string" name="content"/>
  167. <xs:element type="xs:string" name="preloaditems"/>
  168. <xs:element type="xs:string" name="focusposition"/>
  169. <xs:element type="xs:string" name="autoscroll"/>
  170. <xs:element type="xs:string" name="highlightcolor"/>
  171. <xs:element type="xs:string" name="titlecolor"/>
  172. <xs:element type="xs:string" name="hinttext"/>
  173. </xs:choice>
  174. <xs:attribute type="controlchoiceType" name="type" use="required"/>
  175. <xs:attribute type="xs:string" name="id" use="required"/>
  176. </xs:complexType>
  177. <xs:complexType name="coordinatesType">
  178. <xs:sequence>
  179. <xs:element type="xs:string" name="posx"/>
  180. <xs:element type="xs:string" name="posy"/>
  181. <xs:element type="originType" name="origin"/>
  182. </xs:sequence>
  183. </xs:complexType>
  184. <xs:complexType name="originType">
  185. <xs:simpleContent>
  186. <xs:extension base="xs:string">
  187. <xs:attribute type="xs:string" name="x"/>
  188. <xs:attribute type="xs:string" name="y"/>
  189. </xs:extension>
  190. </xs:simpleContent>
  191. </xs:complexType>
  192. <xs:complexType name="controlchoiceType">
  193. <xs:simpleContent>
  194. <xs:extension base="xs:string">
  195. <xs:attribute type="xs:string" name="image"/>
  196. <xs:attribute type="xs:string" name="label"/>
  197. </xs:extension>
  198. </xs:simpleContent>
  199. </xs:complexType>
  200.  
  201.  
  202. </xs:schema>
Add Comment
Please, Sign In to add comment