map.mod 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338
  1. <!-- ============================================================= -->
  2. <!-- HEADER -->
  3. <!-- ============================================================= -->
  4. <!-- MODULE: DITA Map -->
  5. <!-- VERSION: 1.1 -->
  6. <!-- DATE: November 2006 -->
  7. <!-- -->
  8. <!-- ============================================================= -->
  9. <!-- ============================================================= -->
  10. <!-- PUBLIC DOCUMENT TYPE DEFINITION -->
  11. <!-- TYPICAL INVOCATION -->
  12. <!-- -->
  13. <!-- Refer to this file by the following public identifier or an
  14. appropriate system identifier
  15. PUBLIC "-//OASIS//ELEMENTS DITA Map//EN"
  16. Delivered as file "map.mod" -->
  17. <!-- ============================================================= -->
  18. <!-- SYSTEM: Darwin Information Typing Architecture (DITA) -->
  19. <!-- -->
  20. <!-- PURPOSE: Declaring the elements and specialization -->
  21. <!-- attributes for the DITA Maps -->
  22. <!-- -->
  23. <!-- ORIGINAL CREATION DATE: -->
  24. <!-- March 2001 -->
  25. <!-- -->
  26. <!-- (C) Copyright OASIS Open 2005, 2006. -->
  27. <!-- (C) Copyright IBM Corporation 2001, 2004. -->
  28. <!-- All Rights Reserved. -->
  29. <!-- -->
  30. <!-- UPDATES: -->
  31. <!-- 2005.11.15 RDA: Corrected public ID in the comment above -->
  32. <!-- 2005.11.15 RDA: Removed old declaration for topicreftypes -->
  33. <!-- entity -->
  34. <!-- 2006.06.06 RDA: Removed default locktitle="yes" from -->
  35. <!-- %topicref-atts-no-toc; -->
  36. <!-- Remove keyword declaration -->
  37. <!-- Add reference to commonElements -->
  38. <!-- Add title element to map -->
  39. <!-- Add data element to topicmeta -->
  40. <!-- Remove shortdesc declaration -->
  41. <!-- 2006.06.07 RDA: Make universal attributes universal -->
  42. <!-- (DITA 1.1 proposal #12) -->
  43. <!-- 2006.06.14 RDA: Add dir attribute to localization-atts -->
  44. <!-- 2006.06.14 RDA: Add outputclass attribute to most elemetns -->
  45. <!-- 2006.11.30 RDA: Add -dita-use-conref-target to enumerated -->
  46. <!-- attributes -->
  47. <!-- 2006.11.30 RDA: Remove #FIXED from DITAArchVersion -->
  48. <!-- ============================================================= -->
  49. <!-- ============================================================= -->
  50. <!-- ARCHITECTURE ENTITIES -->
  51. <!-- ============================================================= -->
  52. <!-- default namespace prefix for DITAArchVersion attribute can be
  53. overridden through predefinition in the document type shell -->
  54. <!ENTITY % DITAArchNSPrefix
  55. "ditaarch" >
  56. <!-- must be instanced on each topic type -->
  57. <!ENTITY % arch-atts "
  58. xmlns:%DITAArchNSPrefix;
  59. CDATA #FIXED
  60. 'http://dita.oasis-open.org/architecture/2005/'
  61. %DITAArchNSPrefix;:DITAArchVersion
  62. CDATA '1.1'" >
  63. <!-- ============================================================= -->
  64. <!-- ELEMENT NAME ENTITIES -->
  65. <!-- ============================================================= -->
  66. <!ENTITY % map "map" >
  67. <!ENTITY % anchor "anchor" >
  68. <!ENTITY % linktext "linktext" >
  69. <!ENTITY % navref "navref" >
  70. <!ENTITY % relcell "relcell" >
  71. <!ENTITY % relcolspec "relcolspec" >
  72. <!ENTITY % relheader "relheader" >
  73. <!ENTITY % relrow "relrow" >
  74. <!ENTITY % reltable "reltable" >
  75. <!ENTITY % searchtitle "searchtitle" >
  76. <!ENTITY % shortdesc "shortdesc" >
  77. <!ENTITY % topicmeta "topicmeta" >
  78. <!ENTITY % topicref "topicref" >
  79. <!-- ============================================================= -->
  80. <!-- ENTITY DECLARATIONS FOR ATTRIBUTE VALUES -->
  81. <!-- ============================================================= -->
  82. <!-- DATE FORMAT -->
  83. <!-- Copied into metaDecl.mod -->
  84. <!--<!ENTITY % date-format 'CDATA' >-->
  85. <!-- ============================================================= -->
  86. <!-- COMMON ATTLIST SETS -->
  87. <!-- ============================================================= -->
  88. <!ENTITY % topicref-atts
  89. 'collection-type
  90. (choice | unordered |
  91. sequence | family |
  92. -dita-use-conref-target) #IMPLIED
  93. type CDATA #IMPLIED
  94. scope (local | peer | external |
  95. -dita-use-conref-target) #IMPLIED
  96. locktitle (yes | no |
  97. -dita-use-conref-target) #IMPLIED
  98. format CDATA #IMPLIED
  99. linking (none | normal |
  100. sourceonly | targetonly |
  101. -dita-use-conref-target) #IMPLIED
  102. toc (yes | no |
  103. -dita-use-conref-target) #IMPLIED
  104. print (yes | no | printonly |
  105. -dita-use-conref-target) #IMPLIED
  106. search (yes | no |
  107. -dita-use-conref-target) #IMPLIED
  108. chunk CDATA #IMPLIED' >
  109. <!ENTITY % topicref-atts-no-toc
  110. 'collection-type
  111. (choice | unordered |
  112. sequence | family |
  113. -dita-use-conref-target) #IMPLIED
  114. type CDATA #IMPLIED
  115. scope (local | peer | external |
  116. -dita-use-conref-target) #IMPLIED
  117. locktitle (yes | no |
  118. -dita-use-conref-target) #IMPLIED
  119. format CDATA #IMPLIED
  120. linking (targetonly | sourceonly |
  121. normal | none |
  122. -dita-use-conref-target) #IMPLIED
  123. toc (yes | no |
  124. -dita-use-conref-target) "no"
  125. print (yes | no | printonly |
  126. -dita-use-conref-target) #IMPLIED
  127. search (yes | no |
  128. -dita-use-conref-target) #IMPLIED
  129. chunk CDATA #IMPLIED' >
  130. <!-- ============================================================= -->
  131. <!-- MODULES CALLS -->
  132. <!-- ============================================================= -->
  133. <!-- Content elements common to map and topic -->
  134. <!ENTITY % commonElements PUBLIC
  135. "-//OASIS//ELEMENTS DITA Common Elements//EN" "commonElements.mod" >
  136. %commonElements;
  137. <!-- MetaData Elements -->
  138. <!ENTITY % metaXML PUBLIC
  139. "-//OASIS//ELEMENTS DITA Metadata//EN" "metaDecl.mod" >
  140. %metaXML;
  141. <!-- ============================================================= -->
  142. <!-- DOMAINS ATTRIBUTE OVERRIDE -->
  143. <!-- ============================================================= -->
  144. <!ENTITY included-domains "" >
  145. <!-- ============================================================= -->
  146. <!-- ELEMENT DECLARATIONS -->
  147. <!-- ============================================================= -->
  148. <!-- LONG NAME: Map -->
  149. <!ELEMENT map ((%title;)?, (%topicmeta;)?,
  150. (%navref;|%anchor;|%topicref;|%reltable;|
  151. %data.elements.incl;)* ) >
  152. <!ATTLIST map
  153. title CDATA #IMPLIED
  154. id ID #IMPLIED
  155. conref CDATA #IMPLIED
  156. anchorref CDATA #IMPLIED
  157. outputclass
  158. CDATA #IMPLIED
  159. %localization-atts;
  160. %arch-atts;
  161. domains CDATA "&included-domains;"
  162. %topicref-atts;
  163. %select-atts; >
  164. <!-- LONG NAME: Navigation Reference -->
  165. <!ELEMENT navref EMPTY >
  166. <!ATTLIST navref
  167. %univ-atts;
  168. outputclass
  169. CDATA #IMPLIED
  170. mapref CDATA #IMPLIED >
  171. <!-- LONG NAME: Topic Reference -->
  172. <!ELEMENT topicref ((%topicmeta;)?,
  173. (%topicref; | %navref; | %anchor; |
  174. %data.elements.incl;)* ) >
  175. <!ATTLIST topicref
  176. navtitle CDATA #IMPLIED
  177. href CDATA #IMPLIED
  178. keyref CDATA #IMPLIED
  179. query CDATA #IMPLIED
  180. copy-to CDATA #IMPLIED
  181. outputclass
  182. CDATA #IMPLIED
  183. %topicref-atts;
  184. %univ-atts; >
  185. <!-- LONG NAME: Anchor -->
  186. <!ELEMENT anchor EMPTY >
  187. <!ATTLIST anchor
  188. outputclass
  189. CDATA #IMPLIED
  190. %localization-atts;
  191. id ID #REQUIRED
  192. conref CDATA #IMPLIED
  193. %select-atts; >
  194. <!-- LONG NAME: Relationship Table -->
  195. <!ELEMENT reltable ((%topicmeta;)?, (%relheader;)?,
  196. (%relrow;)+) >
  197. <!ATTLIST reltable
  198. title CDATA #IMPLIED
  199. outputclass
  200. CDATA #IMPLIED
  201. %topicref-atts-no-toc;
  202. %univ-atts; >
  203. <!-- LONG NAME: Relationship Header -->
  204. <!ELEMENT relheader (%relcolspec;)+ >
  205. <!ATTLIST relheader
  206. %univ-atts; >
  207. <!-- LONG NAME: Relationship Column Specification
  208. -->
  209. <!ELEMENT relcolspec (%topicmeta;)? >
  210. <!ATTLIST relcolspec
  211. outputclass
  212. CDATA #IMPLIED
  213. %topicref-atts;
  214. %univ-atts; >
  215. <!-- LONG NAME: Relationship Table Row -->
  216. <!ELEMENT relrow (%relcell;)* >
  217. <!ATTLIST relrow
  218. outputclass
  219. CDATA #IMPLIED
  220. %univ-atts; >
  221. <!-- LONG NAME: Relationship Table Cell -->
  222. <!ELEMENT relcell ((%topicref;|%data.elements.incl;)*)>
  223. <!ATTLIST relcell
  224. outputclass
  225. CDATA #IMPLIED
  226. %topicref-atts;
  227. %univ-atts; >
  228. <!-- LONG NAME: Topic Metadata -->
  229. <!ELEMENT topicmeta ((%linktext;)?, (%searchtitle;)?,
  230. (%shortdesc;)?, (%author;)*, (%source;)?,
  231. (%publisher;)?, (%copyright;)*,
  232. (%critdates;)?, (%permissions;)?,
  233. (%audience;)*, (%category;)*,
  234. (%keywords;)*, (%prodinfo;)*, (%othermeta;)*,
  235. (%resourceid;)*,
  236. (%data.elements.incl; |
  237. %foreign.unknown.incl;)*) >
  238. <!ATTLIST topicmeta
  239. lockmeta (yes | no |
  240. -dita-use-conref-target) #IMPLIED
  241. %univ-atts; >
  242. <!-- LONG NAME: Link Text -->
  243. <!ELEMENT linktext (%words.cnt;)* >
  244. <!ATTLIST linktext
  245. outputclass
  246. CDATA #IMPLIED
  247. %univ-atts; >
  248. <!-- LONG NAME: Search Title -->
  249. <!ELEMENT searchtitle (%words.cnt;)* >
  250. <!ATTLIST searchtitle
  251. outputclass
  252. CDATA #IMPLIED
  253. %univ-atts; >
  254. <!-- LONG NAME: Short Description -->
  255. <!--<!ELEMENT shortdesc (%words.cnt;)* >-->
  256. <!-- ============================================================= -->
  257. <!-- SPECIALIZATION ATTRIBUTE DECLARATIONS -->
  258. <!-- ============================================================= -->
  259. <!ATTLIST map %global-atts; class CDATA "- map/map " >
  260. <!ATTLIST navref %global-atts; class CDATA "- map/navref " >
  261. <!ATTLIST topicref %global-atts; class CDATA "- map/topicref " >
  262. <!ATTLIST anchor %global-atts; class CDATA "- map/anchor " >
  263. <!ATTLIST reltable %global-atts; class CDATA "- map/reltable " >
  264. <!ATTLIST relheader %global-atts; class CDATA "- map/relheader " >
  265. <!ATTLIST relcolspec %global-atts; class CDATA "- map/relcolspec " >
  266. <!ATTLIST relrow %global-atts; class CDATA "- map/relrow " >
  267. <!ATTLIST relcell %global-atts; class CDATA "- map/relcell " >
  268. <!ATTLIST topicmeta %global-atts; class CDATA "- map/topicmeta " >
  269. <!ATTLIST linktext %global-atts; class CDATA "- map/linktext " >
  270. <!ATTLIST searchtitle %global-atts; class CDATA "- map/searchtitle ">
  271. <!-- Shortdesc in topic uses topic/shortdesc so this one must be
  272. included, even though the element is common. -->
  273. <!ATTLIST shortdesc %global-atts; class CDATA "- map/shortdesc " >
  274. <!-- ================== End DITA Map ============================= -->