ureport2.xsd 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.example.org/ureport2" xmlns:tns="http://www.example.org/ureport2" elementFormDefault="qualified">
  3. <element name="ureport">
  4. <complexType>
  5. <sequence>
  6. <element name="cell" type="tns:cell" minOccurs="1" maxOccurs="unbounded"></element>
  7. <element name="row" type="tns:row" minOccurs="1" maxOccurs="unbounded"></element>
  8. <element name="column" type="tns:column" minOccurs="1" maxOccurs="unbounded"></element>
  9. <element name="header" type="tns:header-footer" minOccurs="0" maxOccurs="1"></element>
  10. <element name="footer" type="tns:header-footer" minOccurs="0" maxOccurs="1"></element>
  11. <element name="paper" type="tns:paper" minOccurs="1" maxOccurs="1"></element>
  12. <element name="datasource" type="tns:datasource" minOccurs="0" maxOccurs="unbounded"></element>
  13. <element name="search-form" type="tns:search-form" minOccurs="0" maxOccurs="1"></element>
  14. </sequence>
  15. </complexType>
  16. </element>
  17. <complexType name="search-form">
  18. <sequence>
  19. <element name="input-text" type="tns:input-text" maxOccurs="unbounded" minOccurs="0"></element>
  20. <element name="input-radio" type="tns:input-radio" maxOccurs="unbounded" minOccurs="0"></element>
  21. <element name="input-checkbox" type="tns:input-checkbox" maxOccurs="unbounded" minOccurs="0"></element>
  22. <element name="input-select" type="tns:input-select" maxOccurs="unbounded" minOccurs="0"></element>
  23. <element name="button-submit" type="tns:button-submit" maxOccurs="1" minOccurs="1"></element>
  24. <element name="button-reset" type="tns:button-reset" maxOccurs="1" minOccurs="0"></element>
  25. <element name="grid" type="tns:grid" maxOccurs="unbounded" minOccurs="0"></element>
  26. <element name="col" type="tns:col" maxOccurs="unbounded" minOccurs="0"></element>
  27. </sequence>
  28. <attribute name="top-toolbar" type="boolean"></attribute>
  29. </complexType>
  30. <complexType name="col">
  31. <sequence>
  32. <element name="input-text" type="tns:input-text" maxOccurs="unbounded" minOccurs="0"></element>
  33. <element name="input-radio" type="tns:input-radio" maxOccurs="unbounded" minOccurs="0"></element>
  34. <element name="input-checkbox" type="tns:input-checkbox" maxOccurs="unbounded" minOccurs="0"></element>
  35. <element name="input-select" type="tns:input-select" maxOccurs="unbounded" minOccurs="0"></element>
  36. <element name="button-submit" type="tns:button-submit" maxOccurs="1" minOccurs="1"></element>
  37. <element name="button-reset" type="tns:button-reset" maxOccurs="1" minOccurs="0"></element>
  38. <element name="grid" type="tns:grid" maxOccurs="unbounded" minOccurs="0"></element>
  39. <element name="col" type="tns:col" maxOccurs="unbounded" minOccurs="0"></element>
  40. </sequence>
  41. <attribute name="size" type="int" use="required"></attribute>
  42. </complexType>
  43. <complexType name="grid">
  44. <sequence>
  45. <element name="input-text" type="tns:input-text" maxOccurs="unbounded" minOccurs="0"></element>
  46. <element name="input-radio" type="tns:input-radio" maxOccurs="unbounded" minOccurs="0"></element>
  47. <element name="input-checkbox" type="tns:input-checkbox" maxOccurs="unbounded" minOccurs="0"></element>
  48. <element name="input-select" type="tns:input-select" maxOccurs="unbounded" minOccurs="0"></element>
  49. <element name="button-submit" type="tns:button-submit" maxOccurs="1" minOccurs="1"></element>
  50. <element name="button-reset" type="tns:button-reset" maxOccurs="1" minOccurs="0"></element>
  51. <element name="grid" type="tns:grid" maxOccurs="unbounded" minOccurs="0"></element>
  52. <element name="col" type="tns:col" maxOccurs="unbounded" minOccurs="0"></element>
  53. </sequence>
  54. <attribute name="show-border" type="boolean"></attribute>
  55. <attribute name="border-width" type="int"></attribute>
  56. <attribute name="border-color" type="string"></attribute>
  57. </complexType>
  58. <complexType name="button-submit">
  59. <attribute name="label" type="string" use="required"></attribute>
  60. <attribute name="style" type="string"></attribute>
  61. </complexType>
  62. <complexType name="button-reset">
  63. <attribute name="label" type="string" use="required"></attribute>
  64. <attribute name="style" type="string" use="required"></attribute>
  65. </complexType>
  66. <complexType name="input" abstract="true">
  67. <attribute name="label" type="string" use="required"></attribute>
  68. <attribute name="label-position" use="required">
  69. <simpleType>
  70. <restriction base="string">
  71. <enumeration value="left"></enumeration>
  72. <enumeration value="top"></enumeration>
  73. </restriction>
  74. </simpleType>
  75. </attribute>
  76. <attribute name="bind-parameter" type="string" use="required"></attribute>
  77. </complexType>
  78. <complexType name="input-text">
  79. <complexContent>
  80. <extension base="tns:input"></extension>
  81. </complexContent>
  82. </complexType>
  83. <complexType name="input-datetime">
  84. <complexContent>
  85. <extension base="tns:input">
  86. <attribute name="format" type="string" use="required"></attribute>
  87. </extension>
  88. </complexContent>
  89. </complexType>
  90. <complexType name="input-radio">
  91. <complexContent>
  92. <extension base="tns:input">
  93. <sequence>
  94. <element name="option" type="tns:input-option" maxOccurs="unbounded" minOccurs="1"></element>
  95. </sequence>
  96. <attribute name="options-inline" type="boolean"></attribute>
  97. </extension>
  98. </complexContent>
  99. </complexType>
  100. <complexType name="input-checkbox">
  101. <complexContent>
  102. <extension base="tns:input">
  103. <sequence>
  104. <element name="option" type="tns:input-option" maxOccurs="unbounded" minOccurs="1"></element>
  105. </sequence>
  106. <attribute name="options-inline" type="boolean"></attribute>
  107. </extension>
  108. </complexContent>
  109. </complexType>
  110. <complexType name="input-select">
  111. <complexContent>
  112. <extension base="tns:input">
  113. <sequence>
  114. <element name="option" type="tns:input-option" maxOccurs="unbounded" minOccurs="1"></element>
  115. </sequence>
  116. <attribute name="useDataset" type="boolean"></attribute>
  117. </extension>
  118. </complexContent>
  119. </complexType>
  120. <complexType name="input-option">
  121. <attribute name="label" type="string" use="required"></attribute>
  122. <attribute name="value" type="string" use="required"></attribute>
  123. </complexType>
  124. <complexType name="header-footer">
  125. <sequence>
  126. <element name="left" type="tns:content" minOccurs="0" maxOccurs="1"></element>
  127. <element name="center" type="tns:content" minOccurs="0" maxOccurs="1"></element>
  128. <element name="right" type="tns:content" minOccurs="0" maxOccurs="1"></element>
  129. </sequence>
  130. <attribute name="font-family" type="string"></attribute>
  131. <attribute name="font-size" type="int"></attribute>
  132. <attribute name="forecolor" type="string"></attribute>
  133. <attribute name="bgcolor" type="string"></attribute>
  134. <attribute name="bold" type="boolean"></attribute>
  135. <attribute name="italic" type="boolean"></attribute>
  136. <attribute name="underline" type="boolean"></attribute>
  137. </complexType>
  138. <complexType name="content" mixed="true"></complexType>
  139. <complexType name="paper">
  140. <attribute name="type" use="required">
  141. <simpleType>
  142. <restriction base="string">
  143. <enumeration value="A0"></enumeration>
  144. <enumeration value="A1"></enumeration>
  145. <enumeration value="A2"></enumeration>
  146. <enumeration value="A3"></enumeration>
  147. <enumeration value="A4"></enumeration>
  148. <enumeration value="A5"></enumeration>
  149. <enumeration value="A6"></enumeration>
  150. <enumeration value="A7"></enumeration>
  151. <enumeration value="A8"></enumeration>
  152. <enumeration value="A9"></enumeration>
  153. <enumeration value="A10"></enumeration>
  154. <enumeration value="B0"></enumeration>
  155. <enumeration value="B1"></enumeration>
  156. <enumeration value="B2"></enumeration>
  157. <enumeration value="B3"></enumeration>
  158. <enumeration value="B4"></enumeration>
  159. <enumeration value="B5"></enumeration>
  160. <enumeration value="B6"></enumeration>
  161. <enumeration value="B7"></enumeration>
  162. <enumeration value="B8"></enumeration>
  163. <enumeration value="B9"></enumeration>
  164. <enumeration value="B10"></enumeration>
  165. <enumeration value="CUSTOM"></enumeration>
  166. </restriction>
  167. </simpleType>
  168. </attribute>
  169. <attribute name="orientation" use="required">
  170. <simpleType>
  171. <restriction base="string">
  172. <enumeration value="portrait"></enumeration>
  173. <enumeration value="landscape"></enumeration>
  174. </restriction>
  175. </simpleType>
  176. </attribute>
  177. <attribute name="width" type="int"></attribute>
  178. <attribute name="height" type="int"></attribute>
  179. <attribute name="width-mm" type="int"></attribute>
  180. <attribute name="height-mm" type="int"></attribute>
  181. <attribute name="left-margin" type="int"></attribute>
  182. <attribute name="left-margin-mm" type="int"></attribute>
  183. <attribute name="right-margin" type="int"></attribute>
  184. <attribute name="right-margin-mm" type="int"></attribute>
  185. <attribute name="top-margin" type="int"></attribute>
  186. <attribute name="top-margin-mm" type="int"></attribute>
  187. <attribute name="bottom-margin" type="int"></attribute>
  188. <attribute name="bottom-margin-mm" type="int"></attribute>
  189. <attribute name="paging-mode">
  190. <simpleType>
  191. <restriction base="string">
  192. <enumeration value="fitpage"></enumeration>
  193. <enumeration value="fixrows"></enumeration>
  194. </restriction>
  195. </simpleType>
  196. </attribute>
  197. <attribute name="fixrows" type="int"></attribute>
  198. <attribute name="column-enabled" type="boolean"></attribute>
  199. <attribute name="column-count" type="int"></attribute>
  200. <attribute name="column-margin" type="int"></attribute>
  201. </complexType>
  202. <complexType name="row">
  203. <attribute name="row-number" type="int" use="required"></attribute>
  204. <attribute name="height" type="int" use="required"></attribute>
  205. <attribute name="band">
  206. <simpleType>
  207. <restriction base="string">
  208. <enumeration value="headerrepeat"></enumeration>
  209. <enumeration value="footerrepeat"></enumeration>
  210. </restriction>
  211. </simpleType>
  212. </attribute>
  213. </complexType>
  214. <complexType name="column">
  215. <attribute name="col-number" type="int" use="required"></attribute>
  216. <attribute name="width" type="int" use="required"></attribute>
  217. <attribute name="hide" type="boolean"></attribute>
  218. </complexType>
  219. <complexType name="cell">
  220. <sequence>
  221. <element name="simple-value" type="tns:simple-value" minOccurs="0" maxOccurs="1"></element>
  222. <element name="image-value" type="tns:image-value" minOccurs="0" maxOccurs="1"></element>
  223. <element name="zxing-value" type="tns:zxing-value" minOccurs="0" maxOccurs="1"></element>
  224. <element name="expression-value" type="tns:expression-value" minOccurs="0" maxOccurs="1"></element>
  225. <element name="dataset-value" type="tns:dataset-value" minOccurs="0" maxOccurs="1"></element>
  226. <element name="chart-value" type="tns:chart-value" minOccurs="0" maxOccurs="1"></element>
  227. <element name="cell-style" type="tns:cell-style" minOccurs="0" maxOccurs="1"></element>
  228. <element name="condition-property-item" type="tns:condition-property-item" maxOccurs="1" minOccurs="0"></element>
  229. <element name="link-parameter" type="tns:link-parameter" maxOccurs="unbounded" minOccurs="0"></element>
  230. </sequence>
  231. <attribute name="name" type="string" use="required"></attribute>
  232. <attribute name="row" type="int"></attribute>
  233. <attribute name="col" type="int"></attribute>
  234. <attribute name="left-cell" type="string"></attribute>
  235. <attribute name="top-cell" type="string"></attribute>
  236. <attribute name="col-span" type="int"></attribute>
  237. <attribute name="row-span" type="int"></attribute>
  238. <attribute name="expand" use="required">
  239. <simpleType>
  240. <restriction base="string">
  241. <enumeration value="None"></enumeration>
  242. <enumeration value="Right"></enumeration>
  243. <enumeration value="Down"></enumeration>
  244. </restriction>
  245. </simpleType>
  246. </attribute>
  247. <attribute name="fill-blank-rows" type="boolean" use="optional"></attribute>
  248. <attribute name="multiple" type="int" use="optional"></attribute>
  249. <attribute name="link-url" type="string" use="optional"></attribute>
  250. <attribute name="link-target-window" use="optional">
  251. <simpleType>
  252. <restriction base="string">
  253. <enumeration value="_blank"></enumeration>
  254. <enumeration value="_self"></enumeration>
  255. </restriction>
  256. </simpleType>
  257. </attribute>
  258. </complexType>
  259. <complexType name="condition-property-item">
  260. <sequence>
  261. <element name="condition" type="tns:condition" maxOccurs="unbounded" minOccurs="0"></element>
  262. <element name="link-parameter" type="tns:link-parameter" maxOccurs="unbounded" minOccurs="0"></element>
  263. <element name="cell-style" type="tns:cell-style" maxOccurs="1" minOccurs="0"></element>
  264. <element name="expr" type="tns:text" minOccurs="0" maxOccurs="1"></element>
  265. <element name="paging" type="tns:condition-paging" maxOccurs="1" minOccurs="0"></element>
  266. </sequence>
  267. <attribute name="name" type="string" use="required"></attribute>
  268. <attribute name="row-height" type="int" use="optional"></attribute>
  269. <attribute name="col-width" type="int" use="optional"></attribute>
  270. <attribute name="new-value" type="string" use="optional"></attribute>
  271. <attribute name="link-url" type="string" use="optional"></attribute>
  272. <attribute name="link-target-window" use="optional">
  273. <simpleType>
  274. <restriction base="string">
  275. <enumeration value="_blank"></enumeration>
  276. <enumeration value="_self"></enumeration>
  277. </restriction>
  278. </simpleType>
  279. </attribute>
  280. <attribute name="type" use="required">
  281. <simpleType>
  282. <restriction base="string">
  283. <enumeration value="normal"></enumeration>
  284. <enumeration value="expr"></enumeration>
  285. </restriction>
  286. </simpleType>
  287. </attribute>
  288. </complexType>
  289. <complexType name="condition-paging">
  290. <attribute name="line" type="int"></attribute>
  291. <attribute name="position">
  292. <simpleType>
  293. <restriction base="string">
  294. <enumeration value="beofore"></enumeration>
  295. <enumeration value="after"></enumeration>
  296. </restriction>
  297. </simpleType>
  298. </attribute>
  299. </complexType>
  300. <complexType name="cell-style">
  301. <sequence>
  302. <element name="left-border" type="tns:border" minOccurs="0" maxOccurs="1"></element>
  303. <element name="right-border" type="tns:border" minOccurs="0" maxOccurs="1"></element>
  304. <element name="top-border" type="tns:border" minOccurs="0" maxOccurs="1"></element>
  305. <element name="bottom-border" type="tns:border" minOccurs="0" maxOccurs="1"></element>
  306. </sequence>
  307. <attribute name="font-family" type="string"></attribute>
  308. <attribute name="font-size" type="int"></attribute>
  309. <attribute name="forecolor" type="string"></attribute>
  310. <attribute name="bgcolor" type="string"></attribute>
  311. <attribute name="format" type="string"></attribute>
  312. <attribute name="bold" type="boolean"></attribute>
  313. <attribute name="italic" type="boolean"></attribute>
  314. <attribute name="underline" type="boolean"></attribute>
  315. <attribute name="wrap-compute" type="boolean"></attribute>
  316. <attribute name="align" default="left">
  317. <simpleType>
  318. <restriction base="string">
  319. <enumeration value="left"></enumeration>
  320. <enumeration value="center"></enumeration>
  321. <enumeration value="right"></enumeration>
  322. </restriction>
  323. </simpleType>
  324. </attribute>
  325. <attribute name="valign">
  326. <simpleType>
  327. <restriction base="string">
  328. <enumeration value="top"></enumeration>
  329. <enumeration value="middle"></enumeration>
  330. <enumeration value="bottom"></enumeration>
  331. </restriction>
  332. </simpleType>
  333. </attribute>
  334. </complexType>
  335. <complexType name="border">
  336. <attribute name="width" type="int"></attribute>
  337. <attribute name="color" type="string"></attribute>
  338. <attribute name="style" default="solid">
  339. <simpleType>
  340. <restriction base="string">
  341. <enumeration value="solid"></enumeration>
  342. <enumeration value="dashed"></enumeration>
  343. <enumeration value="dotted"></enumeration>
  344. </restriction>
  345. </simpleType>
  346. </attribute>
  347. </complexType>
  348. <complexType name="simple-value" mixed="true"></complexType>
  349. <complexType name="image-value">
  350. <sequence>
  351. <element name="text" type="tns:text" minOccurs="0" maxOccurs="1"></element>
  352. </sequence>
  353. <attribute name="source" use="required">
  354. <simpleType>
  355. <restriction base="string">
  356. <enumeration value="text"></enumeration>
  357. <enumeration value="expression"></enumeration>
  358. </restriction>
  359. </simpleType>
  360. </attribute>
  361. </complexType>
  362. <complexType name="chart-value">
  363. <sequence>
  364. <element name="xaxes" type="tns:xaxes" minOccurs="0" maxOccurs="1"></element>
  365. <element name="yaxes" type="tns:yaxes" minOccurs="0" maxOccurs="1"></element>
  366. <element name="dataset" type="tns:chart-dataset" minOccurs="1" maxOccurs="1"></element>
  367. <element name="animations-option" type="tns:animations-option" minOccurs="0" maxOccurs="1"></element>
  368. <element name="title-option" type="tns:title-option" minOccurs="0" maxOccurs="1"></element>
  369. <element name="legend-option" type="tns:legend-option" minOccurs="0" maxOccurs="1"></element>
  370. <element name="tooltip-option" type="tns:tooltip-option" minOccurs="0" maxOccurs="1"></element>
  371. <element name="layout-option" type="tns:layout-option" minOccurs="0" maxOccurs="1"></element>
  372. </sequence>
  373. </complexType>
  374. <complexType name="title-option">
  375. <attribute name="display" type="boolean"></attribute>
  376. <attribute name="font-size" type="int"></attribute>
  377. <attribute name="font-color" type="string"></attribute>
  378. <attribute name="padding" type="int"></attribute>
  379. <attribute name="text" type="string"></attribute>
  380. <attribute name="font-style">
  381. <simpleType>
  382. <restriction base="string">
  383. <enumeration value="normal"></enumeration>
  384. <enumeration value="italic"></enumeration>
  385. <enumeration value="bold"></enumeration>
  386. </restriction>
  387. </simpleType>
  388. </attribute>
  389. <attribute name="position">
  390. <simpleType>
  391. <restriction base="string">
  392. <enumeration value="top"></enumeration>
  393. <enumeration value="bottom"></enumeration>
  394. <enumeration value="left"></enumeration>
  395. <enumeration value="right"></enumeration>
  396. </restriction>
  397. </simpleType>
  398. </attribute>
  399. </complexType>
  400. <complexType name="tooltip-option">
  401. <attribute name="enabled" type="boolean"></attribute>
  402. <attribute name="title-font-size" type="int"></attribute>
  403. <attribute name="body-font-size" type="int"></attribute>
  404. <attribute name="title-font-color" type="string"></attribute>
  405. <attribute name="body-font-color" type="string"></attribute>
  406. <attribute name="title-font-style">
  407. <simpleType>
  408. <restriction base="string">
  409. <enumeration value="normal"></enumeration>
  410. <enumeration value="italic"></enumeration>
  411. <enumeration value="bold"></enumeration>
  412. </restriction>
  413. </simpleType>
  414. </attribute>
  415. <attribute name="body-font-style">
  416. <simpleType>
  417. <restriction base="string">
  418. <enumeration value="normal"></enumeration>
  419. <enumeration value="italic"></enumeration>
  420. <enumeration value="bold"></enumeration>
  421. </restriction>
  422. </simpleType>
  423. </attribute>
  424. </complexType>
  425. <complexType name="legend-option">
  426. <sequence>
  427. <element name="labels" type="tns:labels" minOccurs="1" maxOccurs="1"></element>
  428. </sequence>
  429. <attribute name="display" type="boolean"></attribute>
  430. <attribute name="position">
  431. <simpleType>
  432. <restriction base="string">
  433. <enumeration value="left"></enumeration>
  434. <enumeration value="right"></enumeration>
  435. <enumeration value="top"></enumeration>
  436. <enumeration value="bottom"></enumeration>
  437. </restriction>
  438. </simpleType>
  439. </attribute>
  440. </complexType>
  441. <complexType name="labels">
  442. <attribute name="box-width" type="int"></attribute>
  443. <attribute name="font-size" type="int"></attribute>
  444. <attribute name="padding" type="int"></attribute>
  445. <attribute name="font-color" type="string"></attribute>
  446. <attribute name="font-style">
  447. <simpleType>
  448. <restriction base="string">
  449. <enumeration value="normal"></enumeration>
  450. <enumeration value="italic"></enumeration>
  451. <enumeration value="bold"></enumeration>
  452. </restriction>
  453. </simpleType>
  454. </attribute>
  455. </complexType>
  456. <complexType name="layout-option">
  457. <attribute name="padding" type="int"></attribute>
  458. </complexType>
  459. <complexType name="animations-option">
  460. <attribute name="duration" type="int"></attribute>
  461. <attribute name="easing">
  462. <simpleType>
  463. <restriction base="string">
  464. <enumeration value="linear"></enumeration>
  465. <enumeration value="easeInQuad"></enumeration>
  466. <enumeration value="easeOutQuad"></enumeration>
  467. <enumeration value="easeInOutQuad"></enumeration>
  468. <enumeration value="easeInCubic"></enumeration>
  469. <enumeration value="easeOutCubic"></enumeration>
  470. <enumeration value="easeInOutCubic"></enumeration>
  471. <enumeration value="easeInQuart"></enumeration>
  472. <enumeration value="easeOutQuart"></enumeration>
  473. <enumeration value="easeInOutQuart"></enumeration>
  474. <enumeration value="easeInQuint"></enumeration>
  475. <enumeration value="easeOutQuint"></enumeration>
  476. <enumeration value="easeInOutQuint"></enumeration>
  477. <enumeration value="easeInSine"></enumeration>
  478. <enumeration value="easeOutSine"></enumeration>
  479. <enumeration value="easeInOutSine"></enumeration>
  480. <enumeration value="easeInExpo"></enumeration>
  481. <enumeration value="easeOutExpo"></enumeration>
  482. <enumeration value="easeInOutExpo"></enumeration>
  483. <enumeration value="easeInCirc"></enumeration>
  484. <enumeration value="easeOutCirc"></enumeration>
  485. <enumeration value="easeInOutCirc"></enumeration>
  486. <enumeration value="easeInElastic"></enumeration>
  487. <enumeration value="easeOutElastic"></enumeration>
  488. <enumeration value="easeInOutElastic"></enumeration>
  489. <enumeration value="easeInBack"></enumeration>
  490. <enumeration value="easeOutBack"></enumeration>
  491. <enumeration value="easeInOutBack"></enumeration>
  492. <enumeration value="easeInBounce"></enumeration>
  493. <enumeration value="easeOutBounce"></enumeration>
  494. <enumeration value="easeInOutBounce"></enumeration>
  495. </restriction>
  496. </simpleType>
  497. </attribute>
  498. </complexType>
  499. <complexType name="chart-dataset">
  500. <choice>
  501. <element name="area-dataset" type="tns:area-dataset"></element>
  502. <element name="line-dataset" type="tns:line-dataset"></element>
  503. <element name="bubble-dataset" type="tns:bubble-dataset"></element>
  504. <element name="polar-dataset" type="tns:polar-dataset"></element>
  505. <element name="bar-dataset" type="tns:bar-dataset"></element>
  506. <element name="pie-dataset" type="tns:pie-dataset"></element>
  507. <element name="scatter-dataset" type="tns:scatter-dataset"></element>
  508. <element name="doughnut-dataset" type="tns:doughnut-dataset"></element>
  509. <element name="radar-dataset" type="tns:radar-dataset"></element>
  510. <element name="horizontal-bar-dataset" type="tns:horizontal-bar-dataset"></element>
  511. <element name="mix-dataset" type="tns:mix-dataset"></element>
  512. </choice>
  513. </complexType>
  514. <complexType name="mix-dataset">
  515. <sequence>
  516. <element name="bar-dataset" type="tns:bar-dataset" minOccurs="0" maxOccurs="unbounded"></element>
  517. <element name="line-dataset" type="tns:line-dataset" minOccurs="0" maxOccurs="unbounded"></element>
  518. </sequence>
  519. </complexType>
  520. <complexType name="category-dataset">
  521. <attribute name="dataset-name" type="string"></attribute>
  522. <attribute name="category-property" type="string"></attribute>
  523. <attribute name="series-property" type="string"></attribute>
  524. <attribute name="value-property" type="string"></attribute>
  525. <attribute name="format" type="string"></attribute>
  526. <attribute name="collect-type">
  527. <simpleType>
  528. <restriction base="string">
  529. <enumeration value="select"></enumeration>
  530. <enumeration value="count"></enumeration>
  531. <enumeration value="sum"></enumeration>
  532. <enumeration value="avg"></enumeration>
  533. <enumeration value="max"></enumeration>
  534. <enumeration value="min"></enumeration>
  535. </restriction>
  536. </simpleType>
  537. </attribute>
  538. </complexType>
  539. <complexType name="bubble-dataset">
  540. <attribute name="dataset-name" type="string"></attribute>
  541. <attribute name="x-property" type="string"></attribute>
  542. <attribute name="y-property" type="string"></attribute>
  543. <attribute name="category-property" type="string"></attribute>
  544. <attribute name="line-tension" type="double"></attribute>
  545. <attribute name="fill" type="boolean"></attribute>
  546. </complexType>
  547. <complexType name="scatter-dataset">
  548. <attribute name="dataset-name" type="string"></attribute>
  549. <attribute name="x-property" type="string"></attribute>
  550. <attribute name="y-property" type="string"></attribute>
  551. <attribute name="r-property" type="string"></attribute>
  552. <attribute name="category-property" type="string"></attribute>
  553. </complexType>
  554. <complexType name="line-dataset">
  555. <complexContent>
  556. <extension base="tns:category-dataset">
  557. <attribute name="line-tension" type="double"></attribute>
  558. </extension>
  559. </complexContent>
  560. </complexType>
  561. <complexType name="bar-dataset">
  562. <complexContent>
  563. <extension base="tns:category-dataset">
  564. </extension>
  565. </complexContent>
  566. </complexType>
  567. <complexType name="horizontal-bar-dataset">
  568. <complexContent>
  569. <extension base="tns:category-dataset">
  570. </extension>
  571. </complexContent>
  572. </complexType>
  573. <complexType name="area-dataset">
  574. <complexContent>
  575. <extension base="tns:category-dataset">
  576. </extension>
  577. </complexContent>
  578. </complexType>
  579. <complexType name="doughnut-dataset">
  580. <complexContent>
  581. <extension base="tns:category-dataset">
  582. </extension>
  583. </complexContent>
  584. </complexType>
  585. <complexType name="pie-dataset">
  586. <complexContent>
  587. <extension base="tns:category-dataset">
  588. </extension>
  589. </complexContent>
  590. </complexType>
  591. <complexType name="polar-dataset">
  592. <complexContent>
  593. <extension base="tns:category-dataset">
  594. </extension>
  595. </complexContent>
  596. </complexType>
  597. <complexType name="radar-dataset">
  598. <complexContent>
  599. <extension base="tns:category-dataset">
  600. <attribute name="line-tension" type="double"></attribute>
  601. <attribute name="fill" type="boolean"></attribute>
  602. </extension>
  603. </complexContent>
  604. </complexType>
  605. <complexType name="axes" abstract="true">
  606. <sequence>
  607. <element name="scale-label" type="tns:scale-label" minOccurs="0" maxOccurs="1"></element>
  608. </sequence>
  609. <attribute name="rotation" type="int"></attribute>
  610. </complexType>
  611. <complexType name="scale-label">
  612. <attribute name="display" type="boolean"></attribute>
  613. <attribute name="label-string" type="string"></attribute>
  614. <attribute name="font-color" type="string"></attribute>
  615. <attribute name="font-size" type="int"></attribute>
  616. <attribute name="font-style">
  617. <simpleType>
  618. <restriction base="string">
  619. <enumeration value="normal"></enumeration>
  620. <enumeration value="italic"></enumeration>
  621. <enumeration value="bold"></enumeration>
  622. </restriction>
  623. </simpleType>
  624. </attribute>
  625. </complexType>
  626. <complexType name="xaxes">
  627. <complexContent>
  628. <extension base="tns:axes">
  629. <attribute name="xposition">
  630. <simpleType>
  631. <restriction base="string">
  632. <enumeration value="top"></enumeration>
  633. <enumeration value="bottom"></enumeration>
  634. </restriction>
  635. </simpleType>
  636. </attribute>
  637. </extension>
  638. </complexContent>
  639. </complexType>
  640. <complexType name="yaxes">
  641. <complexContent>
  642. <extension base="tns:axes">
  643. <attribute name="xposition">
  644. <simpleType>
  645. <restriction base="string">
  646. <enumeration value="left"></enumeration>
  647. <enumeration value="right"></enumeration>
  648. </restriction>
  649. </simpleType>
  650. </attribute>
  651. </extension>
  652. </complexContent>
  653. </complexType>
  654. <complexType name="zxing-value">
  655. <sequence>
  656. <element name="text" type="tns:text" minOccurs="0" maxOccurs="1"></element>
  657. </sequence>
  658. <attribute name="source" use="required">
  659. <simpleType>
  660. <restriction base="string">
  661. <enumeration value="text"></enumeration>
  662. <enumeration value="expression"></enumeration>
  663. </restriction>
  664. </simpleType>
  665. </attribute>
  666. <attribute name="category" use="required">
  667. <simpleType>
  668. <restriction base="string">
  669. <enumeration value="barcode"></enumeration>
  670. <enumeration value="qrcode"></enumeration>
  671. </restriction>
  672. </simpleType>
  673. </attribute>
  674. <attribute name="format" use="optional"></attribute>
  675. <attribute name="code-display" use="optional"></attribute>
  676. </complexType>
  677. <complexType name="slash-value">
  678. <sequence>
  679. <element name="slash" type="tns:slash" maxOccurs="unbounded" minOccurs="1"/>
  680. <element name="base64-data" type="tns:text" maxOccurs="1" minOccurs="1"></element>
  681. </sequence>
  682. </complexType>
  683. <complexType name="slash">
  684. <attribute name="text" type="string" use="required"></attribute>
  685. <attribute name="x" type="int" use="required"></attribute>
  686. <attribute name="y" type="int" use="required"></attribute>
  687. <attribute name="degree" type="int" use="required"></attribute>
  688. </complexType>
  689. <complexType name="text" mixed="true"></complexType>
  690. <complexType name="expression-value" mixed="true"></complexType>
  691. <complexType name="dataset-value">
  692. <sequence>
  693. <element name="condition" type="tns:condition" maxOccurs="unbounded" minOccurs="0"></element>
  694. <element name="group-item" type="tns:group-item" maxOccurs="unbounded" minOccurs="0"></element>
  695. </sequence>
  696. <attribute name="dataset-name" type="string" use="required"></attribute>
  697. <attribute name="aggregate" type="string" use="required"></attribute>
  698. <attribute name="property" type="string" use="required"></attribute>
  699. <attribute name="order">
  700. <simpleType>
  701. <restriction base="string">
  702. <enumeration value="desc"></enumeration>
  703. <enumeration value="asc"></enumeration>
  704. </restriction>
  705. </simpleType>
  706. </attribute>
  707. </complexType>
  708. <complexType name="link-parameter">
  709. <sequence>
  710. <element name="value" type="tns:link-parameter-value" maxOccurs="1" minOccurs="1"></element>
  711. </sequence>
  712. <attribute name="name" type="string" use="required"></attribute>
  713. </complexType>
  714. <complexType name="link-parameter-value" mixed="true"></complexType>
  715. <complexType name="group-item">
  716. <sequence>
  717. <element name="condition" type="tns:condition" minOccurs="1" maxOccurs="unbounded"></element>
  718. </sequence>
  719. <attribute name="name" type="string" use="required"></attribute>
  720. </complexType>
  721. <complexType name="condition">
  722. <sequence>
  723. <element name="value" type="tns:condition-value" minOccurs="1" maxOccurs="1"></element>
  724. </sequence>
  725. <attribute name="property" use="required"></attribute>
  726. <attribute name="op" use="required">
  727. <simpleType>
  728. <restriction base="string">
  729. <enumeration value="GreatThen"></enumeration>
  730. <enumeration value="EqualsGreatThen"></enumeration>
  731. <enumeration value="LessThen"></enumeration>
  732. <enumeration value="EqualsLessThen"></enumeration>
  733. <enumeration value="Equals"></enumeration>
  734. <enumeration value="NotEquals"></enumeration>
  735. <enumeration value="In"></enumeration>
  736. <enumeration value="Like"></enumeration>
  737. </restriction>
  738. </simpleType>
  739. </attribute>
  740. </complexType>
  741. <complexType name="condition-value" mixed="true"></complexType>
  742. <complexType name="datasource">
  743. <sequence>
  744. <element name="dataset" type="tns:dataset" minOccurs="1" maxOccurs="unbounded"></element>
  745. </sequence>
  746. <attribute name="name" type="string" use="required"></attribute>
  747. <attribute name="driver" type="string" use="optional"></attribute>
  748. <attribute name="url" type="string" use="optional"></attribute>
  749. <attribute name="username" type="string" use="optional"></attribute>
  750. <attribute name="password" type="string" use="optional"></attribute>
  751. <attribute name="bean" type="string" use="optional"></attribute>
  752. <attribute name="type" use="required">
  753. <simpleType>
  754. <restriction base="string">
  755. <enumeration value="jdbc"></enumeration>
  756. <enumeration value="spring"></enumeration>
  757. <enumeration value="buildin"></enumeration>
  758. </restriction>
  759. </simpleType>
  760. </attribute>
  761. </complexType>
  762. <complexType name="dataset">
  763. <sequence>
  764. <element name="sql" type="tns:sql" minOccurs="0" maxOccurs="1"></element>
  765. <element name="parameter" type="tns:parameter" minOccurs="0" maxOccurs="unbounded"></element>
  766. <element name="field" type="tns:field" minOccurs="1" maxOccurs="unbounded"></element>
  767. </sequence>
  768. <attribute name="name" type="string" use="required"></attribute>
  769. <attribute name="method" type="string"></attribute>
  770. <attribute name="type" use="required">
  771. <simpleType>
  772. <restriction base="string">
  773. <enumeration value="sql"></enumeration>
  774. <enumeration value="bean"></enumeration>
  775. </restriction>
  776. </simpleType>
  777. </attribute>
  778. </complexType>
  779. <complexType name="sql" mixed="true"></complexType>
  780. <complexType name="parameter">
  781. <attribute name="name" type="string" use="required"></attribute>
  782. <attribute name="type" use="required">
  783. <simpleType>
  784. <restriction base="string">
  785. <enumeration value="Integer"></enumeration>
  786. <enumeration value="Float"></enumeration>
  787. <enumeration value="Boolean"></enumeration>
  788. <enumeration value="String"></enumeration>
  789. <enumeration value="Date"></enumeration>
  790. </restriction>
  791. </simpleType>
  792. </attribute>
  793. <attribute name="default-value" type="string" use="optional"></attribute>
  794. </complexType>
  795. <complexType name="field">
  796. <attribute name="name" type="string" use="required"></attribute>
  797. </complexType>
  798. </schema>