map.xsd 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- ============================================================= -->
  3. <!-- HEADER -->
  4. <!-- ============================================================= -->
  5. <!-- ============================================================= -->
  6. <!-- MODULE: DITA MAP XSD -->
  7. <!-- VERSION: 1.1 -->
  8. <!-- DATE: November 2006 -->
  9. <!-- -->
  10. <!-- ============================================================= -->
  11. <!-- ============================================================= -->
  12. <!-- SYSTEM: Darwin Information Typing Architecture (DITA) -->
  13. <!-- -->
  14. <!-- PURPOSE: W3C XML Schema to describe DITA maps -->
  15. <!-- -->
  16. <!-- ORIGINAL CREATION DATE: -->
  17. <!-- March 2001 -->
  18. <!-- -->
  19. <!-- (C) Copyright OASIS-Open.org 2005, 2006 -->
  20. <!-- (C) Copyright IBM Corporation 2001, 2004. -->
  21. <!-- All Rights Reserved. -->
  22. <!-- -->
  23. <!-- UPDATES: -->
  24. <!-- 2005.11.15 EAS: Moved domains attribute definition here -->
  25. <!-- from mapMod.xsd:1.1 -->
  26. <!-- ============================================================= -->
  27. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified" xmlns:ditaarch="http://dita.oasis-open.org/architecture/2005/">
  28. <!-- ======= INCLUDE ======= -->
  29. <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:mapGroupMod.xsd:1.1" />
  30. <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:indexingDomain.xsd:1.1" />
  31. <!-- ================ GROUP DEFINITIONS ===================== -->
  32. <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:metaDeclGrp.xsd:1.1"/>
  33. <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:tblDeclGrp.xsd:1.1"/>
  34. <!-- ================= MODULE INLCUDE DEFINITION ================== -->
  35. <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:commonElementMod.xsd:1.1"/>
  36. <!-- ======== Table elements ======== -->
  37. <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:tblDeclMod.xsd:1.1"/>
  38. <!-- ======= MetaData elements, plus keyword and indexterm ======= -->
  39. <xs:include schemaLocation="urn:oasis:names:tc:dita:xsd:metaDeclMod.xsd:1.1"/>
  40. <xs:redefine schemaLocation="urn:oasis:names:tc:dita:xsd:mapGrp.xsd:1.1">
  41. <xs:group name="topicref">
  42. <xs:choice>
  43. <xs:group ref="topicref"/>
  44. <xs:group ref="mapgroup-d-topicref"/>
  45. </xs:choice>
  46. </xs:group>
  47. </xs:redefine>
  48. <xs:redefine schemaLocation="urn:oasis:names:tc:dita:xsd:commonElementGrp.xsd:1.1">
  49. <xs:group name="index-base">
  50. <xs:choice>
  51. <xs:group ref="index-base"/>
  52. <xs:group ref="indexing-d-index-base"/>
  53. </xs:choice>
  54. </xs:group>
  55. </xs:redefine>
  56. <xs:redefine schemaLocation="urn:oasis:names:tc:dita:xsd:mapMod.xsd:1.1" >
  57. <xs:complexType name="map.class">
  58. <xs:complexContent>
  59. <xs:extension base="map.class">
  60. <xs:attribute name="domains" type="xs:string" default="(map mapgroup-d) (topic indexing-d)"/>
  61. </xs:extension>
  62. </xs:complexContent>
  63. </xs:complexType>
  64. </xs:redefine>
  65. </xs:schema>