topicProcesy5.xsd 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  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. <!-- Add the domains to the base topic XML Schema -->
  25. <!-- ================ TOPIC DOMAINS ===================== -->
  26. <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:uiDomain.xsd:1.2"/>
  27. <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:softwareDomain.xsd:1.2"/>
  28. <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:highlightDomain.xsd:1.2"/>
  29. <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:programmingDomain.xsd:1.2"/>
  30. <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:utilitiesDomain.xsd:1.2"/>
  31. <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:indexingDomain.xsd:1.2"/>
  32. <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:hazardstatementDomain.xsd:1.2"/>
  33. <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:abbreviateDomain.xsd:1.2"/>
  34. <!-- ================ GROUP DEFINITIONS ===================== -->
  35. <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:metaDeclGrp.xsd:1.2"/>
  36. <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:tblDeclGrp.xsd:1.2"/>
  37. <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:topicGrp.xsd:1.2"/>
  38. <!-- ================= MODULE INLCUDE DEFINITION ================== -->
  39. <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:commonElementMod.xsd:1.2"/>
  40. <!-- ======== Table elements ======== -->
  41. <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:tblDeclMod.xsd:1.2"/>
  42. <!-- ======= MetaData elements, plus keyword and indexterm ======= -->
  43. <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:metaDeclMod.xsd:1.2"/>
  44. <xs:redefine schemaLocation="urn:oasis:names:tc:dita:xsd:commonElementGrp.xsd:1.2">
  45. <xs:group name="keyword">
  46. <xs:choice>
  47. <xs:group ref="keyword"/>
  48. <xs:group ref="pr-d-keyword"/>
  49. <xs:group ref="ui-d-keyword"/>
  50. <xs:group ref="sw-d-keyword"/>
  51. </xs:choice>
  52. </xs:group>
  53. <xs:group name="ph">
  54. <xs:choice>
  55. <xs:group ref="ph"/>
  56. <xs:group ref="pr-d-ph"/>
  57. <xs:group ref="ui-d-ph"/>
  58. <xs:group ref="hi-d-ph"/>
  59. <xs:group ref="sw-d-ph"/>
  60. </xs:choice>
  61. </xs:group>
  62. <xs:group name="pre">
  63. <xs:choice>
  64. <xs:group ref="pre"/>
  65. <xs:group ref="pr-d-pre"/>
  66. <xs:group ref="ui-d-pre"/>
  67. <xs:group ref="sw-d-pre"/>
  68. </xs:choice>
  69. </xs:group>
  70. <xs:group name="dl">
  71. <xs:choice>
  72. <xs:group ref="dl"/>
  73. <xs:group ref="pr-d-dl"/>
  74. </xs:choice>
  75. </xs:group>
  76. <xs:group name="fig">
  77. <xs:choice>
  78. <xs:group ref="fig"/>
  79. <xs:group ref="pr-d-fig"/>
  80. <xs:group ref="ut-d-fig"/>
  81. </xs:choice>
  82. </xs:group>
  83. <xs:group name="index-base">
  84. <xs:choice>
  85. <xs:group ref="index-base"/>
  86. <xs:group ref="indexing-d-index-base"/>
  87. </xs:choice>
  88. </xs:group>
  89. <xs:group name="note">
  90. <xs:choice>
  91. <xs:group ref="note"/>
  92. <xs:group ref="hazard-d-note"/>
  93. </xs:choice>
  94. </xs:group>
  95. <xs:group name="term">
  96. <xs:choice>
  97. <xs:group ref="term"/>
  98. <xs:group ref="abbrev-d-term"/>
  99. </xs:choice>
  100. </xs:group>
  101. <xs:attributeGroup name="props-attribute-extensions">
  102. <xs:attributeGroup ref="props-attribute-extensions"/>
  103. <xs:attributeGroup ref="procesy5-dita-extensions"/>
  104. </xs:attributeGroup>
  105. <xs:attributeGroup name="base-attribute-extensions">
  106. <xs:attributeGroup ref="base-attribute-extensions"/>
  107. <xs:attributeGroup ref="procesy5-dita-extensions"/>
  108. </xs:attributeGroup>
  109. </xs:redefine>
  110. <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:topicMod.xsd:1.2"/>
  111. <xs:group name="info-types">
  112. <xs:sequence/>
  113. </xs:group>
  114. <xs:attributeGroup name="domains-att">
  115. <xs:attribute name="domains" type="xs:string"
  116. 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)"
  117. />
  118. </xs:attributeGroup>
  119. <xs:attributeGroup name="procesy5-dita-extensions">
  120. <xs:attribute name="ID_PROCES"/>
  121. <xs:attribute name="ID_ZASOB"/>
  122. <xs:attribute name="ID_CRM_ASSOC"/>
  123. <xs:attribute name="FIELD"/>
  124. <xs:attribute name="xpath"/>
  125. </xs:attributeGroup>
  126. </xs:schema>