product.xsd 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. This file is part of DocBook V5.0
  4. Copyright 1992-2008 HaL Computer Systems, Inc.,
  5. O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
  6. Corporation, Norman Walsh, Sun Microsystems, Inc., and the
  7. Organization for the Advancement of Structured Information
  8. Standards (OASIS).
  9. Release: $Id: pool.rnc 7466 2007-09-27 14:03:55Z nwalsh $
  10. Permission to use, copy, modify and distribute the DocBook schema
  11. and its accompanying documentation for any purpose and without fee
  12. is hereby granted in perpetuity, provided that the above copyright
  13. notice and this paragraph appear in all copies. The copyright
  14. holders make no representation about the suitability of the schema
  15. for any purpose. It is provided "as is" without expressed or implied
  16. warranty.
  17. If you modify the DocBook schema in any way, label your schema as a
  18. variant of DocBook. See the reference documentation
  19. (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
  20. for more information.
  21. Please direct all questions, bug reports, or suggestions for changes
  22. to the docbook@lists.oasis-open.org mailing list. For more
  23. information, see http://www.oasis-open.org/docbook/.
  24. ======================================================================
  25. -->
  26. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://docbook.org/ns/docbook" xmlns:dbs="http://docbook.org/ns/docbook-slides" xmlns:db="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
  27. <xs:import namespace="http://docbook.org/ns/docbook-slides" schemaLocation="slides.xsd"/>
  28. <xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="xlink.xsd"/>
  29. <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
  30. <!-- ====================================================================== -->
  31. <xs:attributeGroup name="db.productname.role.attribute">
  32. <xs:attribute name="role" use="required"/>
  33. </xs:attributeGroup>
  34. <xs:simpleType name="db.productname.class.enumeration">
  35. <xs:restriction base="xs:token">
  36. <xs:enumeration value="copyright">
  37. <xs:annotation>
  38. <xs:documentation>A name with a copyright</xs:documentation>
  39. </xs:annotation>
  40. </xs:enumeration>
  41. <xs:enumeration value="registered">
  42. <xs:annotation>
  43. <xs:documentation>A name with a registered copyright</xs:documentation>
  44. </xs:annotation>
  45. </xs:enumeration>
  46. <xs:enumeration value="service">
  47. <xs:annotation>
  48. <xs:documentation>A name of a service</xs:documentation>
  49. </xs:annotation>
  50. </xs:enumeration>
  51. <xs:enumeration value="trade">
  52. <xs:annotation>
  53. <xs:documentation>A name which is trademarked</xs:documentation>
  54. </xs:annotation>
  55. </xs:enumeration>
  56. </xs:restriction>
  57. </xs:simpleType>
  58. <xs:attributeGroup name="db.productname.class.attribute">
  59. <xs:attribute name="class" use="required" type="db:db.productname.class.enumeration"/>
  60. </xs:attributeGroup>
  61. <xs:attributeGroup name="db.productname.attlist">
  62. <xs:attribute name="role"/>
  63. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  64. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  65. <xs:attribute name="class" type="db:db.productname.class.enumeration"/>
  66. </xs:attributeGroup>
  67. <xs:element name="productname" substitutionGroup="db:db.product.inlines">
  68. <xs:complexType mixed="true">
  69. <xs:group ref="db:db._text"/>
  70. <xs:attributeGroup ref="db:db.productname.attlist"/>
  71. </xs:complexType>
  72. </xs:element>
  73. <!-- ====================================================================== -->
  74. <xs:attributeGroup name="db.productnumber.role.attribute">
  75. <xs:attribute name="role" use="required"/>
  76. </xs:attributeGroup>
  77. <xs:attributeGroup name="db.productnumber.attlist">
  78. <xs:attribute name="role"/>
  79. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  80. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  81. </xs:attributeGroup>
  82. <xs:element name="productnumber" substitutionGroup="db:db.product.inlines">
  83. <xs:complexType mixed="true">
  84. <xs:group ref="db:db._text"/>
  85. <xs:attributeGroup ref="db:db.productnumber.attlist"/>
  86. </xs:complexType>
  87. </xs:element>
  88. <!-- ====================================================================== -->
  89. <xs:simpleType name="db.database.class.enumeration">
  90. <xs:restriction base="xs:token">
  91. <xs:enumeration value="altkey">
  92. <xs:annotation>
  93. <xs:documentation>An alternate or secondary key</xs:documentation>
  94. </xs:annotation>
  95. </xs:enumeration>
  96. <xs:enumeration value="constraint">
  97. <xs:annotation>
  98. <xs:documentation>A constraint</xs:documentation>
  99. </xs:annotation>
  100. </xs:enumeration>
  101. <xs:enumeration value="datatype">
  102. <xs:annotation>
  103. <xs:documentation>A data type</xs:documentation>
  104. </xs:annotation>
  105. </xs:enumeration>
  106. <xs:enumeration value="field">
  107. <xs:annotation>
  108. <xs:documentation>A field</xs:documentation>
  109. </xs:annotation>
  110. </xs:enumeration>
  111. <xs:enumeration value="foreignkey">
  112. <xs:annotation>
  113. <xs:documentation>A foreign key</xs:documentation>
  114. </xs:annotation>
  115. </xs:enumeration>
  116. <xs:enumeration value="group">
  117. <xs:annotation>
  118. <xs:documentation>A group</xs:documentation>
  119. </xs:annotation>
  120. </xs:enumeration>
  121. <xs:enumeration value="index">
  122. <xs:annotation>
  123. <xs:documentation>An index</xs:documentation>
  124. </xs:annotation>
  125. </xs:enumeration>
  126. <xs:enumeration value="key1">
  127. <xs:annotation>
  128. <xs:documentation>The first or primary key</xs:documentation>
  129. </xs:annotation>
  130. </xs:enumeration>
  131. <xs:enumeration value="key2">
  132. <xs:annotation>
  133. <xs:documentation>An alternate or secondary key</xs:documentation>
  134. </xs:annotation>
  135. </xs:enumeration>
  136. <xs:enumeration value="name">
  137. <xs:annotation>
  138. <xs:documentation>A name</xs:documentation>
  139. </xs:annotation>
  140. </xs:enumeration>
  141. <xs:enumeration value="primarykey">
  142. <xs:annotation>
  143. <xs:documentation>The primary key</xs:documentation>
  144. </xs:annotation>
  145. </xs:enumeration>
  146. <xs:enumeration value="procedure">
  147. <xs:annotation>
  148. <xs:documentation>A (stored) procedure</xs:documentation>
  149. </xs:annotation>
  150. </xs:enumeration>
  151. <xs:enumeration value="record">
  152. <xs:annotation>
  153. <xs:documentation>A record</xs:documentation>
  154. </xs:annotation>
  155. </xs:enumeration>
  156. <xs:enumeration value="rule">
  157. <xs:annotation>
  158. <xs:documentation>A rule</xs:documentation>
  159. </xs:annotation>
  160. </xs:enumeration>
  161. <xs:enumeration value="secondarykey">
  162. <xs:annotation>
  163. <xs:documentation>The secondary key</xs:documentation>
  164. </xs:annotation>
  165. </xs:enumeration>
  166. <xs:enumeration value="table">
  167. <xs:annotation>
  168. <xs:documentation>A table</xs:documentation>
  169. </xs:annotation>
  170. </xs:enumeration>
  171. <xs:enumeration value="user">
  172. <xs:annotation>
  173. <xs:documentation>A user</xs:documentation>
  174. </xs:annotation>
  175. </xs:enumeration>
  176. <xs:enumeration value="view">
  177. <xs:annotation>
  178. <xs:documentation>A view</xs:documentation>
  179. </xs:annotation>
  180. </xs:enumeration>
  181. </xs:restriction>
  182. </xs:simpleType>
  183. <xs:attributeGroup name="db.database.class.attribute">
  184. <xs:attribute name="class" use="required" type="db:db.database.class.enumeration"/>
  185. </xs:attributeGroup>
  186. <xs:attributeGroup name="db.database.role.attribute">
  187. <xs:attribute name="role" use="required"/>
  188. </xs:attributeGroup>
  189. <xs:attributeGroup name="db.database.attlist">
  190. <xs:attribute name="role"/>
  191. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  192. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  193. <xs:attribute name="class" type="db:db.database.class.enumeration"/>
  194. </xs:attributeGroup>
  195. <xs:element name="database" substitutionGroup="db:db.product.inlines">
  196. <xs:complexType mixed="true">
  197. <xs:group ref="db:db._text"/>
  198. <xs:attributeGroup ref="db:db.database.attlist"/>
  199. </xs:complexType>
  200. </xs:element>
  201. <!-- ====================================================================== -->
  202. <xs:simpleType name="db.application.class.enumeration">
  203. <xs:restriction base="xs:token">
  204. <xs:enumeration value="hardware">
  205. <xs:annotation>
  206. <xs:documentation>A hardware application</xs:documentation>
  207. </xs:annotation>
  208. </xs:enumeration>
  209. <xs:enumeration value="software">
  210. <xs:annotation>
  211. <xs:documentation>A software application</xs:documentation>
  212. </xs:annotation>
  213. </xs:enumeration>
  214. </xs:restriction>
  215. </xs:simpleType>
  216. <xs:attributeGroup name="db.application.class.attribute">
  217. <xs:attribute name="class" use="required" type="db:db.application.class.enumeration"/>
  218. </xs:attributeGroup>
  219. <xs:attributeGroup name="db.application.role.attribute">
  220. <xs:attribute name="role" use="required"/>
  221. </xs:attributeGroup>
  222. <xs:attributeGroup name="db.application.attlist">
  223. <xs:attribute name="role"/>
  224. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  225. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  226. <xs:attribute name="class" type="db:db.application.class.enumeration"/>
  227. </xs:attributeGroup>
  228. <xs:element name="application" substitutionGroup="db:db.product.inlines">
  229. <xs:complexType mixed="true">
  230. <xs:group ref="db:db._text"/>
  231. <xs:attributeGroup ref="db:db.application.attlist"/>
  232. </xs:complexType>
  233. </xs:element>
  234. <!-- ====================================================================== -->
  235. <xs:attributeGroup name="db.hardware.role.attribute">
  236. <xs:attribute name="role" use="required"/>
  237. </xs:attributeGroup>
  238. <xs:attributeGroup name="db.hardware.attlist">
  239. <xs:attribute name="role"/>
  240. <xs:attributeGroup ref="dbs:db.common.attributes"/>
  241. <xs:attributeGroup ref="db:db.common.linking.attributes"/>
  242. </xs:attributeGroup>
  243. <xs:element name="hardware" substitutionGroup="db:db.product.inlines">
  244. <xs:complexType mixed="true">
  245. <xs:group ref="db:db._text"/>
  246. <xs:attributeGroup ref="db:db.hardware.attlist"/>
  247. </xs:complexType>
  248. </xs:element>
  249. </xs:schema>