p5gnuplot.xsd 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="unqualified"
  3. targetNamespace="http://biuro.biall-net.pl/WPS_Functions/graph_gnuplot" vc:minVersion="1.1"
  4. xmlns:p5gnuplot="http://biuro.biall-net.pl/WPS_Functions/graph_gnuplot"
  5. xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning">
  6. <xs:annotation>
  7. <xs:documentation>schemat elementow xml w dita obslugiwanych przez modul 2018-11</xs:documentation>
  8. </xs:annotation>
  9. <xs:element name="DEBUG">
  10. <xs:complexType>
  11. <xs:sequence>
  12. <xs:element name="simpletable">
  13. <xs:alternative test="not(contains(@props, 'histogram'))"
  14. type="p5gnuplot:simpletable__x3A__version.1"/>
  15. <xs:alternative test="contains(@props, 'histogram')"
  16. type="p5gnuplot:simpletable__x3A__version.histogram"/>
  17. </xs:element>
  18. <xs:element name="xtics" type="p5gnuplot:xtics">
  19. <xs:annotation>
  20. <xs:documentation>analyzed to controll graphs</xs:documentation>
  21. </xs:annotation>
  22. </xs:element>
  23. <xs:element name="ytics">
  24. <xs:complexType>
  25. <xs:sequence>
  26. <xs:element maxOccurs="unbounded" name="ytics.row">
  27. <xs:complexType>
  28. <xs:sequence>
  29. <xs:element name="stentry" maxOccurs="unbounded">
  30. <xs:complexType mixed="true">
  31. <xs:attribute name="group" use="required">
  32. <xs:annotation>
  33. <xs:documentation>todo po co ? - wartosc </xs:documentation>
  34. </xs:annotation>
  35. </xs:attribute>
  36. <xs:attribute name="col" type="xs:int"
  37. use="required"/>
  38. <xs:attribute name="audience" use="required">
  39. <xs:annotation>
  40. <xs:documentation>wartosc</xs:documentation>
  41. </xs:annotation>
  42. </xs:attribute>
  43. <xs:attribute name="graph.color.variable"
  44. type="xs:int" use="required">
  45. <xs:annotation>
  46. <xs:documentation>1 </xs:documentation>
  47. </xs:annotation>
  48. </xs:attribute>
  49. </xs:complexType>
  50. </xs:element>
  51. </xs:sequence>
  52. <xs:attribute name="current-grouping-key" type="xs:string"
  53. use="required"/>
  54. <xs:attribute name="pos" type="xs:int" use="required"/>
  55. <xs:attribute name="count" type="xs:int" use="required"/>
  56. </xs:complexType>
  57. </xs:element>
  58. </xs:sequence>
  59. </xs:complexType>
  60. </xs:element>
  61. <xs:element name="graph.title">
  62. <xs:complexType>
  63. <xs:sequence>
  64. <xs:element name="strow">
  65. <xs:complexType>
  66. <xs:sequence>
  67. <xs:element maxOccurs="unbounded" name="stentry">
  68. <xs:alternative test="@props = 'graph.xtic'"
  69. type="p5gnuplot:strow.graph.headers.stentry.xtic.title"/>
  70. <xs:alternative test="not(@prop = 'graph.xtic')"
  71. type="p5gnuplot:strow.graph.headers.stentry.title"/>
  72. </xs:element>
  73. </xs:sequence>
  74. <xs:attribute fixed="graph.title" name="props"/>
  75. <xs:attribute name="strow.pos" use="required"/>
  76. </xs:complexType>
  77. </xs:element>
  78. </xs:sequence>
  79. </xs:complexType>
  80. </xs:element>
  81. </xs:sequence>
  82. </xs:complexType>
  83. </xs:element>
  84. <xs:complexType name="simpletable__x3A__version.1">
  85. <xs:sequence>
  86. <xs:element name="strow" type="p5gnuplot:simpletable__x3A__version.1.strow.headers"/>
  87. </xs:sequence>
  88. </xs:complexType>
  89. <xs:complexType name="simpletable__x3A__version.1.strow.headers">
  90. <xs:sequence/>
  91. <xs:attribute fixed="graph.headers" name="props"/>
  92. </xs:complexType>
  93. <xs:complexType name="simpletable__x3A__version.histogram">
  94. <xs:sequence maxOccurs="unbounded">
  95. <xs:element name="strow">
  96. <xs:alternative id="p5gnuplot.strow.graph.headers.strow"
  97. test="@props = 'graph.headers'" type="p5gnuplot:strow.graph.headers">
  98. <xs:annotation>
  99. <xs:documentation>odpowiednik osi setu danych Y ( z gory na dol .dat)
  100. system_cache__dita:graph.xaxis + @col</xs:documentation>
  101. </xs:annotation>
  102. </xs:alternative>
  103. <xs:alternative test="@props = 'graph.data'" type="p5gnuplot:strow.graph.data"/>
  104. <xs:alternative test="@props = 'graph.title'" type="p5gnuplot:strow.graph.title">
  105. <xs:annotation>
  106. <xs:documentation>odpowiednik osi Y ( z lewo na prawo .dat)
  107. system_cache__dita:graph.yaxis.name - $grap.title + @col
  108. </xs:documentation>
  109. </xs:annotation>
  110. </xs:alternative>
  111. <xs:alternative test="@props = 'graph.fill.style'"
  112. type="p5gnuplot:strow.graph.color.name"/>
  113. <xs:alternative test="@props = 'graph.color.name'"
  114. type="p5gnuplot:strow.graph.fill.style"/>
  115. <xs:alternative test="@props = 'graph.newhistogram'"
  116. type="p5gnuplot:strow.graph.newhistogram"/>
  117. </xs:element>
  118. </xs:sequence>
  119. <xs:attribute name="props" type="p5gnuplot:props.histogram"/>
  120. <xs:attribute name="id" type="xs:string"/>
  121. <xs:attribute name="frame"/>
  122. </xs:complexType>
  123. <xs:complexType mixed="false" name="strow.graph.headers.stentry.xtic">
  124. <xs:simpleContent>
  125. <xs:extension base="xs:string">
  126. <xs:attribute fixed="graph.xtic" name="props"/>
  127. <xs:attribute name="col" type="xs:int" use="required"/>
  128. <xs:attribute name="group" type="xs:string" use="optional">
  129. <xs:annotation>
  130. <xs:documentation>todo po co ?</xs:documentation>
  131. </xs:annotation>
  132. </xs:attribute>
  133. <xs:attribute name="current-grouping-key" type="xs:string" use="required"/>
  134. </xs:extension>
  135. </xs:simpleContent>
  136. </xs:complexType>
  137. <xs:complexType name="strow.graph.headers.stentry.xtic.title">
  138. <xs:annotation>
  139. <xs:documentation>modified by template - extra attrs</xs:documentation>
  140. </xs:annotation>
  141. <xs:complexContent>
  142. <xs:extension base="p5gnuplot:strow.graph.headers.stentry.xtic">
  143. <xs:attribute name="audience" use="required"/>
  144. <xs:attribute name="count.stentry.pow.all" use="required"/>
  145. <xs:attribute name="stentry.pow" use="required"/>
  146. </xs:extension>
  147. </xs:complexContent>
  148. </xs:complexType>
  149. <xs:complexType name="strow.graph.headers.stentry">
  150. <xs:simpleContent>
  151. <xs:extension base="xs:string">
  152. <xs:attribute name="col" type="xs:int" use="required"/>
  153. <xs:attribute name="props"/>
  154. <xs:attribute name="group" type="xs:string" use="optional">
  155. <xs:annotation>
  156. <xs:documentation>todo po co ?</xs:documentation>
  157. </xs:annotation>
  158. </xs:attribute>
  159. <xs:attribute name="current-grouping-key" type="xs:string" use="required"/>
  160. <xs:attribute name="audience" use="required"/>
  161. </xs:extension>
  162. </xs:simpleContent>
  163. </xs:complexType>
  164. <xs:complexType name="strow.graph.headers.stentry.title">
  165. <xs:annotation>
  166. <xs:documentation>analyzed transformed by template extra attrs</xs:documentation>
  167. </xs:annotation>
  168. <xs:complexContent>
  169. <xs:extension base="p5gnuplot:strow.graph.headers.stentry">
  170. <xs:attribute name="count.stentry.pow.all" use="required"/>
  171. <xs:attribute name="stentry.pow" use="required"/>
  172. </xs:extension>
  173. </xs:complexContent>
  174. </xs:complexType>
  175. <xs:complexType mixed="true" name="strow.graph.title.stentry">
  176. <xs:attribute name="col" type="xs:int" use="required"/>
  177. <xs:attribute name="current-grouping-key" use="required"/>
  178. <xs:attribute name="group" use="required">
  179. <xs:annotation>
  180. <xs:documentation>90 osoba mer. xxx yyy</xs:documentation>
  181. </xs:annotation>
  182. </xs:attribute>
  183. <xs:attribute name="audience" use="required">
  184. <xs:annotation>
  185. <xs:documentation>histogram strategy usage</xs:documentation>
  186. </xs:annotation>
  187. </xs:attribute>
  188. <xs:attribute name="props"/>
  189. </xs:complexType>
  190. <xs:simpleType name="props.histogram">
  191. <xs:restriction base="xs:string">
  192. <xs:pattern value=".*graph.style.histogram.*"/>
  193. </xs:restriction>
  194. </xs:simpleType>
  195. <xs:complexType name="strow.graph.headers">
  196. <xs:sequence>
  197. <xs:element maxOccurs="unbounded" name="stentry">
  198. <xs:alternative test="@props = 'graph.xtic'"
  199. type="p5gnuplot:strow.graph.headers.stentry.xtic"/>
  200. <xs:alternative test="not(@prop = 'graph.xtic')"
  201. type="p5gnuplot:strow.graph.headers.stentry"/>
  202. </xs:element>
  203. </xs:sequence>
  204. <xs:attribute fixed="graph.headers" name="props"/>
  205. </xs:complexType>
  206. <xs:complexType name="strow.graph.color.name">
  207. <xs:sequence>
  208. <xs:element maxOccurs="unbounded" name="stentry"/>
  209. </xs:sequence>
  210. <xs:attribute fixed="graph.fill.style" name="props"/>
  211. </xs:complexType>
  212. <xs:complexType name="strow.graph.fill.style">
  213. <xs:sequence>
  214. <xs:element maxOccurs="unbounded" name="stentry"/>
  215. </xs:sequence>
  216. <xs:attribute fixed="graph.color.name" name="props"/>
  217. </xs:complexType>
  218. <xs:complexType name="strow.graph.data">
  219. <xs:sequence>
  220. <xs:element maxOccurs="unbounded" name="stentry">
  221. <xs:complexType mixed="true">
  222. <xs:attribute name="current-grouping-key" use="required"/>
  223. <xs:attribute name="audience">
  224. <xs:annotation>
  225. <xs:documentation>_x32_koord_x32_sp._x32_gł._x32__x32__x32_1043061</xs:documentation>
  226. </xs:annotation>
  227. </xs:attribute>
  228. <xs:attribute name="col" use="required"/>
  229. <xs:attribute name="props">
  230. <xs:annotation>
  231. <xs:documentation>opcjonalnie np. props="pos_1 row_1 Osoba_merytoryczna___nazwisko_i_imie 90 value"</xs:documentation>
  232. </xs:annotation>
  233. </xs:attribute>
  234. </xs:complexType>
  235. </xs:element>
  236. </xs:sequence>
  237. <xs:attribute fixed="graph.data" name="props"/>
  238. </xs:complexType>
  239. <xs:complexType name="strow.graph.title">
  240. <xs:sequence>
  241. <xs:element maxOccurs="unbounded" name="stentry"
  242. type="p5gnuplot:strow.graph.title.stentry">
  243. <xs:annotation>
  244. <xs:documentation>"wartość akcept. mer. xxxx xxx" - unikalne - group</xs:documentation>
  245. </xs:annotation>
  246. </xs:element>
  247. </xs:sequence>
  248. <xs:attribute fixed="graph.title" name="props"/>
  249. </xs:complexType>
  250. <xs:complexType name="strow.graph.newhistogram">
  251. <xs:sequence>
  252. <xs:element maxOccurs="unbounded" name="stentry">
  253. <xs:complexType mixed="true">
  254. <xs:attribute name="props"/>
  255. <xs:attribute name="col" type="xs:int" use="required"/>
  256. <xs:attribute name="audience" use="required">
  257. <xs:annotation>
  258. <xs:documentation> which audiences this histogram coverages</xs:documentation>
  259. </xs:annotation>
  260. </xs:attribute>
  261. </xs:complexType>
  262. </xs:element>
  263. </xs:sequence>
  264. <xs:attribute fixed="graph.newhistogram" name="props"/>
  265. </xs:complexType>
  266. <xs:complexType name="xtics">
  267. <xs:sequence>
  268. <xs:element maxOccurs="unbounded" minOccurs="1" name="text">
  269. <xs:complexType mixed="true">
  270. <xs:sequence>
  271. <xs:element maxOccurs="unbounded" name="current-grouping-key">
  272. <xs:complexType mixed="true">
  273. <xs:attribute name="pos" type="xs:int" use="required"/>
  274. </xs:complexType>
  275. </xs:element>
  276. <xs:element maxOccurs="unbounded" name="audience" minOccurs="0"/>
  277. <xs:element maxOccurs="unbounded" name="graph.color.variable" minOccurs="0">
  278. <xs:complexType mixed="true">
  279. <xs:attribute name="current-grouping-key" use="required"/>
  280. <xs:attribute name="col" type="xs:int" use="required"/>
  281. </xs:complexType>
  282. </xs:element>
  283. </xs:sequence>
  284. <xs:attribute name="current-grouping-key" use="required"/>
  285. <xs:attribute name="pos" type="xs:int" use="required"/>
  286. <xs:attribute name="count" type="xs:int" use="required"/>
  287. <xs:attribute name="col" type="xs:int" use="required"/>
  288. <xs:attribute name="group" use="required"/>
  289. <xs:attribute name="audience"/>
  290. <xs:attribute name="current-grouping-key.list">
  291. <xs:annotation>
  292. <xs:documentation>to remove todo</xs:documentation>
  293. </xs:annotation>
  294. </xs:attribute>
  295. <xs:attribute name="stentry.pow" type="xs:int" use="required">
  296. <xs:annotation>
  297. <xs:documentation>like 1 - to explain</xs:documentation>
  298. </xs:annotation>
  299. </xs:attribute>
  300. <xs:attribute name="strow.pos" type="xs:int" use="required">
  301. <xs:annotation>
  302. <xs:documentation>to explain - 1</xs:documentation>
  303. </xs:annotation>
  304. </xs:attribute>
  305. </xs:complexType>
  306. </xs:element>
  307. <xs:element name="graph.newhistogram" maxOccurs="unbounded">
  308. <xs:complexType mixed="true">
  309. <xs:sequence>
  310. <xs:element name="audience" maxOccurs="unbounded">
  311. <xs:complexType>
  312. <xs:sequence>
  313. <xs:element name="current-grouping-key" maxOccurs="unbounded">
  314. <xs:complexType mixed="true">
  315. <xs:attribute name="col" type="xs:int" use="required"/>
  316. <xs:attribute name="current-grouping-key" use="required"/>
  317. <xs:attribute name="xtics.pos" type="xs:int"
  318. use="required"/>
  319. <xs:attribute name="graph.color.variable" type="xs:int"
  320. use="required"/>
  321. <xs:attribute name="audience" type="xs:string"
  322. use="required"/>
  323. </xs:complexType>
  324. </xs:element>
  325. </xs:sequence>
  326. <xs:attribute name="audience" type="xs:string" use="required"/>
  327. <xs:attribute name="current-grouping-key.list" use="required">
  328. <xs:annotation>
  329. <xs:documentation>BI_audit_KRS_person.476312 BI_audit_KRS_person.476313 BI_audit_KRS_person.628818 BI_audit_KRS_person.143579 BI_audit_KRS_person.917260 BI_audit_KRS_person.964888...</xs:documentation>
  330. </xs:annotation>
  331. </xs:attribute>
  332. <xs:attribute name="current-grouping-key.foreign" type="xs:boolean"
  333. />
  334. </xs:complexType>
  335. </xs:element>
  336. </xs:sequence>
  337. <xs:attribute name="xtics.col__x3A__aviable"/>
  338. <xs:attribute name="graph.newhistogram.text">
  339. <xs:annotation>
  340. <xs:documentation> analiza </xs:documentation>
  341. </xs:annotation>
  342. </xs:attribute>
  343. <xs:attribute name="pos" type="xs:int" use="required"/>
  344. </xs:complexType>
  345. </xs:element>
  346. <xs:element ref="p5gnuplot:graph.newhistogram"/>
  347. </xs:sequence>
  348. <xs:attribute name="fileindex" type="xs:string">
  349. <xs:annotation>
  350. <xs:documentation>like relations-136_000006BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA.stats_all.BI_audit_KRS_person.dita</xs:documentation>
  351. </xs:annotation>
  352. </xs:attribute>
  353. </xs:complexType>
  354. <xs:element name="graph.newhistogram">
  355. <xs:complexType>
  356. <xs:sequence>
  357. <xs:element minOccurs="0" ref="p5gnuplot:set.xtics.rotate"/>
  358. <xs:element minOccurs="0" ref="p5gnuplot:set.bmargin"/>
  359. <xs:element ref="p5gnuplot:graph.newhistogram.child"/>
  360. </xs:sequence>
  361. <xs:attribute ref="p5gnuplot:text"/>
  362. </xs:complexType>
  363. </xs:element>
  364. <xs:attribute name="text.line.join"/>
  365. <xs:element name="plot">
  366. <xs:complexType>
  367. <xs:sequence>
  368. <xs:element ref="p5gnuplot:newhistogram"/>
  369. </xs:sequence>
  370. <xs:attribute ref="p5gnuplot:text.join"/>
  371. <xs:attribute ref="p5gnuplot:text.line.join"/>
  372. <xs:attribute ref="p5gnuplot:text"/>
  373. </xs:complexType>
  374. </xs:element>
  375. <xs:element name="newhistogram">
  376. <xs:complexType mixed="true">
  377. <xs:sequence>
  378. <xs:element ref="p5gnuplot:plot_arg" maxOccurs="unbounded"/>
  379. </xs:sequence>
  380. <xs:attribute ref="p5gnuplot:text"/>
  381. <xs:attribute ref="p5gnuplot:text.join"/>
  382. </xs:complexType>
  383. </xs:element>
  384. <xs:element name="graph.newhistogram.child">
  385. <xs:complexType>
  386. <xs:sequence>
  387. <xs:element maxOccurs="unbounded" ref="p5gnuplot:plot"/>
  388. </xs:sequence>
  389. <xs:attribute ref="p5gnuplot:text"/>
  390. <xs:attribute ref="p5gnuplot:text.join"/>
  391. </xs:complexType>
  392. </xs:element>
  393. <xs:attribute name="text" type="xs:string"/>
  394. <xs:attribute name="text.join" type="xs:string"/>
  395. <xs:element name="set.bmargin">
  396. <xs:complexType>
  397. <xs:attribute ref="p5gnuplot:text"/>
  398. <xs:attribute ref="p5gnuplot:value"/>
  399. <xs:attribute ref="p5gnuplot:text.join"/>
  400. </xs:complexType>
  401. </xs:element>
  402. <xs:element name="set.xtics.rotate">
  403. <xs:complexType>
  404. <xs:attribute name="debug"/>
  405. </xs:complexType>
  406. </xs:element>
  407. <xs:element name="plot_arg">
  408. <xs:complexType>
  409. <xs:sequence maxOccurs="unbounded">
  410. <xs:element ref="p5gnuplot:file" minOccurs="0"/>
  411. <xs:element ref="p5gnuplot:file.row.y.using" minOccurs="0"/>
  412. <xs:element ref="p5gnuplot:file.row.y.color.column" minOccurs="0"/>
  413. <xs:element ref="p5gnuplot:file.row.y" minOccurs="0"/>
  414. <xs:element ref="p5gnuplot:file.row.x" minOccurs="0"/>
  415. <xs:element ref="p5gnuplot:file.row.title" minOccurs="0"/>
  416. <xs:element ref="p5gnuplot:file.row.style" minOccurs="0"/>
  417. <xs:element ref="p5gnuplot:file.row.color" minOccurs="0"/>
  418. <xs:element ref="p5gnuplot:file.row.yaxis" minOccurs="0"/>
  419. </xs:sequence>
  420. <xs:attribute ref="p5gnuplot:text.join"/>
  421. </xs:complexType>
  422. </xs:element>
  423. <xs:element name="file"/>
  424. <xs:element name="file.row.y.using"/>
  425. <xs:element name="file.row.y.color.column"/>
  426. <xs:element name="file.row.y">
  427. <xs:complexType>
  428. <xs:attribute ref="p5gnuplot:text" use="required"/>
  429. <xs:attribute name="debug"/>
  430. </xs:complexType>
  431. </xs:element>
  432. <xs:element name="file.row.x">
  433. <xs:complexType>
  434. <xs:attribute ref="p5gnuplot:text.join"/>
  435. <xs:attribute ref="p5gnuplot:text"/>
  436. <xs:attribute ref="p5gnuplot:value"/>
  437. </xs:complexType>
  438. </xs:element>
  439. <xs:attribute name="value" type="xs:string"/>
  440. <xs:element name="file.row.title">
  441. <xs:complexType>
  442. <xs:attribute ref="p5gnuplot:text.join"/>
  443. <xs:attribute ref="p5gnuplot:text"/>
  444. <xs:attribute ref="p5gnuplot:value"/>
  445. </xs:complexType>
  446. </xs:element>
  447. <xs:element name="file.row.style">
  448. <xs:complexType>
  449. <xs:attribute ref="p5gnuplot:text.join"/>
  450. <xs:attribute ref="p5gnuplot:text"/>
  451. <xs:attribute name="debug" type="xs:string">
  452. <xs:annotation>
  453. <xs:documentation>#177-293 set to variable color </xs:documentation>
  454. </xs:annotation>
  455. </xs:attribute>
  456. </xs:complexType>
  457. </xs:element>
  458. <xs:element name="file.row.color">
  459. <xs:complexType>
  460. <xs:attribute ref="p5gnuplot:text.join"/>
  461. <xs:attribute ref="p5gnuplot:text"/>
  462. <xs:attribute ref="p5gnuplot:value"/>
  463. <xs:attribute name="debug" type="xs:string">
  464. <xs:annotation>
  465. <xs:documentation>#177-293 set to variable color </xs:documentation>
  466. </xs:annotation>
  467. </xs:attribute>
  468. </xs:complexType>
  469. </xs:element>
  470. <xs:attribute name="debug" type="xs:string"/>
  471. <xs:element name="file.row.yaxis">
  472. <xs:complexType>
  473. <xs:attribute name="graph.yaxis">
  474. <xs:annotation>
  475. <xs:documentation>x1y1</xs:documentation>
  476. </xs:annotation>
  477. </xs:attribute>
  478. <xs:attribute ref="p5gnuplot:text"/>
  479. <xs:attribute ref="p5gnuplot:text.join"/>
  480. <xs:attribute ref="p5gnuplot:value"/>
  481. </xs:complexType>
  482. </xs:element>
  483. </xs:schema>