topicProcesy5.xsd 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- ============================================================= -->
  3. <!-- HEADER -->
  4. <!-- ============================================================= -->
  5. <!-- MODULE: DITA Topic XSD -->
  6. <!-- VERSION: 1.2 -->
  7. <!-- DATE: November 2009 -->
  8. <!-- -->
  9. <!-- ============================================================= -->
  10. <!-- ============================================================= -->
  11. <!-- SYSTEM: Darwin Information Typing Architecture (DITA) -->
  12. <!-- -->
  13. <!-- PURPOSE: W3C XML Schema to describe DITA Topics -->
  14. <!-- -->
  15. <!-- ORIGINAL CREATION DATE: -->
  16. <!-- March 2001 -->
  17. <!-- -->
  18. <!-- (C) Copyright OASIS-Open.org 2005, 2009 -->
  19. <!-- (C) Copyright IBM Corporation 2001, 2004. -->
  20. <!-- All Rights Reserved. -->
  21. <!-- ============================================================= -->
  22. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
  23. attributeFormDefault="unqualified" xmlns:ditaarch="http://dita.oasis-open.org/architecture/2005/"
  24. xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
  25. vc:maxVersion="1.1" vc:minVersion="1.0" xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning">
  26. <!-- Add the domains to the base topic XML Schema -->
  27. <!-- ================ TOPIC DOMAINS ===================== -->
  28. <xs:import
  29. namespace="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
  30. schemaLocation="appinfo.xsd"/>
  31. <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:uiDomain.xsd:1.2"/>
  32. <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:softwareDomain.xsd:1.2"/>
  33. <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:highlightDomain.xsd:1.2"/>
  34. <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:programmingDomain.xsd:1.2"/>
  35. <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:utilitiesDomain.xsd:1.2"/>
  36. <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:indexingDomain.xsd:1.2"/>
  37. <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:hazardstatementDomain.xsd:1.2"/>
  38. <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:abbreviateDomain.xsd:1.2"/>
  39. <!-- ================ GROUP DEFINITIONS ===================== -->
  40. <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:metaDeclGrp.xsd:1.2"/>
  41. <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:tblDeclGrp.xsd:1.2"/>
  42. <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:topicGrp.xsd:1.2"/>
  43. <!-- ================= MODULE INLCUDE DEFINITION ================== -->
  44. <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:commonElementMod.xsd:1.2"/>
  45. <!-- ======== Table elements ======== -->
  46. <xs:redefine schemaLocation="urn:oasis:names:tc:dita:xsd:commonElementMod.xsd:1.2">
  47. <xs:group name="stentry.content">
  48. <xs:choice>
  49. <xs:group ref="stentry.content"/>
  50. <xs:element ref="RelatedFeature"/>
  51. <xs:element ref="RelatedFeaturesForEach"/>
  52. </xs:choice>
  53. </xs:group>
  54. <xs:group name="p.content">
  55. <xs:choice>
  56. <xs:group ref="p.content"/>
  57. <xs:element ref="RelatedFeaturesForEach"/>
  58. </xs:choice>
  59. </xs:group>
  60. </xs:redefine>
  61. <xs:redefine schemaLocation="urn:oasis:names:tc:dita:xsd:tblDeclMod.xsd:1.2">
  62. <xs:complexType name="tbody.class">
  63. <xs:complexContent>
  64. <xs:extension base="tbody.class">
  65. <xs:sequence maxOccurs="unbounded" minOccurs="0">
  66. <xs:element ref="RelatedFeature"/>
  67. </xs:sequence>
  68. </xs:extension>
  69. </xs:complexContent>
  70. </xs:complexType>
  71. </xs:redefine>
  72. <!-- ======= MetaData elements, plus keyword and indexterm ======= -->
  73. <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:metaDeclMod.xsd:1.2"/>
  74. <xs:redefine schemaLocation="urn:oasis:names:tc:dita:xsd:commonElementGrp.xsd:1.2">
  75. <xs:group name="keyword">
  76. <xs:choice>
  77. <xs:group ref="keyword"/>
  78. <xs:group ref="pr-d-keyword"/>
  79. <xs:group ref="ui-d-keyword"/>
  80. <xs:group ref="sw-d-keyword"/>
  81. </xs:choice>
  82. </xs:group>
  83. <xs:group name="ph">
  84. <xs:choice>
  85. <xs:group ref="ph"/>
  86. <xs:group ref="pr-d-ph"/>
  87. <xs:group ref="ui-d-ph"/>
  88. <xs:group ref="hi-d-ph"/>
  89. <xs:group ref="sw-d-ph"/>
  90. </xs:choice>
  91. </xs:group>
  92. <xs:group name="pre">
  93. <xs:choice>
  94. <xs:group ref="pre"/>
  95. <xs:group ref="pr-d-pre"/>
  96. <xs:group ref="ui-d-pre"/>
  97. <xs:group ref="sw-d-pre"/>
  98. </xs:choice>
  99. </xs:group>
  100. <xs:group name="dl">
  101. <xs:choice>
  102. <xs:group ref="dl"/>
  103. <xs:group ref="pr-d-dl"/>
  104. </xs:choice>
  105. </xs:group>
  106. <xs:group name="fig">
  107. <xs:choice>
  108. <xs:group ref="fig"/>
  109. <xs:group ref="pr-d-fig"/>
  110. <xs:group ref="ut-d-fig"/>
  111. </xs:choice>
  112. </xs:group>
  113. <xs:group name="index-base">
  114. <xs:choice>
  115. <xs:group ref="index-base"/>
  116. <xs:group ref="indexing-d-index-base"/>
  117. </xs:choice>
  118. </xs:group>
  119. <xs:group name="note">
  120. <xs:choice>
  121. <xs:group ref="note"/>
  122. <xs:group ref="hazard-d-note"/>
  123. </xs:choice>
  124. </xs:group>
  125. <xs:group name="term">
  126. <xs:choice>
  127. <xs:group ref="term"/>
  128. <xs:group ref="abbrev-d-term"/>
  129. </xs:choice>
  130. </xs:group>
  131. <xs:attributeGroup name="props-attribute-extensions">
  132. <xs:attributeGroup ref="props-attribute-extensions"/>
  133. <xs:attributeGroup ref="procesy5-dita-extensions"/>
  134. </xs:attributeGroup>
  135. <xs:attributeGroup name="base-attribute-extensions">
  136. <xs:attributeGroup ref="base-attribute-extensions"/>
  137. <xs:attributeGroup ref="procesy5-dita-extensions"/>
  138. </xs:attributeGroup>
  139. </xs:redefine>
  140. <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:topicMod.xsd:1.2"/>
  141. <xs:group name="info-types">
  142. <xs:sequence/>
  143. </xs:group>
  144. <xs:attributeGroup name="domains-att">
  145. <xs:attribute name="domains" type="xs:string"
  146. default="(topic abbrev-d) (topic hazard-d) (topic hi-d) (topic indexing-d) (topic pr-d) (topic sw-d) (topic ui-d) (topic ut-d)"
  147. />
  148. </xs:attributeGroup>
  149. <xs:attributeGroup name="procesy5-dita-extensions">
  150. <xs:attribute name="ID_PROCES"/>
  151. <xs:attribute name="ID_ZASOB"/>
  152. <xs:attribute name="ID_CRM_ASSOC"/>
  153. <xs:attribute name="FIELD"/>
  154. <xs:attribute name="typeName"/>
  155. <xs:attribute name="xpath">
  156. <xs:annotation>
  157. <xs:documentation>To filter sibling and child nodes</xs:documentation>
  158. </xs:annotation>
  159. </xs:attribute>
  160. </xs:attributeGroup>
  161. <xs:element name="RelatedFeature">
  162. <xs:complexType mixed="true">
  163. <xs:choice maxOccurs="unbounded">
  164. <xs:element minOccurs="0" name="RelatedAnalysSum">
  165. <xs:annotation>
  166. <xs:documentation>Do wstawienia sum oraz innych elementow bazujacych na danych juz wyswietlonych przy finalnym wyswietleniu</xs:documentation>
  167. </xs:annotation>
  168. <xs:complexType>
  169. <xs:attribute name="xpath">
  170. <xs:annotation>
  171. <xs:documentation>To filter sibling and child nodes</xs:documentation>
  172. </xs:annotation>
  173. </xs:attribute>
  174. </xs:complexType>
  175. </xs:element>
  176. <xs:element minOccurs="0" name="RelatedFilter">
  177. <xs:annotation>
  178. <xs:documentation>To add extra content filter (temporary feature to be obsolete after we enable engine instances filters by default)</xs:documentation>
  179. </xs:annotation>
  180. <xs:complexType>
  181. <xs:attribute name="xpath" type="xs:string">
  182. <xs:annotation>
  183. <xs:documentation>To filter sibling and child nodes</xs:documentation>
  184. </xs:annotation>
  185. </xs:attribute>
  186. <xs:attribute name="xpath_value" type="xs:string">
  187. <xs:annotation>
  188. <xs:documentation>Wartosc do wstawienia w xpath, moze byc xpath. Jak nie ma, to nadpisac z template</xs:documentation>
  189. </xs:annotation>
  190. </xs:attribute>
  191. </xs:complexType>
  192. </xs:element>
  193. <xs:group ref="ph"/>
  194. <xs:group ref="topic"/>
  195. <xs:group ref="row"/>
  196. <xs:group ref="p"/>
  197. <xs:element ref="RelatedFeature"/>
  198. </xs:choice>
  199. <xs:attribute name="typeName" use="required">
  200. <xs:annotation>
  201. <xs:documentation>ex: typeName="p5_default_db:BILLING_OWNER"</xs:documentation>
  202. </xs:annotation>
  203. <xs:simpleType>
  204. <xs:restriction base="xs:string">
  205. <xs:pattern value=".*:.*"/>
  206. </xs:restriction>
  207. </xs:simpleType>
  208. </xs:attribute>
  209. <xs:attribute name="xpath" type="xs:Name" use="required">
  210. <xs:annotation>
  211. <xs:documentation>Like ID_BILLING_OWNER to show that (in some xpath meaning) current()/ID_BILLING_OWNER = node()[@typeName]/node()[type()='primary_key']</xs:documentation>
  212. </xs:annotation>
  213. </xs:attribute>
  214. <xs:attribute name="xpath_value" type="xs:string">
  215. <xs:annotation>
  216. <xs:documentation>Wartosc do wstawienia w xpath, moze byc xpath. Jak nie ma, to nadpisac z template</xs:documentation>
  217. </xs:annotation>
  218. </xs:attribute>
  219. </xs:complexType>
  220. </xs:element>
  221. <xs:element name="RelatedFeaturesForEach">
  222. <xs:complexType>
  223. <xs:choice>
  224. <xs:group ref="topic"/>
  225. <xs:choice maxOccurs="unbounded">
  226. <xs:group ref="ph"/>
  227. <xs:group ref="p"/>
  228. </xs:choice>
  229. </xs:choice>
  230. <xs:attribute name="typeName" use="required">
  231. <xs:annotation>
  232. <xs:documentation>ex: typeName="p5_default_db:BILLING_OWNER"</xs:documentation>
  233. </xs:annotation>
  234. <xs:simpleType>
  235. <xs:restriction base="xs:string">
  236. <xs:pattern value=".*:.*"/>
  237. </xs:restriction>
  238. </xs:simpleType>
  239. </xs:attribute>
  240. <xs:attribute name="xpath" type="xs:Name" use="required">
  241. <xs:annotation>
  242. <xs:documentation>Like ID_BILLING_OWNER to show that (in some xpath meaning) current()/ID_BILLING_OWNER = node()[@typeName]/node()[type()='primary_key']</xs:documentation>
  243. </xs:annotation>
  244. </xs:attribute>
  245. <xs:attribute name="xpath_value" type="xs:string">
  246. <xs:annotation>
  247. <xs:documentation>Wartosc do wstawienia w xpath, moze byc xpath. Jak nie ma, to nadpisac z template</xs:documentation>
  248. </xs:annotation>
  249. </xs:attribute>
  250. </xs:complexType>
  251. </xs:element>
  252. </xs:schema>