mapMod.xsd 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- ============================================================= -->
  3. <!-- HEADER -->
  4. <!-- ============================================================= -->
  5. <!-- ============================================================= -->
  6. <!-- MODULE: DITA MAP XSD Module -->
  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 to -->
  25. <!-- map.xsd -->
  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. <!-- ======= IMPORT - XML attributes and namespace ======= -->
  29. <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="urn:oasis:names:tc:dita:xsd:xml.xsd:1.1"/>
  30. <xs:import namespace="http://dita.oasis-open.org/architecture/2005/" schemaLocation="urn:oasis:names:tc:dita:xsd:ditaarch.xsd:1.1"/>
  31. <!-- STRUCTURAL MEMBERS ======================================================== -->
  32. <!-- things that can be nested under topic after body - redefined when specializing -->
  33. <!--xs:simpleType name="topicreftypes.class">
  34. <xs:restriction base="xs:string">
  35. <xs:enumeration value="topic"/>
  36. <xs:enumeration value="concept"/>
  37. <xs:enumeration value="task"/>
  38. <xs:enumeration value="reference"/>
  39. <xs:enumeration value="external"/>
  40. <xs:enumeration value="local"/>
  41. </xs:restriction>
  42. </xs:simpleType>-->
  43. <xs:attributeGroup name="topicref-atts">
  44. <xs:annotation>
  45. <xs:documentation>
  46. The %topicref-atts; parameter entity represents a group of attributes
  47. used in numerous map elements: map, topicref, relcolspec, relcell, topichead,
  48. and topicgroup. The set is similar to those documented in <ph><xref href="topicref-atts-no-toc.xml">topicref-atts-no-toc</xref></ph> but
  49. includes the <i><keyword>toc</keyword></i> attribute.
  50. </xs:documentation>
  51. </xs:annotation>
  52. <xs:attribute name="collection-type" type="collection-type.class"/>
  53. <xs:attribute name="type" type="xs:string"/>
  54. <xs:attribute name="scope" type="scope-att.class"/>
  55. <xs:attribute name="locktitle" type="yesno-att.class"/>
  56. <xs:attribute name="format" type="xs:string"/>
  57. <xs:attribute name="linking" type="linkingtypes.class"/>
  58. <xs:attribute name="toc" type="yesno-att.class"/>
  59. <xs:attribute name="print" type="yesno-att.class"/>
  60. <xs:attribute name="search" type="yesno-att.class"/>
  61. <xs:attribute name="chunk" type="xs:string"/>
  62. </xs:attributeGroup>
  63. <xs:simpleType name="collection-type.class">
  64. <xs:restriction base="xs:string">
  65. <xs:enumeration value="choice"/>
  66. <xs:enumeration value="unordered"/>
  67. <xs:enumeration value="sequence"/>
  68. <xs:enumeration value="family"/>
  69. <xs:enumeration value="-dita-use-conref-target"/>
  70. </xs:restriction>
  71. </xs:simpleType>
  72. <xs:simpleType name="linkingtypes.class">
  73. <xs:restriction base="xs:string">
  74. <xs:enumeration value="targetonly"/>
  75. <xs:enumeration value="sourceonly"/>
  76. <xs:enumeration value="normal"/>
  77. <xs:enumeration value="none"/>
  78. <xs:enumeration value="-dita-use-conref-target"/>
  79. </xs:restriction>
  80. </xs:simpleType>
  81. <xs:attributeGroup name="topicref-atts-no-toc">
  82. <xs:annotation>
  83. <xs:documentation>
  84. The %topicref-atts-no-toc; parameter entity represents the set
  85. of attributes used in the <ph><xref href="reltable.xml">reltable</xref></ph> map
  86. element. The set is similar to those documented in <ph><xref href="topicref-atts.xml">topicref-atts</xref></ph> but
  87. for &lt;<keyword>reltable</keyword>&gt; the <i><keyword>toc</keyword></i> attribute
  88. defaults to <q>no</q>. For the other elements that use the %topicref-atts;
  89. group declaration, the <i><keyword>toc</keyword></i> attribute doesn't have
  90. a default; they can inherit their <i><keyword>toc</keyword></i> value from
  91. the nearest container, otherwise it functions upon output as if set to <q>yes</q>.
  92. </xs:documentation>
  93. </xs:annotation>
  94. <xs:attribute name="collection-type" type="collection-type.class"/>
  95. <xs:attribute name="type" type="xs:string"/>
  96. <xs:attribute name="scope" type="scope-att.class"/>
  97. <xs:attribute name="locktitle" type="yesno-att.class"/>
  98. <xs:attribute name="format" type="xs:string"/>
  99. <xs:attribute name="linking" type="linkingtypes.class"/>
  100. <xs:attribute name="toc" type="yesno-att.class" default="no"/>
  101. <xs:attribute name="print" type="yesno-att.class"/>
  102. <xs:attribute name="search" type="yesno-att.class"/>
  103. <xs:attribute name="chunk" type="xs:string"/>
  104. </xs:attributeGroup>
  105. <xs:element name="map">
  106. <xs:annotation>
  107. <xs:documentation>
  108. The &lt;<keyword>map</keyword>&gt; element is used to define a map
  109. which describes the relationships among a set of DITA topics. Maps consist
  110. of references to topics organized into hierarchies and tables. Maps provide
  111. a way to express these relationships in a single common format that can be
  112. used for different outputs.
  113. </xs:documentation>
  114. </xs:annotation>
  115. <xs:complexType>
  116. <xs:complexContent>
  117. <xs:extension base="map.class">
  118. <xs:attribute ref="class" default="- map/map " />
  119. </xs:extension>
  120. </xs:complexContent>
  121. </xs:complexType>
  122. </xs:element>
  123. <xs:complexType name="map.class" >
  124. <xs:sequence>
  125. <xs:group ref="title" minOccurs="0" />
  126. <xs:group ref="topicmeta" minOccurs="0" />
  127. <xs:choice minOccurs="0" maxOccurs="unbounded">
  128. <xs:group ref="navref" />
  129. <xs:group ref="anchor" />
  130. <xs:group ref="topicref" />
  131. <xs:group ref="reltable" />
  132. <xs:group ref="data.element.incl" />
  133. </xs:choice>
  134. </xs:sequence>
  135. <xs:attribute name="title" type="xs:string" />
  136. <xs:attribute name="id" type="xs:ID" />
  137. <xs:attribute name="conref" type="xs:string" />
  138. <xs:attribute name="anchorref" type="xs:string" />
  139. <xs:attribute name="outputclass" type="xs:string" />
  140. <xs:attributeGroup ref="topicref-atts" />
  141. <xs:attributeGroup ref="select-atts" />
  142. <xs:attributeGroup ref="localization-atts"/>
  143. <xs:attribute ref="ditaarch:DITAArchVersion"/>
  144. <xs:attributeGroup ref="global-atts" />
  145. </xs:complexType>
  146. <xs:element name="navref">
  147. <xs:annotation>
  148. <xs:documentation>
  149. The &lt;<keyword>navref</keyword>&gt; element references a map file
  150. from within a map file. The reference is resolved at runtime for Eclipse
  151. navigation, typically to pull together the navigation for multiple components
  152. into a product navigation. <ph conref="commonLRdefs.xml#commonLRdefs/only4eclipse"></ph>
  153. </xs:documentation>
  154. </xs:annotation>
  155. <xs:complexType>
  156. <xs:complexContent>
  157. <xs:extension base="navref.class">
  158. <xs:attribute ref="class" default="- map/navref " />
  159. </xs:extension>
  160. </xs:complexContent>
  161. </xs:complexType>
  162. </xs:element>
  163. <xs:complexType name="navref.class">
  164. <xs:attributeGroup ref="univ-atts"/>
  165. <xs:attribute name="outputclass" type="xs:string" />
  166. <xs:attribute name="mapref" type="xs:string"/>
  167. <xs:attributeGroup ref="global-atts" />
  168. </xs:complexType>
  169. <xs:element name="topicref">
  170. <xs:annotation>
  171. <xs:documentation>
  172. The &lt;<keyword>topicref</keyword>&gt; element designates a topic
  173. (such as a concept, task, or reference) as a link in a DITA map. A &lt;<keyword>topicref</keyword>&gt;
  174. can contain other&lt;<keyword>topicref</keyword>&gt; elements, allowing you to
  175. express navigation or table-of-contents hierarchies, as well as implying relationships
  176. between the containing &lt;<keyword>topicref</keyword>&gt; and its children.
  177. You can set the collection-type of a container &lt;<keyword>topicref</keyword>&gt;
  178. to determine how its children are related to each other. Relationships end
  179. up expressed as links in the output (with each participant in a relationship
  180. having links to the other participants).
  181. </xs:documentation>
  182. </xs:annotation>
  183. <xs:complexType>
  184. <xs:complexContent>
  185. <xs:extension base="topicref.class">
  186. <xs:attribute ref="class" default="- map/topicref " />
  187. </xs:extension>
  188. </xs:complexContent>
  189. </xs:complexType>
  190. </xs:element>
  191. <xs:complexType name="topicref.class">
  192. <xs:sequence>
  193. <xs:group ref="topicmeta" minOccurs="0"/>
  194. <xs:choice minOccurs="0" maxOccurs="unbounded">
  195. <xs:group ref="navref" />
  196. <xs:group ref="anchor" />
  197. <xs:group ref="topicref" />
  198. <xs:group ref="data.element.incl" />
  199. </xs:choice>
  200. </xs:sequence>
  201. <xs:attribute name="navtitle" type="xs:string"/>
  202. <xs:attribute name="href" type="xs:string"/>
  203. <xs:attribute name="keyref" type="xs:string"/>
  204. <xs:attribute name="query" type="xs:string"/>
  205. <xs:attribute name="copy-to" type="xs:string"/>
  206. <xs:attributeGroup ref="topicref-atts" />
  207. <xs:attributeGroup ref="univ-atts" />
  208. <xs:attribute name="outputclass" type="xs:string"/>
  209. <xs:attributeGroup ref="global-atts" />
  210. </xs:complexType>
  211. <xs:element name="reltable">
  212. <xs:annotation>
  213. <xs:documentation>
  214. The relationship table (&lt;<keyword>reltable</keyword>&gt;) defines
  215. relationships between topics, based on the familiar table model of rows (&lt;<keyword>relrow</keyword>&gt;),
  216. columns (&lt;<keyword>relheader</keyword>&gt;), and cells (&lt;<keyword>relcell</keyword>>).
  217. The &lt;<keyword>relcell</keyword>&gt; elements can contain &lt;<keyword>topicref</keyword>&gt;
  218. elements, which are then related to other &lt;<keyword>topicref</keyword>&gt;
  219. elements in the same row (although not necessarily in the same cell). By default,
  220. the contents of a &lt;<keyword>reltable</keyword>&gt; element are not output
  221. for navigation or TOC purposes, and are used only to define relationships
  222. that can be expressed as topic-to-topic links.
  223. </xs:documentation>
  224. </xs:annotation>
  225. <xs:complexType>
  226. <xs:complexContent>
  227. <xs:extension base="reltable.class">
  228. <xs:attribute ref="class" default="- map/reltable " />
  229. </xs:extension>
  230. </xs:complexContent>
  231. </xs:complexType>
  232. </xs:element>
  233. <xs:complexType name="reltable.class">
  234. <xs:sequence>
  235. <xs:group ref="topicmeta" minOccurs="0" />
  236. <xs:group ref="relheader" minOccurs="0" />
  237. <xs:group ref="relrow" maxOccurs="unbounded" />
  238. </xs:sequence>
  239. <xs:attribute name="title" type="xs:string" />
  240. <xs:attributeGroup ref="topicref-atts-no-toc" />
  241. <xs:attributeGroup ref="univ-atts" />
  242. <xs:attribute name="outputclass" type="xs:string"/>
  243. <xs:attributeGroup ref="global-atts" />
  244. </xs:complexType>
  245. <xs:element name="relheader">
  246. <xs:annotation>
  247. <xs:documentation>
  248. The &lt;<keyword>relheader</keyword>&gt; element is a row of column
  249. definitions (&lt;<keyword>relcolspec</keyword>&gt; elements) in a relationship
  250. table. Each table can have only one set of column definitions.
  251. </xs:documentation>
  252. </xs:annotation>
  253. <xs:complexType>
  254. <xs:complexContent>
  255. <xs:extension base="relheader.class">
  256. <xs:attribute ref="class" default="- map/relheader " />
  257. </xs:extension>
  258. </xs:complexContent>
  259. </xs:complexType>
  260. </xs:element>
  261. <xs:complexType name="relheader.class">
  262. <xs:sequence maxOccurs="unbounded">
  263. <xs:group ref="relcolspec" />
  264. </xs:sequence>
  265. <xs:attributeGroup ref="univ-atts" />
  266. <xs:attributeGroup ref="global-atts" />
  267. </xs:complexType>
  268. <xs:element name="relcolspec">
  269. <xs:annotation>
  270. <xs:documentation>
  271. A column definition in the relationship table. You can use &lt;<keyword>relcolspec</keyword>&gt;
  272. column definitions to set defaults for the attributes of &lt;<keyword>topicref</keyword>&gt;
  273. elements in the column. For example, you can set type="concept" to treat all
  274. untyped &lt;<keyword>topicref</keyword>&gt; elements in the column as concepts.
  275. </xs:documentation>
  276. </xs:annotation>
  277. <xs:complexType>
  278. <xs:complexContent>
  279. <xs:extension base="relcolspec.class">
  280. <xs:attribute ref="class" default="- map/relcolspec " />
  281. </xs:extension>
  282. </xs:complexContent>
  283. </xs:complexType>
  284. </xs:element>
  285. <xs:complexType name="relcolspec.class">
  286. <xs:sequence minOccurs="0">
  287. <xs:group ref="topicmeta" />
  288. </xs:sequence>
  289. <xs:attributeGroup ref="univ-atts" />
  290. <xs:attributeGroup ref="topicref-atts" />
  291. <xs:attribute name="outputclass" type="xs:string"/>
  292. <xs:attributeGroup ref="global-atts" />
  293. </xs:complexType>
  294. <xs:element name="relrow">
  295. <xs:annotation>
  296. <xs:documentation>
  297. A &lt;<keyword>relrow</keyword>&gt; is a row in the relationship table.
  298. This creates a relationship between the cells in the row, which will end up
  299. expressed as links among the &lt;<keyword>topicref</keyword>&gt; elements in
  300. the cells.
  301. </xs:documentation>
  302. </xs:annotation>
  303. <xs:complexType>
  304. <xs:complexContent>
  305. <xs:extension base="relrow.class">
  306. <xs:attribute ref="class" default="- map/relrow " />
  307. </xs:extension>
  308. </xs:complexContent>
  309. </xs:complexType>
  310. </xs:element>
  311. <xs:complexType name="relrow.class">
  312. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  313. <xs:group ref="relcell" />
  314. </xs:sequence>
  315. <xs:attributeGroup ref="univ-atts" />
  316. <xs:attribute name="outputclass" type="xs:string"/>
  317. <xs:attributeGroup ref="global-atts" />
  318. </xs:complexType>
  319. <xs:element name="relcell">
  320. <xs:annotation>
  321. <xs:documentation>
  322. A &lt;<keyword>relcell</keyword>&gt; element is a cell in the relationship
  323. table. The &lt;<keyword>topicref</keyword>&gt; elements it contains will be related
  324. to topicrefs in other cells of the same row. By default, topicrefs in the
  325. same cell are not related to each other, unless you change the relcell's collection-type
  326. attribute to indicate that they are related.
  327. </xs:documentation>
  328. </xs:annotation>
  329. <xs:complexType>
  330. <xs:complexContent>
  331. <xs:extension base="relcell.class">
  332. <xs:attribute ref="class" default="- map/relcell " />
  333. </xs:extension>
  334. </xs:complexContent>
  335. </xs:complexType>
  336. </xs:element>
  337. <xs:complexType name="relcell.class">
  338. <xs:choice minOccurs="0" maxOccurs="unbounded">
  339. <xs:group ref="topicref" />
  340. <xs:group ref="data.element.incl" />
  341. </xs:choice>
  342. <xs:attributeGroup ref="univ-atts" />
  343. <xs:attributeGroup ref="topicref-atts" />
  344. <xs:attribute name="outputclass" type="xs:string"/>
  345. <xs:attributeGroup ref="global-atts" />
  346. </xs:complexType>
  347. <xs:element name="anchor">
  348. <xs:annotation>
  349. <xs:documentation>
  350. The &lt;<keyword>anchor</keyword>&gt; element is used for runtime
  351. integration of navigation. It provides an integration point that another map
  352. can point to in order to insert its navigation into the current navigation
  353. tree. It is currently supported by Eclipse output only.
  354. </xs:documentation>
  355. </xs:annotation>
  356. <xs:complexType>
  357. <xs:complexContent>
  358. <xs:extension base="anchor.class">
  359. <xs:attribute ref="class" default="- map/anchor " />
  360. </xs:extension>
  361. </xs:complexContent>
  362. </xs:complexType>
  363. </xs:element>
  364. <xs:complexType name="anchor.class">
  365. <xs:attribute name="id" type="xs:ID" use="required"/>
  366. <xs:attribute name="outputclass" type="xs:string"/>
  367. <xs:attribute name="conref" type="xs:string"/>
  368. <xs:attributeGroup ref="localization-atts"/>
  369. <xs:attributeGroup ref="select-atts" />
  370. <xs:attributeGroup ref="global-atts" />
  371. </xs:complexType>
  372. <xs:element name="topicmeta">
  373. <xs:annotation>
  374. <xs:documentation>
  375. The &lt;<keyword>topicmeta</keyword>&gt; element defines the metadata
  376. that applies to a topic and the topic's children. When creating links, it
  377. can also be used to override the title and short description of the topic.
  378. In addition, it can insert index entries through the &lt;<keyword>keywords</keyword>&gt;
  379. element.
  380. </xs:documentation>
  381. </xs:annotation>
  382. <xs:complexType>
  383. <xs:complexContent>
  384. <xs:extension base="topicmeta.class">
  385. <xs:attribute ref="class" default="- map/topicmeta " />
  386. </xs:extension>
  387. </xs:complexContent>
  388. </xs:complexType>
  389. </xs:element>
  390. <xs:complexType name="topicmeta.class" >
  391. <xs:sequence>
  392. <xs:group ref="linktext" minOccurs="0"/>
  393. <xs:group ref="searchtitle" minOccurs="0"/>
  394. <xs:group ref="shortdesc" minOccurs="0"/>
  395. <xs:group ref="author" minOccurs="0" maxOccurs="unbounded"/>
  396. <xs:group ref="source" minOccurs="0"/>
  397. <xs:group ref="publisher" minOccurs="0"/>
  398. <xs:group ref="copyright" minOccurs="0" maxOccurs="unbounded"/>
  399. <xs:group ref="critdates" minOccurs="0"/>
  400. <xs:group ref="permissions" minOccurs="0"/>
  401. <xs:group ref="audience" minOccurs="0" maxOccurs="unbounded"/>
  402. <xs:group ref="category" minOccurs="0" maxOccurs="unbounded"/>
  403. <xs:group ref="keywords" minOccurs="0" maxOccurs="unbounded"/>
  404. <xs:group ref="prodinfo" minOccurs="0" maxOccurs="unbounded"/>
  405. <xs:group ref="othermeta" minOccurs="0" maxOccurs="unbounded"/>
  406. <xs:group ref="resourceid" minOccurs="0" maxOccurs="unbounded"/>
  407. <xs:choice minOccurs="0" maxOccurs="unbounded">
  408. <xs:group ref="data.element.incl" />
  409. <xs:group ref="foreign.unknown.incl" />
  410. </xs:choice>
  411. </xs:sequence>
  412. <xs:attribute name="lockmeta" type="yesno-att.class"/>
  413. <xs:attributeGroup ref="univ-atts"/>
  414. <xs:attributeGroup ref="global-atts" />
  415. </xs:complexType>
  416. <xs:element name="linktext">
  417. <xs:annotation>
  418. <xs:documentation>
  419. The &lt;<keyword>linktext</keyword>&gt; element provides the literal
  420. label or line of text for a link. In most cases, the text of a link can be
  421. resolved during processing by cross reference with the target resource. Use
  422. the &lt;<keyword>linktext</keyword>&gt; element only when the target cannot be
  423. reached, such as when it is a peer or external link.
  424. </xs:documentation>
  425. </xs:annotation>
  426. <xs:complexType mixed="true">
  427. <xs:complexContent>
  428. <xs:extension base="linktext.class">
  429. <xs:attribute ref="class" default="- map/linktext " />
  430. </xs:extension>
  431. </xs:complexContent>
  432. </xs:complexType>
  433. </xs:element>
  434. <xs:complexType name="linktext.class" mixed="true">
  435. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  436. <xs:group ref="words.cnt"/>
  437. </xs:sequence>
  438. <xs:attribute name="outputclass" type="xs:string"/>
  439. <xs:attributeGroup ref="univ-atts"/>
  440. <xs:attributeGroup ref="global-atts" />
  441. </xs:complexType>
  442. <xs:element name="searchtitle">
  443. <xs:annotation>
  444. <xs:documentation>
  445. When your DITA topic is transformed to XHTML, the &lt;<keyword>searchtitle</keyword>&gt;
  446. element is used to create a title element at the top of the resulting HTML
  447. file. This title is normally used in search result summaries by some search
  448. engines, such as that in Eclipse (<ph><xref format="html" href="http://eclipse.org"
  449. scope="external">http://eclipse.org</xref></ph>); if not set, the XHTML's
  450. title element defaults to the source topic's title content (which may not
  451. be as well optimized for search summaries)
  452. </xs:documentation>
  453. </xs:annotation>
  454. <xs:complexType mixed="true">
  455. <xs:complexContent>
  456. <xs:extension base="searchtitle.class">
  457. <xs:attribute ref="class" default="- map/searchtitle " />
  458. </xs:extension>
  459. </xs:complexContent>
  460. </xs:complexType>
  461. </xs:element>
  462. <xs:complexType name="searchtitle.class" mixed="true">
  463. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  464. <xs:group ref="words.cnt"/>
  465. </xs:sequence>
  466. <xs:attribute name="outputclass" type="xs:string"/>
  467. <xs:attributeGroup ref="univ-atts"/>
  468. <xs:attributeGroup ref="global-atts" />
  469. </xs:complexType >
  470. <xs:element name="shortdesc">
  471. <xs:annotation>
  472. <xs:documentation>
  473. The short description (&lt;<keyword>shortdesc</keyword>&gt;) element
  474. occurs between the topic title and the topic body, as the initial paragraph-like
  475. content of a topic. The short description, which represents the purpose or
  476. theme of the topic, is also intended to be used as a link preview and for
  477. searching.
  478. </xs:documentation>
  479. </xs:annotation>
  480. <xs:complexType mixed="true">
  481. <xs:complexContent>
  482. <xs:extension base="shortdesc.class">
  483. <xs:attribute ref="class" default="- map/shortdesc " />
  484. </xs:extension>
  485. </xs:complexContent>
  486. </xs:complexType>
  487. </xs:element>
  488. <!--<xs:complexType name="shortdesc.class" mixed="true">
  489. <xs:sequence minOccurs="0" maxOccurs="unbounded">
  490. <xs:group ref="words.cnt"/>
  491. </xs:sequence>
  492. <xs:attributeGroup ref="global-atts" />
  493. </xs:complexType >-->
  494. </xs:schema>