V5_prompt.xsd 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Licensed Materials - Property of IBM
  4. IBM Cognos Products: rspec
  5. (C) Copyright IBM Corp. 2003, 2014
  6. US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  7. -->
  8. <!--
  9. Copyright (C) 2008 Cognos ULC, an IBM Company. All rights reserved.
  10. Cognos (R) is a trademark of Cognos ULC, (formerly Cognos Incorporated).
  11. -->
  12. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
  13. <xs:include schemaLocation="V5_style.xsd"/>
  14. <xs:include schemaLocation="V5_layoutbase.xsd"/>
  15. <xs:group name="promptElement">
  16. <xs:annotation>
  17. <xs:documentation>Represents all possible prompt elements</xs:documentation>
  18. </xs:annotation>
  19. <xs:choice>
  20. <xs:element name="textBox">
  21. <xs:annotation>
  22. <xs:documentation>Simple text box that accepts one or more values.</xs:documentation>
  23. </xs:annotation>
  24. <xs:complexType>
  25. <xs:all>
  26. <xs:element ref="style" minOccurs="0"/>
  27. <xs:element ref="defaultSelections" minOccurs="0"/>
  28. <xs:element ref="conditionalStyles" minOccurs="0"/>
  29. <xs:element ref="conditionalStyleRefs" minOccurs="0"/>
  30. <xs:element ref="conditionalRender" minOccurs="0"/>
  31. <xs:element ref="XMLAttributes" minOccurs="0"/>
  32. <xs:element ref="choicesText" minOccurs="0"/>
  33. <xs:element ref="fromText" minOccurs="0"/>
  34. <xs:element ref="toText" minOccurs="0"/>
  35. <xs:element ref="lowestValueText" minOccurs="0"/>
  36. <xs:element ref="highestValueText" minOccurs="0"/>
  37. <xs:element ref="choicesSelectAllText" minOccurs="0"/>
  38. <xs:element ref="choicesDeselectAllText" minOccurs="0"/>
  39. <xs:element ref="deselectText" minOccurs="0"/>
  40. <xs:element ref="insertText" minOccurs="0"/>
  41. <xs:element ref="removeText" minOccurs="0"/>
  42. </xs:all>
  43. <xs:attributeGroup ref="PromptCommonAttributes"/>
  44. <xs:attributeGroup ref="PromptMultiSelectAttributes"/>
  45. <xs:attributeGroup ref="PromptRangeAttributes"/>
  46. <xs:attribute name="numbersOnly" type="xs:boolean" default="false"/>
  47. <xs:attribute name="multiLine" type="xs:boolean" default="false"/>
  48. <xs:attribute name="hideText" type="xs:boolean" default="false"/>
  49. <xs:attributeGroup ref="NameLayoutAttributes"/>
  50. <xs:attribute name="showThousandSeparator" type="xs:boolean" default="false"/>
  51. </xs:complexType>
  52. </xs:element>
  53. <xs:element name="selectDate">
  54. <xs:annotation>
  55. <xs:documentation>Calendar control that allows selection of one or more dates.</xs:documentation>
  56. </xs:annotation>
  57. <xs:complexType>
  58. <xs:all>
  59. <xs:element ref="style" minOccurs="0"/>
  60. <xs:element ref="conditionalStyles" minOccurs="0"/>
  61. <xs:element ref="conditionalStyleRefs" minOccurs="0"/>
  62. <xs:element ref="defaultSelections" minOccurs="0"/>
  63. <xs:element ref="conditionalRender" minOccurs="0"/>
  64. <xs:element ref="XMLAttributes" minOccurs="0"/>
  65. <xs:element ref="choicesText" minOccurs="0"/>
  66. <xs:element ref="fromText" minOccurs="0"/>
  67. <xs:element ref="toText" minOccurs="0"/>
  68. <xs:element ref="lowestValueText" minOccurs="0"/>
  69. <xs:element ref="highestValueText" minOccurs="0"/>
  70. <xs:element ref="choicesSelectAllText" minOccurs="0"/>
  71. <xs:element ref="choicesDeselectAllText" minOccurs="0"/>
  72. <xs:element ref="deselectText" minOccurs="0"/>
  73. <xs:element ref="insertText" minOccurs="0"/>
  74. <xs:element ref="removeText" minOccurs="0"/>
  75. </xs:all>
  76. <xs:attributeGroup ref="PromptCommonAttributes"/>
  77. <xs:attributeGroup ref="PromptDateAttributes"/>
  78. <xs:attributeGroup ref="PromptMultiSelectAttributes"/>
  79. <xs:attributeGroup ref="PromptRangeAttributes"/>
  80. <xs:attribute name="selectDateUI" default="calendar">
  81. <xs:simpleType>
  82. <xs:restriction base="xs:string">
  83. <xs:enumeration value="calendar"/>
  84. <xs:enumeration value="editBox"/>
  85. </xs:restriction>
  86. </xs:simpleType>
  87. </xs:attribute>
  88. <xs:attributeGroup ref="NameLayoutAttributes"/>
  89. </xs:complexType>
  90. </xs:element>
  91. <xs:element name="selectDateTime">
  92. <xs:annotation>
  93. <xs:documentation>Calendar with time control that allows selection of one or mor date time values.</xs:documentation>
  94. </xs:annotation>
  95. <xs:complexType>
  96. <xs:all>
  97. <xs:element ref="style" minOccurs="0"/>
  98. <xs:element ref="conditionalStyles" minOccurs="0"/>
  99. <xs:element ref="conditionalStyleRefs" minOccurs="0"/>
  100. <xs:element ref="defaultSelections" minOccurs="0"/>
  101. <xs:element ref="conditionalRender" minOccurs="0"/>
  102. <xs:element ref="XMLAttributes" minOccurs="0"/>
  103. <xs:element ref="choicesText" minOccurs="0"/>
  104. <xs:element ref="fromText" minOccurs="0"/>
  105. <xs:element ref="toText" minOccurs="0"/>
  106. <xs:element ref="lowestValueText" minOccurs="0"/>
  107. <xs:element ref="highestValueText" minOccurs="0"/>
  108. <xs:element ref="choicesSelectAllText" minOccurs="0"/>
  109. <xs:element ref="choicesDeselectAllText" minOccurs="0"/>
  110. <xs:element ref="deselectText" minOccurs="0"/>
  111. <xs:element ref="insertText" minOccurs="0"/>
  112. <xs:element ref="removeText" minOccurs="0"/>
  113. </xs:all>
  114. <xs:attributeGroup ref="PromptCommonAttributes"/>
  115. <xs:attributeGroup ref="PromptMultiSelectAttributes"/>
  116. <xs:attributeGroup ref="PromptRangeAttributes"/>
  117. <xs:attributeGroup ref="PromptTimeAttributes"/>
  118. <xs:attributeGroup ref="PromptDateAttributes"/>
  119. <xs:attribute name="selectDateTimeUI" use="optional" default="calendar">
  120. <xs:simpleType>
  121. <xs:restriction base="xs:string">
  122. <xs:enumeration value="calendar"/>
  123. <xs:enumeration value="editBox"/>
  124. </xs:restriction>
  125. </xs:simpleType>
  126. </xs:attribute>
  127. <xs:attributeGroup ref="NameLayoutAttributes"/>
  128. </xs:complexType>
  129. </xs:element>
  130. <xs:element name="selectTime">
  131. <xs:annotation>
  132. <xs:documentation>Time control that allows selection of one or more time values.</xs:documentation>
  133. </xs:annotation>
  134. <xs:complexType>
  135. <xs:all>
  136. <xs:element ref="style" minOccurs="0"/>
  137. <xs:element ref="conditionalStyles" minOccurs="0"/>
  138. <xs:element ref="conditionalStyleRefs" minOccurs="0"/>
  139. <xs:element ref="defaultSelections" minOccurs="0"/>
  140. <xs:element ref="conditionalRender" minOccurs="0"/>
  141. <xs:element ref="XMLAttributes" minOccurs="0"/>
  142. <xs:element ref="choicesText" minOccurs="0"/>
  143. <xs:element ref="fromText" minOccurs="0"/>
  144. <xs:element ref="toText" minOccurs="0"/>
  145. <xs:element ref="lowestValueText" minOccurs="0"/>
  146. <xs:element ref="highestValueText" minOccurs="0"/>
  147. <xs:element ref="choicesSelectAllText" minOccurs="0"/>
  148. <xs:element ref="choicesDeselectAllText" minOccurs="0"/>
  149. <xs:element ref="deselectText" minOccurs="0"/>
  150. <xs:element ref="insertText" minOccurs="0"/>
  151. <xs:element ref="removeText" minOccurs="0"/>
  152. </xs:all>
  153. <xs:attributeGroup ref="PromptTimeAttributes"/>
  154. <xs:attributeGroup ref="PromptCommonAttributes"/>
  155. <xs:attributeGroup ref="PromptMultiSelectAttributes"/>
  156. <xs:attributeGroup ref="PromptRangeAttributes"/>
  157. <xs:attribute name="selectTimeUI" default="clock">
  158. <xs:simpleType>
  159. <xs:restriction base="xs:string">
  160. <xs:enumeration value="clock"/>
  161. <xs:enumeration value="editBox"/>
  162. </xs:restriction>
  163. </xs:simpleType>
  164. </xs:attribute>
  165. <xs:attributeGroup ref="NameLayoutAttributes"/>
  166. </xs:complexType>
  167. </xs:element>
  168. <xs:element name="selectInterval">
  169. <xs:annotation>
  170. <xs:documentation>Time interval control that allows selection of one or more temporal values.</xs:documentation>
  171. </xs:annotation>
  172. <xs:complexType>
  173. <xs:all>
  174. <xs:element ref="style" minOccurs="0"/>
  175. <xs:element ref="conditionalStyles" minOccurs="0"/>
  176. <xs:element ref="conditionalStyleRefs" minOccurs="0"/>
  177. <xs:element ref="defaultSelections" minOccurs="0"/>
  178. <xs:element ref="conditionalRender" minOccurs="0"/>
  179. <xs:element ref="XMLAttributes" minOccurs="0"/>
  180. <xs:element ref="choicesText" minOccurs="0"/>
  181. <xs:element ref="fromText" minOccurs="0"/>
  182. <xs:element ref="toText" minOccurs="0"/>
  183. <xs:element ref="lowestValueText" minOccurs="0"/>
  184. <xs:element ref="highestValueText" minOccurs="0"/>
  185. <xs:element ref="choicesSelectAllText" minOccurs="0"/>
  186. <xs:element ref="choicesDeselectAllText" minOccurs="0"/>
  187. <xs:element ref="deselectText" minOccurs="0"/>
  188. <xs:element ref="insertText" minOccurs="0"/>
  189. <xs:element ref="removeText" minOccurs="0"/>
  190. <xs:element name="daysText" type="LocalizedTextType" minOccurs="0">
  191. <xs:annotation>
  192. <xs:documentation source="rn_added_7.0"/>
  193. <xs:documentation>Represents the "Days" text in the prompt.</xs:documentation>
  194. </xs:annotation>
  195. </xs:element>
  196. <xs:element name="hoursText" type="LocalizedTextType" minOccurs="0">
  197. <xs:annotation>
  198. <xs:documentation source="rn_added_7.0"/>
  199. <xs:documentation>Represents the "Hours" text in the prompt.</xs:documentation>
  200. </xs:annotation>
  201. </xs:element>
  202. <xs:element name="minutesText" type="LocalizedTextType" minOccurs="0">
  203. <xs:annotation>
  204. <xs:documentation source="rn_added_7.0"/>
  205. <xs:documentation>Represents the "Minutes" text in the prompt.</xs:documentation>
  206. </xs:annotation>
  207. </xs:element>
  208. <xs:element name="secondsText" type="LocalizedTextType" minOccurs="0">
  209. <xs:annotation>
  210. <xs:documentation source="rn_added_7.0"/>
  211. <xs:documentation>Represents the "Seconds" text in the prompt.</xs:documentation>
  212. </xs:annotation>
  213. </xs:element>
  214. <xs:element name="millisecondsText" type="LocalizedTextType" minOccurs="0">
  215. <xs:annotation>
  216. <xs:documentation source="rn_added_7.0"/>
  217. <xs:documentation>Represents the "Milliseconds" text in the prompt.</xs:documentation>
  218. </xs:annotation>
  219. </xs:element>
  220. </xs:all>
  221. <xs:attributeGroup ref="PromptCommonAttributes"/>
  222. <xs:attributeGroup ref="PromptMultiSelectAttributes"/>
  223. <xs:attributeGroup ref="PromptRangeAttributes"/>
  224. <xs:attribute name="showSeconds" type="xs:boolean" default="false"/>
  225. <xs:attribute name="showMilliseconds" type="xs:boolean" default="false">
  226. <xs:annotation>
  227. <xs:documentation source="doc_att_showMilliseconds_prompt"/>
  228. </xs:annotation>
  229. </xs:attribute>
  230. <xs:attributeGroup ref="NameLayoutAttributes"/>
  231. </xs:complexType>
  232. </xs:element>
  233. <xs:element name="selectValue">
  234. <xs:annotation>
  235. <xs:documentation>Data driven prompt control that can be rendered as a picklist. The use item is optional since the control maybe entirely defined by explicit select options.</xs:documentation>
  236. </xs:annotation>
  237. <xs:complexType>
  238. <xs:all>
  239. <xs:element ref="style" minOccurs="0"/>
  240. <xs:element ref="conditionalStyles" minOccurs="0"/>
  241. <xs:element ref="conditionalStyleRefs" minOccurs="0"/>
  242. <xs:element ref="defaultSelections" minOccurs="0"/>
  243. <xs:element ref="useItem" minOccurs="0"/>
  244. <xs:element ref="selectOptions" minOccurs="0"/>
  245. <xs:element ref="conditionalRender" minOccurs="0"/>
  246. <xs:element ref="sortList" minOccurs="0"/>
  247. <xs:element ref="XMLAttributes" minOccurs="0"/>
  248. <xs:element ref="propertyList" minOccurs="0"/>
  249. <xs:element name="headerText" type="LocalizedTextType" minOccurs="0">
  250. <xs:annotation>
  251. <xs:documentation source="rn_added_7.0"/>
  252. <xs:documentation>This element controls the header text (first select option in the list box) for this prompt control.
  253. By default this element is not defined and the header text is generated.
  254. If the defaultText element is empty, then no header text will be generated.
  255. Otherwise, the elements definition determine the text to be displayed.</xs:documentation>
  256. </xs:annotation>
  257. </xs:element>
  258. <xs:element ref="choicesText" minOccurs="0"/>
  259. <xs:element ref="fromText" minOccurs="0"/>
  260. <xs:element ref="toText" minOccurs="0"/>
  261. <xs:element ref="lowestValueText" minOccurs="0"/>
  262. <xs:element ref="highestValueText" minOccurs="0"/>
  263. <xs:element ref="choicesSelectAllText" minOccurs="0"/>
  264. <xs:element ref="choicesDeselectAllText" minOccurs="0"/>
  265. <xs:element ref="resultsSelectAllText" minOccurs="0"/>
  266. <xs:element ref="resultsDeselectAllText" minOccurs="0"/>
  267. <xs:element ref="deselectText" minOccurs="0"/>
  268. <xs:element ref="insertText" minOccurs="0"/>
  269. <xs:element ref="removeText" minOccurs="0"/>
  270. </xs:all>
  271. <xs:attributeGroup ref="PromptCommonAttributes"/>
  272. <xs:attributeGroup ref="PromptDataDrivenAttributes"/>
  273. <xs:attributeGroup ref="PromptMultiSelectAttributes"/>
  274. <xs:attributeGroup ref="PromptRangeAttributes"/>
  275. <xs:attribute name="selectValueUI" default="dropdown">
  276. <xs:simpleType>
  277. <xs:restriction base="xs:string">
  278. <xs:enumeration value="dropdown"/>
  279. <xs:enumeration value="listBox"/>
  280. <xs:enumeration value="radioGroup"/>
  281. <xs:enumeration value="checkboxGroup"/>
  282. </xs:restriction>
  283. </xs:simpleType>
  284. </xs:attribute>
  285. <xs:attributeGroup ref="NameLayoutAttributes"/>
  286. <xs:attribute name="autoSubmit" type="xs:boolean" default="false"/>
  287. <xs:attribute name="refQuery" type="xs:string" use="optional"/>
  288. <xs:attributeGroup ref="PromptPrePopulateAttributes"/>
  289. </xs:complexType>
  290. </xs:element>
  291. <xs:element name="selectWithSearch">
  292. <xs:annotation>
  293. <xs:documentation>Data driven prompt control that allows the consumer to search for values.</xs:documentation>
  294. </xs:annotation>
  295. <xs:complexType>
  296. <xs:all>
  297. <xs:element ref="style" minOccurs="0"/>
  298. <xs:element ref="conditionalStyles" minOccurs="0"/>
  299. <xs:element ref="conditionalStyleRefs" minOccurs="0"/>
  300. <xs:element ref="useItem" minOccurs="0"/>
  301. <xs:element ref="conditionalRender" minOccurs="0"/>
  302. <xs:element ref="XMLAttributes" minOccurs="0"/>
  303. <xs:element ref="sortList" minOccurs="0"/>
  304. <xs:element ref="selectOptions" minOccurs="0"/>
  305. <xs:element ref="propertyList" minOccurs="0"/>
  306. <xs:element ref="choicesSelectAllText" minOccurs="0"/>
  307. <xs:element ref="choicesDeselectAllText" minOccurs="0"/>
  308. <xs:element ref="resultsSelectAllText" minOccurs="0"/>
  309. <xs:element ref="resultsDeselectAllText" minOccurs="0"/>
  310. <xs:element ref="deselectText" minOccurs="0"/>
  311. <xs:element ref="insertText" minOccurs="0"/>
  312. <xs:element ref="removeText" minOccurs="0"/>
  313. <xs:element name="resultsText" type="LocalizedTextType" minOccurs="0">
  314. <xs:annotation>
  315. <xs:documentation source="rn_added_7.0"/>
  316. <xs:documentation>Represents the "Results" text in the prompt.</xs:documentation>
  317. </xs:annotation>
  318. </xs:element>
  319. <xs:element name="keywordsText" type="LocalizedTextType" minOccurs="0">
  320. <xs:annotation>
  321. <xs:documentation source="rn_added_7.0"/>
  322. <xs:documentation>Represents the "Keywords" text in the prompt.</xs:documentation>
  323. </xs:annotation>
  324. </xs:element>
  325. <xs:element name="searchInstructionsText" type="LocalizedTextType" minOccurs="0">
  326. <xs:annotation>
  327. <xs:documentation source="rn_added_7.0"/>
  328. <xs:documentation>Represents the "Search Intstructions" text in the prompt.</xs:documentation>
  329. </xs:annotation>
  330. </xs:element>
  331. <xs:element name="optionsText" type="LocalizedTextType" minOccurs="0">
  332. <xs:annotation>
  333. <xs:documentation source="rn_added_7.0"/>
  334. <xs:documentation>Represents the "Options" text in the prompt.</xs:documentation>
  335. </xs:annotation>
  336. </xs:element>
  337. <xs:element name="searchText" type="LocalizedTextType" minOccurs="0">
  338. <xs:annotation>
  339. <xs:documentation source="rn_added_7.0"/>
  340. <xs:documentation>Represents the "Search" text in the prompt.</xs:documentation>
  341. </xs:annotation>
  342. </xs:element>
  343. <xs:element ref="choicesText" minOccurs="0"/>
  344. </xs:all>
  345. <xs:attributeGroup ref="PromptCommonAttributes"/>
  346. <xs:attributeGroup ref="PromptDataDrivenAttributes"/>
  347. <xs:attributeGroup ref="PromptMultiSelectAttributes"/>
  348. <xs:attributeGroup ref="NameLayoutAttributes"/>
  349. <xs:attribute name="refQuery" type="xs:string"/>
  350. <xs:attribute name="caseInsensitiveIsDefault" type="xs:boolean" default="true"/>
  351. </xs:complexType>
  352. </xs:element>
  353. <xs:element name="selectWithTree">
  354. <xs:annotation>
  355. <xs:documentation>Data driven prompt control that displays hierarchial information and allows the consumer to pick one or more members. In essence, the key of each level is the use value and the caption of each level is the display item.</xs:documentation>
  356. </xs:annotation>
  357. <xs:complexType>
  358. <xs:all>
  359. <xs:element name="selectWithTreeItem" minOccurs="0">
  360. <xs:annotation>
  361. <xs:documentation>A reference to the data item that will be used to populate the first level of the tree.</xs:documentation>
  362. </xs:annotation>
  363. <xs:complexType>
  364. <xs:attribute name="refDataItem" type="xs:string" use="required"/>
  365. </xs:complexType>
  366. </xs:element>
  367. <xs:element ref="style" minOccurs="0"/>
  368. <xs:element ref="conditionalStyles" minOccurs="0"/>
  369. <xs:element ref="conditionalStyleRefs" minOccurs="0"/>
  370. <xs:element ref="conditionalRender" minOccurs="0"/>
  371. <xs:element ref="sortList" minOccurs="0"/>
  372. <xs:element ref="XMLAttributes" minOccurs="0"/>
  373. <xs:element name="defaultTreeSelections" minOccurs="0">
  374. <xs:annotation>
  375. <xs:documentation>List of items that will be selected in the tree by default.</xs:documentation>
  376. </xs:annotation>
  377. <xs:complexType>
  378. <xs:sequence>
  379. <xs:element name="defaultTreeSelection" type="xs:string" maxOccurs="unbounded">
  380. <xs:annotation>
  381. <xs:documentation>Represents a selection in the tree.</xs:documentation>
  382. </xs:annotation>
  383. </xs:element>
  384. </xs:sequence>
  385. </xs:complexType>
  386. </xs:element>
  387. <xs:element ref="resultsSelectAllText" minOccurs="0"/>
  388. <xs:element ref="resultsDeselectAllText" minOccurs="0"/>
  389. <xs:element ref="deselectText" minOccurs="0"/>
  390. </xs:all>
  391. <xs:attribute name="selectTreeUI" default="normalTree">
  392. <xs:simpleType>
  393. <xs:restriction base="xs:string">
  394. <xs:enumeration value="normalTree"/>
  395. <xs:enumeration value="compressedTree"/>
  396. <xs:enumeration value="dropdown"/>
  397. <xs:enumeration value="cascadingPrompt"/>
  398. </xs:restriction>
  399. </xs:simpleType>
  400. </xs:attribute>
  401. <xs:attributeGroup ref="PromptCommonAttributes"/>
  402. <xs:attributeGroup ref="PromptDataDrivenAttributes"/>
  403. <xs:attributeGroup ref="PromptMultiSelectAttributes"/>
  404. <xs:attributeGroup ref="NameLayoutAttributes"/>
  405. <xs:attribute name="refQuery" type="xs:string"/>
  406. <xs:attributeGroup ref="PromptPrePopulateAttributes"/>
  407. <xs:attribute name="prePopulateLevels" type="xs:positiveInteger" default="1">
  408. <xs:annotation>
  409. <xs:documentation>Ths is the number of levels to prepopulate the tree with. One is the default and means only prepopulate the tree with the root members.</xs:documentation>
  410. </xs:annotation>
  411. </xs:attribute>
  412. </xs:complexType>
  413. </xs:element>
  414. <xs:element name="generatedPrompt">
  415. <xs:annotation>
  416. <xs:documentation>The server will generate an appropriate prompt control</xs:documentation>
  417. </xs:annotation>
  418. <xs:complexType>
  419. <xs:all>
  420. <xs:element ref="XMLAttributes" minOccurs="0"/>
  421. </xs:all>
  422. <xs:attributeGroup ref="PromptCommonAttributes"/>
  423. <xs:attributeGroup ref="NameLayoutAttributes"/>
  424. </xs:complexType>
  425. </xs:element>
  426. <xs:element name="selectFile">
  427. <xs:annotation>
  428. <xs:documentation source="rn_added_7.0"/>
  429. <xs:documentation>Prompt control to select a file.</xs:documentation>
  430. </xs:annotation>
  431. <xs:complexType>
  432. <xs:all>
  433. <xs:element ref="XMLAttributes" minOccurs="0"/>
  434. </xs:all>
  435. <xs:attributeGroup ref="NameLayoutAttributes"/>
  436. <xs:attributeGroup ref="PromptCommonAttributes"/>
  437. <xs:attribute name="defaultPath" type="xs:string"/>
  438. </xs:complexType>
  439. </xs:element>
  440. </xs:choice>
  441. </xs:group>
  442. <xs:element name="defaultSelections">
  443. <xs:annotation>
  444. <xs:documentation>Defines the list of items that must be selected in the prompt control by default.</xs:documentation>
  445. </xs:annotation>
  446. <xs:complexType>
  447. <xs:choice minOccurs="0" maxOccurs="unbounded">
  448. <xs:element ref="defaultSimpleSelection"/>
  449. <xs:element name="defaultRangeSelection">
  450. <xs:annotation>
  451. <xs:documentation>This element represents a range selection. This is only valid (or useful) if the range property is set to true. The two attributes, min and max are optional. If only the min is specified it means all values (unbounded range) above this value. Likewise if the max attribute is set it means all values (unbounded range) below this value.</xs:documentation>
  452. </xs:annotation>
  453. <xs:complexType>
  454. <xs:attribute name="min" type="xs:string">
  455. <xs:annotation>
  456. <xs:documentation source="doc_att_min_prompt"/>
  457. </xs:annotation>
  458. </xs:attribute>
  459. <xs:attribute name="max" type="xs:string">
  460. <xs:annotation>
  461. <xs:documentation source="doc_att_max_prompt"/>
  462. </xs:annotation>
  463. </xs:attribute>
  464. </xs:complexType>
  465. </xs:element>
  466. </xs:choice>
  467. </xs:complexType>
  468. </xs:element>
  469. <xs:attributeGroup name="PromptCommonAttributes">
  470. <xs:annotation>
  471. <xs:documentation>Common attributes for prompt controls.</xs:documentation>
  472. </xs:annotation>
  473. <xs:attribute name="parameter" type="xs:string"/>
  474. <xs:attribute name="required" type="xs:boolean" default="true"/>
  475. <xs:attribute name="hideAdornments" type="xs:boolean" default="false"/>
  476. </xs:attributeGroup>
  477. <xs:attributeGroup name="PromptRangeAttributes">
  478. <xs:annotation>
  479. <xs:documentation>Attributes for controls that support ranges</xs:documentation>
  480. </xs:annotation>
  481. <xs:attribute name="range" type="xs:boolean" default="false">
  482. <xs:annotation>
  483. <xs:documentation>When true, the prompt control will display a "From" and "To" text control.</xs:documentation>
  484. </xs:annotation>
  485. </xs:attribute>
  486. </xs:attributeGroup>
  487. <xs:attributeGroup name="PromptMultiSelectAttributes">
  488. <xs:annotation>
  489. <xs:documentation>Attributes for controls that support multi-select</xs:documentation>
  490. </xs:annotation>
  491. <xs:attribute name="multiSelect" type="xs:boolean" default="false"/>
  492. </xs:attributeGroup>
  493. <xs:attributeGroup name="PromptDateAttributes">
  494. <xs:annotation>
  495. <xs:documentation>Attributes for controls that can show date values.</xs:documentation>
  496. </xs:annotation>
  497. <xs:attribute name="calendar" default="Gregorian">
  498. <xs:simpleType>
  499. <xs:restriction base="xs:string">
  500. <xs:enumeration value="Gregorian"/>
  501. <xs:enumeration value="Imperial"/>
  502. </xs:restriction>
  503. </xs:simpleType>
  504. </xs:attribute>
  505. <xs:attribute name="firstDate" type="xs:date" use="optional"/>
  506. <xs:attribute name="lastDate" type="xs:date" use="optional"/>
  507. </xs:attributeGroup>
  508. <xs:attributeGroup name="PromptTimeAttributes">
  509. <xs:annotation>
  510. <xs:documentation>Attributes for controls that can show time values.</xs:documentation>
  511. </xs:annotation>
  512. <xs:attribute name="clockMode" default="static">
  513. <xs:simpleType>
  514. <xs:restriction base="xs:string">
  515. <xs:enumeration value="static"/>
  516. <xs:enumeration value="live"/>
  517. </xs:restriction>
  518. </xs:simpleType>
  519. </xs:attribute>
  520. <xs:attribute name="showSeconds" type="xs:boolean" default="false"/>
  521. <xs:attribute name="showMilliseconds" type="xs:boolean" default="false">
  522. <xs:annotation>
  523. <xs:documentation source="doc_att_showMilliseconds_prompt"/>
  524. </xs:annotation>
  525. </xs:attribute>
  526. </xs:attributeGroup>
  527. <xs:attributeGroup name="PromptDataDrivenAttributes">
  528. <xs:annotation>
  529. <xs:documentation>Attributes for controls that can be populated by data.</xs:documentation>
  530. </xs:annotation>
  531. <xs:attribute name="rowsPerPage" type="xs:positiveInteger" default="5000"/>
  532. <xs:attribute name="cascadeOn" type="xs:string" use="optional"/>
  533. </xs:attributeGroup>
  534. <xs:attributeGroup name="PromptAutoSubmitAttributes">
  535. <xs:annotation>
  536. <xs:documentation>Attributes for controls that can support an autosubmit behavior.</xs:documentation>
  537. </xs:annotation>
  538. <xs:attribute name="autoSubmit" type="xs:boolean" default="false"/>
  539. </xs:attributeGroup>
  540. <xs:attributeGroup name="PromptTreeAttributes">
  541. <xs:annotation>
  542. <xs:documentation>Attributes for controls that can support a tree of data.</xs:documentation>
  543. </xs:annotation>
  544. <xs:attribute name="maxDepthOfLevels" type="xs:positiveInteger" use="optional"/>
  545. <xs:attribute name="lowestLevelToDisplay" type="xs:string" use="optional"/>
  546. </xs:attributeGroup>
  547. <xs:attributeGroup name="PromptPrePopulateAttributes">
  548. <xs:attribute name="prePopulateIfParentOptional" type="xs:boolean" default="false">
  549. <xs:annotation>
  550. <xs:documentation>If the parent of this prompt control is optional, then pre-popluate this control with values, otherwise do not. This only applies to prompt controls that have a parent in a cascade.</xs:documentation>
  551. </xs:annotation>
  552. </xs:attribute>
  553. </xs:attributeGroup>
  554. <xs:element name="useItem">
  555. <xs:annotation>
  556. <xs:documentation>A reference to a data item that will be used as the 'use' item for the control.</xs:documentation>
  557. </xs:annotation>
  558. <xs:complexType>
  559. <xs:all>
  560. <xs:element name="displayItem" minOccurs="0">
  561. <xs:annotation>
  562. <xs:documentation>A reference to a data item that will be used as display iems in the control. This is a child of the use item since you cannot have a display item without a use item.</xs:documentation>
  563. </xs:annotation>
  564. <xs:complexType>
  565. <xs:attribute name="refDataItem" type="xs:string" use="required"/>
  566. </xs:complexType>
  567. </xs:element>
  568. </xs:all>
  569. <xs:attribute name="refDataItem" type="xs:string" use="required"/>
  570. </xs:complexType>
  571. </xs:element>
  572. <xs:element name="selectOptions">
  573. <xs:annotation>
  574. <xs:documentation>List of static choices to display in the control. If there are also data items in the select value control, then the selectOptions are added first.</xs:documentation>
  575. </xs:annotation>
  576. <xs:complexType>
  577. <xs:sequence>
  578. <xs:element name="selectOption" maxOccurs="unbounded">
  579. <xs:annotation>
  580. <xs:documentation>The specific item to be displayed in the list. It contains the use value.</xs:documentation>
  581. </xs:annotation>
  582. <xs:complexType>
  583. <xs:all>
  584. <xs:element name="displayValue" type="TextType" minOccurs="0">
  585. <xs:annotation>
  586. <xs:documentation>This is an optional display value to display with the static choice.</xs:documentation>
  587. </xs:annotation>
  588. </xs:element>
  589. <xs:element name="conditionalDisplayValues" minOccurs="0">
  590. <xs:annotation>
  591. <xs:documentation>Specfieds the display value to use conditionally based of the refVariable attribute of the selectOpions element.</xs:documentation>
  592. </xs:annotation>
  593. <xs:complexType>
  594. <xs:sequence>
  595. <xs:element name="conditionalDisplayValue" maxOccurs="unbounded">
  596. <xs:complexType>
  597. <xs:simpleContent>
  598. <xs:extension base="TextType">
  599. <xs:attributeGroup ref="ConditionalPartAttributes"/>
  600. </xs:extension>
  601. </xs:simpleContent>
  602. </xs:complexType>
  603. </xs:element>
  604. </xs:sequence>
  605. </xs:complexType>
  606. </xs:element>
  607. </xs:all>
  608. <xs:attribute name="useValue" type="xs:string" use="required"/>
  609. </xs:complexType>
  610. </xs:element>
  611. </xs:sequence>
  612. <xs:attribute name="refVariable" type="xs:string" use="optional"/>
  613. </xs:complexType>
  614. </xs:element>
  615. <xs:element name="defaultSimpleSelection" type="xs:string">
  616. <xs:annotation>
  617. <xs:documentation>This element represents a single value.</xs:documentation>
  618. </xs:annotation>
  619. </xs:element>
  620. <xs:element name="choicesText" type="LocalizedTextType">
  621. <xs:annotation>
  622. <xs:documentation source="rn_added_7.0"/>
  623. <xs:documentation>Represents the "Your choices" text in the prompt.</xs:documentation>
  624. </xs:annotation>
  625. </xs:element>
  626. <xs:element name="fromText" type="LocalizedTextType">
  627. <xs:annotation>
  628. <xs:documentation source="rn_added_7.0"/>
  629. <xs:documentation>Represents the "From" text in the prompt.</xs:documentation>
  630. </xs:annotation>
  631. </xs:element>
  632. <xs:element name="toText" type="LocalizedTextType">
  633. <xs:annotation>
  634. <xs:documentation source="rn_added_7.0"/>
  635. <xs:documentation>Represents the "To" text in the prompt.</xs:documentation>
  636. </xs:annotation>
  637. </xs:element>
  638. <xs:element name="lowestValueText" type="LocalizedTextType">
  639. <xs:annotation>
  640. <xs:documentation source="rn_added_7.0"/>
  641. <xs:documentation>Represents the "Min Value" text in the prompt.</xs:documentation>
  642. </xs:annotation>
  643. </xs:element>
  644. <xs:element name="highestValueText" type="LocalizedTextType">
  645. <xs:annotation>
  646. <xs:documentation source="rn_added_7.0"/>
  647. <xs:documentation>Represents the "Max Value" text in the prompt.</xs:documentation>
  648. </xs:annotation>
  649. </xs:element>
  650. <xs:element name="choicesSelectAllText" type="LocalizedTextType">
  651. <xs:annotation>
  652. <xs:documentation source="rn_added_7.0"/>
  653. <xs:documentation>Represents the "Select All" text for the choices list box in the prompt.</xs:documentation>
  654. </xs:annotation>
  655. </xs:element>
  656. <xs:element name="choicesDeselectAllText" type="LocalizedTextType">
  657. <xs:annotation>
  658. <xs:documentation source="rn_added_7.0"/>
  659. <xs:documentation>Represents the "Deselect All" text choices list box for the in the prompt.</xs:documentation>
  660. </xs:annotation>
  661. </xs:element>
  662. <xs:element name="resultsSelectAllText" type="LocalizedTextType">
  663. <xs:annotation>
  664. <xs:documentation source="rn_added_7.0"/>
  665. <xs:documentation>Represents the "Select All" text for the results list box in the prompt.</xs:documentation>
  666. </xs:annotation>
  667. </xs:element>
  668. <xs:element name="resultsDeselectAllText" type="LocalizedTextType">
  669. <xs:annotation>
  670. <xs:documentation source="rn_added_7.0"/>
  671. <xs:documentation>Represents the "Deselect All" text for the results list box in the prompt.</xs:documentation>
  672. </xs:annotation>
  673. </xs:element>
  674. <xs:element name="deselectText" type="LocalizedTextType">
  675. <xs:annotation>
  676. <xs:documentation source="rn_added_7.0"/>
  677. <xs:documentation>Represents the "Deselect" text in the prompt.</xs:documentation>
  678. </xs:annotation>
  679. </xs:element>
  680. <xs:element name="insertText" type="LocalizedTextType">
  681. <xs:annotation>
  682. <xs:documentation source="rn_added_7.0"/>
  683. <xs:documentation>Represents the "Add" button text in the prompt.</xs:documentation>
  684. </xs:annotation>
  685. </xs:element>
  686. <xs:element name="removeText" type="LocalizedTextType">
  687. <xs:annotation>
  688. <xs:documentation source="rn_added_7.0"/>
  689. <xs:documentation>Represents the "Delete" button text in the prompt.</xs:documentation>
  690. </xs:annotation>
  691. </xs:element>
  692. </xs:schema>