cssstyles.xsd 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Licensed Materials - Property of IBM
  4. IBM Cognos Products: cpscrn
  5. (C) Copyright IBM Corp. 2005, 2011
  6. US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  7. -->
  8. <!-- edited with XMLSpy v2007 (http://www.altova.com) by Cognos User (Cognos Inc.) -->
  9. <!--
  10. Copyright (C) 2008 Cognos ULC, an IBM Company. All rights reserved.
  11. Cognos (R) is a trademark of Cognos ULC, (formerly Cognos Incorporated).
  12. -->
  13. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
  14. <xs:element name="css">
  15. <xs:complexType>
  16. <xs:sequence>
  17. <xs:element name="import" minOccurs="0" maxOccurs="unbounded"/>
  18. <xs:element name="type" type="type" minOccurs="0" maxOccurs="unbounded"/>
  19. <xs:choice minOccurs="0" maxOccurs="unbounded">
  20. <xs:element name="class" type="class"/>
  21. <xs:element name="comment" type="xs:string"/>
  22. </xs:choice>
  23. </xs:sequence>
  24. </xs:complexType>
  25. </xs:element>
  26. <xs:element name="import" type="xs:string"/>
  27. <xs:element name="cssskin">
  28. <xs:complexType>
  29. <xs:choice minOccurs="0" maxOccurs="unbounded">
  30. <xs:element name="class" type="class"/>
  31. <xs:element name="comment" type="xs:string"/>
  32. </xs:choice>
  33. </xs:complexType>
  34. </xs:element>
  35. <xs:complexType name="type">
  36. <xs:sequence maxOccurs="unbounded">
  37. <xs:element name="set" type="set"/>
  38. </xs:sequence>
  39. <xs:attribute name="name" type="xs:ID" use="required"/>
  40. </xs:complexType>
  41. <xs:complexType name="class">
  42. <xs:sequence>
  43. <xs:element name="set" type="set" minOccurs="0" maxOccurs="unbounded"/>
  44. <xs:element name="remove" minOccurs="0" maxOccurs="unbounded">
  45. <xs:complexType>
  46. <xs:attribute name="name" use="required"/>
  47. </xs:complexType>
  48. </xs:element>
  49. </xs:sequence>
  50. <xs:attribute name="name" type="xs:string" use="required"/>
  51. <xs:attribute name="uses" type="xs:IDREFS"/>
  52. <xs:attribute name="comment" type="xs:string"/>
  53. </xs:complexType>
  54. <xs:complexType name="set" mixed="true">
  55. <xs:choice minOccurs="0" maxOccurs="unbounded">
  56. <xs:element ref="color"/>
  57. <xs:element ref="value"/>
  58. <xs:element ref="image"/>
  59. </xs:choice>
  60. <xs:attribute name="name" use="required">
  61. <xs:simpleType>
  62. <xs:restriction base="attrType"/>
  63. </xs:simpleType>
  64. </xs:attribute>
  65. <xs:attribute name="comment" type="xs:string"/>
  66. </xs:complexType>
  67. <xs:element name="color">
  68. <xs:complexType>
  69. <xs:attribute name="name" type="xs:NMTOKEN" use="required"/>
  70. </xs:complexType>
  71. </xs:element>
  72. <xs:element name="image">
  73. <xs:complexType>
  74. <xs:attribute name="name" type="xs:NMTOKEN" use="required"/>
  75. </xs:complexType>
  76. </xs:element>
  77. <xs:element name="value">
  78. <xs:complexType>
  79. <xs:attribute name="name" type="xs:NMTOKEN" use="required"/>
  80. </xs:complexType>
  81. </xs:element>
  82. <xs:simpleType name="attrType">
  83. <xs:restriction base="xs:NMTOKEN">
  84. <xs:enumeration value="azimuth"/>
  85. <xs:enumeration value="background"/>
  86. <xs:enumeration value="background-attachment"/>
  87. <xs:enumeration value="background-color"/>
  88. <xs:enumeration value="background-image"/>
  89. <xs:enumeration value="background-position"/>
  90. <xs:enumeration value="background-repeat"/>
  91. <xs:enumeration value="border"/>
  92. <xs:enumeration value="border-bottom"/>
  93. <xs:enumeration value="border-bottom-color"/>
  94. <xs:enumeration value="border-bottom-style"/>
  95. <xs:enumeration value="border-bottom-width"/>
  96. <xs:enumeration value="border-collapse"/>
  97. <xs:enumeration value="border-color"/>
  98. <xs:enumeration value="border-left"/>
  99. <xs:enumeration value="border-left-color"/>
  100. <xs:enumeration value="border-left-style"/>
  101. <xs:enumeration value="border-left-width"/>
  102. <xs:enumeration value="border-right"/>
  103. <xs:enumeration value="border-right-color"/>
  104. <xs:enumeration value="border-right-style"/>
  105. <xs:enumeration value="border-right-width"/>
  106. <xs:enumeration value="border-spacing"/>
  107. <xs:enumeration value="border-style"/>
  108. <xs:enumeration value="border-top"/>
  109. <xs:enumeration value="border-top-color"/>
  110. <xs:enumeration value="border-top-style"/>
  111. <xs:enumeration value="border-top-width"/>
  112. <xs:enumeration value="border-width"/>
  113. <xs:enumeration value="bottom"/>
  114. <xs:enumeration value="caption-side"/>
  115. <xs:enumeration value="clear"/>
  116. <xs:enumeration value="clip"/>
  117. <xs:enumeration value="color"/>
  118. <xs:enumeration value="content"/>
  119. <xs:enumeration value="counter-increment"/>
  120. <xs:enumeration value="counter-reset"/>
  121. <xs:enumeration value="cue"/>
  122. <xs:enumeration value="cue-after"/>
  123. <xs:enumeration value="cue-before"/>
  124. <xs:enumeration value="cursor"/>
  125. <xs:enumeration value="direction"/>
  126. <xs:enumeration value="display"/>
  127. <xs:enumeration value="elevation"/>
  128. <xs:enumeration value="empty-cells"/>
  129. <xs:enumeration value="float"/>
  130. <xs:enumeration value="font"/>
  131. <xs:enumeration value="font-family"/>
  132. <xs:enumeration value="font-size"/>
  133. <xs:enumeration value="font-style"/>
  134. <xs:enumeration value="font-variant"/>
  135. <xs:enumeration value="font-weight"/>
  136. <xs:enumeration value="height"/>
  137. <xs:enumeration value="left"/>
  138. <xs:enumeration value="letter-spacing"/>
  139. <xs:enumeration value="line-height"/>
  140. <xs:enumeration value="list-style"/>
  141. <xs:enumeration value="list-style-image"/>
  142. <xs:enumeration value="list-style-position"/>
  143. <xs:enumeration value="list-style-type"/>
  144. <xs:enumeration value="margin"/>
  145. <xs:enumeration value="margin-bottom"/>
  146. <xs:enumeration value="margin-left"/>
  147. <xs:enumeration value="margin-right"/>
  148. <xs:enumeration value="margin-top"/>
  149. <xs:enumeration value="max-height"/>
  150. <xs:enumeration value="max-width"/>
  151. <xs:enumeration value="min-height"/>
  152. <xs:enumeration value="min-width"/>
  153. <xs:enumeration value="orphans"/>
  154. <xs:enumeration value="outline"/>
  155. <xs:enumeration value="outline-color"/>
  156. <xs:enumeration value="outline-style"/>
  157. <xs:enumeration value="outline-width"/>
  158. <xs:enumeration value="overflow"/>
  159. <xs:enumeration value="padding"/>
  160. <xs:enumeration value="padding-bottom"/>
  161. <xs:enumeration value="padding-left"/>
  162. <xs:enumeration value="padding-right"/>
  163. <xs:enumeration value="padding-top"/>
  164. <xs:enumeration value="page-break-after"/>
  165. <xs:enumeration value="page-break-before"/>
  166. <xs:enumeration value="page-break-inside"/>
  167. <xs:enumeration value="pause"/>
  168. <xs:enumeration value="pause-after"/>
  169. <xs:enumeration value="pause-before"/>
  170. <xs:enumeration value="pitch"/>
  171. <xs:enumeration value="pitch-range"/>
  172. <xs:enumeration value="play-during"/>
  173. <xs:enumeration value="position"/>
  174. <xs:enumeration value="quotes"/>
  175. <xs:enumeration value="richness"/>
  176. <xs:enumeration value="right"/>
  177. <xs:enumeration value="speak"/>
  178. <xs:enumeration value="speak-header"/>
  179. <xs:enumeration value="speak-numeral"/>
  180. <xs:enumeration value="speak-punctuation"/>
  181. <xs:enumeration value="speech-rate"/>
  182. <xs:enumeration value="stress"/>
  183. <xs:enumeration value="table-layout"/>
  184. <xs:enumeration value="text-align"/>
  185. <xs:enumeration value="text-decoration"/>
  186. <xs:enumeration value="text-indent"/>
  187. <xs:enumeration value="text-transform"/>
  188. <xs:enumeration value="top"/>
  189. <xs:enumeration value="unicode-bidi"/>
  190. <xs:enumeration value="vertical-align"/>
  191. <xs:enumeration value="visibility"/>
  192. <xs:enumeration value="voice-family"/>
  193. <xs:enumeration value="volume"/>
  194. <xs:enumeration value="white-space"/>
  195. <xs:enumeration value="widows"/>
  196. <xs:enumeration value="width"/>
  197. <xs:enumeration value="word-spacing"/>
  198. <xs:enumeration value="word-wrap"/>
  199. <xs:enumeration value="z-index"/>
  200. <xs:enumeration value="-moz-opacity">
  201. <xs:annotation>
  202. <xs:documentation>Extension Mozilla</xs:documentation>
  203. </xs:annotation>
  204. </xs:enumeration>
  205. <xs:enumeration value="filter">
  206. <xs:annotation>
  207. <xs:documentation>Extension Internet Explorer</xs:documentation>
  208. </xs:annotation>
  209. </xs:enumeration>
  210. <xs:enumeration value="opacity">
  211. <xs:annotation>
  212. <xs:documentation>Extension Internet Explorer</xs:documentation>
  213. </xs:annotation>
  214. </xs:enumeration>
  215. <xs:enumeration value="overflow-x">
  216. <xs:annotation>
  217. <xs:documentation>Extension Internet Explorer</xs:documentation>
  218. </xs:annotation>
  219. </xs:enumeration>
  220. <xs:enumeration value="overflow-y">
  221. <xs:annotation>
  222. <xs:documentation>Extension Internet Explorer</xs:documentation>
  223. </xs:annotation>
  224. </xs:enumeration>
  225. <xs:enumeration value="zoom">
  226. <xs:annotation>
  227. <xs:documentation>Extension Internet Explorer</xs:documentation>
  228. </xs:annotation>
  229. </xs:enumeration>
  230. </xs:restriction>
  231. </xs:simpleType>
  232. <xs:element name="skin">
  233. <xs:complexType>
  234. <xs:sequence>
  235. <xs:element name="palette" minOccurs="0">
  236. <xs:complexType>
  237. <xs:sequence>
  238. <xs:element name="color" maxOccurs="unbounded">
  239. <xs:complexType>
  240. <xs:simpleContent>
  241. <xs:extension base="xs:string">
  242. <xs:attribute name="name" type="xs:ID" use="required"/>
  243. </xs:extension>
  244. </xs:simpleContent>
  245. </xs:complexType>
  246. </xs:element>
  247. </xs:sequence>
  248. </xs:complexType>
  249. </xs:element>
  250. <xs:element name="colors">
  251. <xs:complexType>
  252. <xs:sequence>
  253. <xs:element name="color" maxOccurs="unbounded">
  254. <xs:complexType>
  255. <xs:simpleContent>
  256. <xs:extension base="xs:string">
  257. <xs:attribute name="name" type="xs:string" use="required">
  258. <xs:annotation>
  259. <xs:documentation>the name of this colour</xs:documentation>
  260. </xs:annotation>
  261. </xs:attribute>
  262. <xs:attribute name="paletteColor" type="xs:IDREF">
  263. <xs:annotation>
  264. <xs:documentation>refers to a palette id</xs:documentation>
  265. </xs:annotation>
  266. </xs:attribute>
  267. <xs:attribute name="baseColor" type="xs:string">
  268. <xs:annotation>
  269. <xs:documentation>refers to another colour name instead of a palette id, to allow hierarchical of colour names.</xs:documentation>
  270. </xs:annotation>
  271. </xs:attribute>
  272. <xs:attribute name="label" type="xs:string">
  273. <xs:annotation>
  274. <xs:documentation>Element title</xs:documentation>
  275. </xs:annotation>
  276. </xs:attribute>
  277. </xs:extension>
  278. </xs:simpleContent>
  279. </xs:complexType>
  280. </xs:element>
  281. </xs:sequence>
  282. </xs:complexType>
  283. </xs:element>
  284. <xs:element name="images" minOccurs="0">
  285. <xs:complexType>
  286. <xs:sequence>
  287. <xs:element name="image" maxOccurs="unbounded">
  288. <xs:complexType>
  289. <xs:simpleContent>
  290. <xs:extension base="xs:string">
  291. <xs:attribute name="name" type="xs:ID" use="required"/>
  292. <xs:attribute name="label" type="xs:string">
  293. <xs:annotation>
  294. <xs:documentation>Element title</xs:documentation>
  295. </xs:annotation>
  296. </xs:attribute>
  297. </xs:extension>
  298. </xs:simpleContent>
  299. </xs:complexType>
  300. </xs:element>
  301. </xs:sequence>
  302. </xs:complexType>
  303. </xs:element>
  304. <xs:element name="values">
  305. <xs:complexType>
  306. <xs:sequence>
  307. <xs:element name="value" minOccurs="0" maxOccurs="unbounded">
  308. <xs:complexType>
  309. <xs:simpleContent>
  310. <xs:extension base="xs:string">
  311. <xs:attribute name="name" type="xs:string" use="required">
  312. <xs:annotation>
  313. <xs:documentation>the name of this value</xs:documentation>
  314. </xs:annotation>
  315. </xs:attribute>
  316. <xs:attribute name="baseValue" type="xs:string">
  317. <xs:annotation>
  318. <xs:documentation>refers to another value name to allow hierarchical of size names.</xs:documentation>
  319. </xs:annotation>
  320. </xs:attribute>
  321. </xs:extension>
  322. </xs:simpleContent>
  323. </xs:complexType>
  324. </xs:element>
  325. </xs:sequence>
  326. </xs:complexType>
  327. </xs:element>
  328. <xs:element name="categories" minOccurs="0" maxOccurs="1">
  329. <xs:complexType>
  330. <xs:sequence>
  331. <xs:element name="category" maxOccurs="unbounded">
  332. <xs:complexType>
  333. <xs:sequence>
  334. <xs:element name="element" maxOccurs="unbounded">
  335. <xs:complexType>
  336. <xs:sequence>
  337. <xs:element name="value" maxOccurs="unbounded">
  338. <xs:complexType>
  339. <xs:attribute name="name" type="xs:string" use="required">
  340. <xs:annotation>
  341. <xs:documentation>The value name. These names are usually defined by the control that is editing/displaying the element.</xs:documentation>
  342. </xs:annotation>
  343. </xs:attribute>
  344. <xs:attribute name="reference" type="xs:string" use="required">
  345. <xs:annotation>
  346. <xs:documentation>The name of the referenced color, image or value.</xs:documentation>
  347. </xs:annotation>
  348. </xs:attribute>
  349. </xs:complexType>
  350. </xs:element>
  351. </xs:sequence>
  352. <xs:attribute name="title" type="xs:string" use="required">
  353. <xs:annotation>
  354. <xs:documentation>Category title</xs:documentation>
  355. </xs:annotation>
  356. </xs:attribute>
  357. <xs:attribute name="control" type="xs:string" use="required">
  358. <xs:annotation>
  359. <xs:documentation>UI control used to edit/display this element</xs:documentation>
  360. </xs:annotation>
  361. </xs:attribute>
  362. </xs:complexType>
  363. </xs:element>
  364. </xs:sequence>
  365. <xs:attribute name="title" type="xs:string" use="required">
  366. <xs:annotation>
  367. <xs:documentation>Category title</xs:documentation>
  368. </xs:annotation>
  369. </xs:attribute>
  370. </xs:complexType>
  371. </xs:element>
  372. </xs:sequence>
  373. </xs:complexType>
  374. </xs:element>
  375. </xs:sequence>
  376. <xs:attribute name="overrides" use="required"/>
  377. <xs:attribute name="name" type="xs:string" use="required"/>
  378. <xs:attribute name="version" type="xs:string" use="optional"/>
  379. </xs:complexType>
  380. </xs:element>
  381. </xs:schema>