metaDeclMod.xsd 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- ============================================================= -->
  3. <!-- HEADER -->
  4. <!-- ============================================================= -->
  5. <!-- MODULE: DITA Metadata -->
  6. <!-- VERSION: 1.1 -->
  7. <!-- DATE: November 2006 -->
  8. <!-- -->
  9. <!-- ============================================================= -->
  10. <!-- ============================================================= -->
  11. <!-- SYSTEM: Darwin Information Typing Architecture (DITA) -->
  12. <!-- -->
  13. <!-- PURPOSE: Declaring the elements and specialization -->
  14. <!-- attributes for the DITA XML Metadata -->
  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. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
  24. <xs:element name="author">
  25. <xs:annotation>
  26. <xs:documentation>The &lt;<keyword>author</keyword>> metadata element contains the
  27. name of the topic's author. The currently unsupported keyref attribute can
  28. point to another location where the author information is defined.
  29. </xs:documentation>
  30. </xs:annotation>
  31. <xs:complexType mixed="true">
  32. <xs:complexContent>
  33. <xs:extension base="author.class">
  34. <xs:attribute ref="class" default="- topic/author "/>
  35. </xs:extension>
  36. </xs:complexContent>
  37. </xs:complexType>
  38. </xs:element>
  39. <xs:complexType name="author.class" mixed="true">
  40. <xs:choice minOccurs="0" maxOccurs="unbounded">
  41. <xs:group ref="words.cnt"/>
  42. </xs:choice>
  43. <xs:attribute name="href" type="xs:string"/>
  44. <xs:attribute name="keyref" type="xs:string"/>
  45. <xs:attribute name="type" type="author-type-atts.class"/>
  46. <xs:attributeGroup ref="univ-atts"/>
  47. <xs:attributeGroup ref="global-atts"/>
  48. </xs:complexType>
  49. <xs:simpleType name="author-type-atts.class">
  50. <xs:restriction base="xs:string">
  51. <xs:enumeration value="creator"/>
  52. <xs:enumeration value="contributor"/>
  53. <xs:enumeration value="-dita-use-conref-target"/>
  54. </xs:restriction>
  55. </xs:simpleType>
  56. <xs:element name="source">
  57. <xs:annotation>
  58. <xs:documentation>The &lt;<keyword>source</keyword>> element contains a reference
  59. to a resource from which the present topic is derived, either completely or
  60. in part. The element can contain a description of the resource; the <keyword>href</keyword> reference
  61. can be a string or a URL that points to it.
  62. </xs:documentation>
  63. </xs:annotation>
  64. <xs:complexType mixed="true">
  65. <xs:complexContent>
  66. <xs:extension base="source.class">
  67. <xs:attribute ref="class" default="- topic/source "/>
  68. </xs:extension>
  69. </xs:complexContent>
  70. </xs:complexType>
  71. </xs:element>
  72. <xs:complexType name="source.class" mixed="true">
  73. <xs:choice minOccurs="0" maxOccurs="unbounded">
  74. <xs:group ref="words.cnt"/>
  75. </xs:choice>
  76. <xs:attribute name="href" type="xs:string" />
  77. <xs:attribute name="keyref" type="xs:string"/>
  78. <xs:attributeGroup ref="univ-atts"/>
  79. <xs:attributeGroup ref="global-atts"/>
  80. </xs:complexType>
  81. <xs:element name="publisher">
  82. <xs:annotation>
  83. <xs:documentation>The &lt;<keyword>publisher</keyword>> metadata element contains
  84. the name of the person, company, or organization responsible for making the
  85. content or subject of the topic available.
  86. </xs:documentation>
  87. </xs:annotation>
  88. <xs:complexType mixed="true">
  89. <xs:complexContent>
  90. <xs:extension base="publisher.class">
  91. <xs:attribute ref="class" default="- topic/publisher "/>
  92. </xs:extension>
  93. </xs:complexContent>
  94. </xs:complexType>
  95. </xs:element>
  96. <xs:complexType name="publisher.class" mixed="true">
  97. <xs:choice minOccurs="0" maxOccurs="unbounded">
  98. <xs:group ref="words.cnt"/>
  99. </xs:choice>
  100. <xs:attribute name="href" type="xs:string" />
  101. <xs:attribute name="keyref" type="xs:string"/>
  102. <xs:attributeGroup ref="univ-atts"/>
  103. <xs:attributeGroup ref="global-atts"/>
  104. </xs:complexType>
  105. <xs:element name="copyright">
  106. <xs:annotation>
  107. <xs:documentation>The &lt;<keyword>copyright</keyword>> element is used for a single
  108. copyright entry. It includes the copyright years and the copyright holder.
  109. Multiple &lt;<keyword>copyright</keyword>> statements are allowed.
  110. </xs:documentation>
  111. </xs:annotation>
  112. <xs:complexType>
  113. <xs:complexContent>
  114. <xs:extension base="copyright.class">
  115. <xs:attribute ref="class" default="- topic/copyright "/>
  116. </xs:extension>
  117. </xs:complexContent>
  118. </xs:complexType>
  119. </xs:element>
  120. <xs:complexType name="copyright.class">
  121. <xs:sequence>
  122. <xs:group ref="copyryear" maxOccurs="unbounded"/>
  123. <xs:group ref="copyrholder"/>
  124. </xs:sequence>
  125. <xs:attribute name="type" type="copyright-type-att.class"/>
  126. <xs:attributeGroup ref="univ-atts"/>
  127. <xs:attributeGroup ref="global-atts"/>
  128. </xs:complexType>
  129. <xs:simpleType name="copyright-type-att.class">
  130. <xs:restriction base="xs:string">
  131. <xs:enumeration value="primary"/>
  132. <xs:enumeration value="secondary"/>
  133. <xs:enumeration value="-dita-use-conref-target"/>
  134. </xs:restriction>
  135. </xs:simpleType>
  136. <xs:element name="copyryear">
  137. <xs:annotation>
  138. <xs:documentation>The &lt;<keyword>copyryear</keyword>> element contains the copyright
  139. year as specified by the <keyword>year</keyword> attribute.
  140. </xs:documentation>
  141. </xs:annotation>
  142. <xs:complexType>
  143. <xs:complexContent>
  144. <xs:extension base="copyryear.class">
  145. <xs:attribute ref="class" default="- topic/copyryear "/>
  146. </xs:extension>
  147. </xs:complexContent>
  148. </xs:complexType>
  149. </xs:element>
  150. <xs:complexType name="copyryear.class">
  151. <xs:attribute name="year" type="xs:gYear" use="required"/>
  152. <xs:attributeGroup ref="univ-atts"/>
  153. <xs:attributeGroup ref="global-atts"/>
  154. </xs:complexType>
  155. <xs:element name="copyrholder">
  156. <xs:annotation>
  157. <xs:documentation>The copyright holder (&lt;<keyword>copyrholder</keyword>>) element
  158. names the entity that holds legal rights to the material contained in the
  159. topic.
  160. </xs:documentation>
  161. </xs:annotation>
  162. <xs:complexType mixed="true">
  163. <xs:complexContent>
  164. <xs:extension base="copyrholder.class">
  165. <xs:attribute ref="class" default="- topic/copyrholder "/>
  166. </xs:extension>
  167. </xs:complexContent>
  168. </xs:complexType>
  169. </xs:element>
  170. <xs:complexType name="copyrholder.class" mixed="true">
  171. <xs:choice minOccurs="0" maxOccurs="unbounded">
  172. <xs:group ref="words.cnt"/>
  173. </xs:choice>
  174. <xs:attributeGroup ref="univ-atts"/>
  175. <xs:attributeGroup ref="global-atts"/>
  176. </xs:complexType>
  177. <xs:element name="critdates">
  178. <xs:annotation>
  179. <xs:documentation>The &lt;<keyword>critdates</keyword>> element contains the critical
  180. dates in a document life cycle, such as the creation date and multiple revision
  181. dates.
  182. </xs:documentation>
  183. </xs:annotation>
  184. <xs:complexType>
  185. <xs:complexContent>
  186. <xs:extension base="critdates.class">
  187. <xs:attribute ref="class" default="- topic/critdates "/>
  188. </xs:extension>
  189. </xs:complexContent>
  190. </xs:complexType>
  191. </xs:element>
  192. <xs:complexType name="critdates.class">
  193. <xs:sequence>
  194. <xs:group ref="created"/>
  195. <xs:group ref="revised" minOccurs="0" maxOccurs="unbounded"/>
  196. </xs:sequence>
  197. <xs:attributeGroup ref="univ-atts"/>
  198. <xs:attributeGroup ref="global-atts"/>
  199. </xs:complexType>
  200. <xs:element name="revised">
  201. <xs:annotation>
  202. <xs:documentation>The &lt;<keyword>revised</keyword>> element in the prolog is used
  203. to maintain tracking dates that are important in a topic development cycle,
  204. such as the last modification date, the original availability date, and the
  205. expiration date.
  206. </xs:documentation>
  207. </xs:annotation>
  208. <xs:complexType>
  209. <xs:complexContent>
  210. <xs:extension base="revised.class">
  211. <xs:attribute ref="class" default="- topic/revised "/>
  212. </xs:extension>
  213. </xs:complexContent>
  214. </xs:complexType>
  215. </xs:element>
  216. <xs:complexType name="revised.class">
  217. <xs:attribute name="modified" type="xs:string" use="required"/>
  218. <xs:attribute name="golive" type="xs:string"/>
  219. <xs:attribute name="expiry" type="xs:string"/>
  220. <xs:attributeGroup ref="univ-atts"/>
  221. <xs:attributeGroup ref="global-atts"/>
  222. </xs:complexType>
  223. <xs:element name="created">
  224. <xs:annotation>
  225. <xs:documentation>The &lt;<keyword>created</keyword>> element specifies the document
  226. creation date using the <keyword>date</keyword> attribute.
  227. </xs:documentation>
  228. </xs:annotation>
  229. <xs:complexType>
  230. <xs:complexContent>
  231. <xs:extension base="created.class">
  232. <xs:attribute ref="class" default="- topic/created "/>
  233. </xs:extension>
  234. </xs:complexContent>
  235. </xs:complexType>
  236. </xs:element>
  237. <xs:complexType name="created.class">
  238. <xs:attribute name="date" type="xs:string" use="required"/>
  239. <xs:attribute name="golive" type="xs:string"/>
  240. <xs:attribute name="expiry" type="xs:string"/>
  241. <xs:attributeGroup ref="univ-atts"/>
  242. <xs:attributeGroup ref="global-atts"/>
  243. </xs:complexType>
  244. <xs:element name="resourceid">
  245. <xs:annotation>
  246. <xs:documentation> The &lt;<keyword>resourceid</keyword>> element provides an identifier
  247. for applications that require them in a particular format, when the normal
  248. id attribute of the topic can't be used. Each resourceid entry should be unique.
  249. It is one of the metadata elements that can be included within the prolog
  250. of a topic, along with document tracking and product information, etc. The
  251. element has no content, but takes an <keyword>id</keyword> attribute
  252. or an <keyword>appname</keyword> attribute.
  253. </xs:documentation>
  254. </xs:annotation>
  255. <xs:complexType>
  256. <xs:complexContent>
  257. <xs:extension base="resourceid.class">
  258. <xs:attribute ref="class" default="- topic/resourceid "/>
  259. </xs:extension>
  260. </xs:complexContent>
  261. </xs:complexType>
  262. </xs:element>
  263. <xs:complexType name="resourceid.class">
  264. <xs:attribute name="id" type="xs:string" use="required"/>
  265. <xs:attribute name="appname" type="xs:string"/>
  266. <xs:attribute name="conref" type="xs:string"/>
  267. <xs:attributeGroup ref="select-atts"/>
  268. <xs:attributeGroup ref="localization-atts"/>
  269. <xs:attributeGroup ref="global-atts"/>
  270. </xs:complexType>
  271. <xs:element name="audience">
  272. <xs:annotation>
  273. <xs:documentation>The &lt;<keyword>audience</keyword>&gt; metadata element indicates,
  274. through the value of its type attribute, the intended audience for a topic.
  275. Since a topic can have multiple audiences, you can include multiple audience
  276. elements. For each audience you specify, you can identify the high-level task
  277. (<keyword>job</keyword>) they are trying to accomplish and the level
  278. of experience (<keyword>experiencelevel</keyword>) expected.
  279. </xs:documentation>
  280. </xs:annotation>
  281. <xs:complexType>
  282. <xs:complexContent>
  283. <xs:extension base="audience.class">
  284. <xs:attribute ref="class" default="- topic/audience "/>
  285. </xs:extension>
  286. </xs:complexContent>
  287. </xs:complexType>
  288. </xs:element>
  289. <xs:complexType name="audience.class">
  290. <xs:attribute name="type" type="audience-type-att.class"/>
  291. <xs:attribute name="othertype" type="xs:string"/>
  292. <xs:attribute name="job" type="job-att.class"/>
  293. <xs:attribute name="otherjob" type="xs:string"/>
  294. <xs:attribute name="experiencelevel" type="experiencelevel-att.class"/>
  295. <xs:attribute name="name" type="xs:NMTOKEN"/>
  296. <xs:attributeGroup ref="univ-atts"/>
  297. <xs:attributeGroup ref="global-atts"/>
  298. </xs:complexType>
  299. <xs:element name="category">
  300. <xs:annotation>
  301. <xs:documentation>The &lt;<keyword>category</keyword>> element can represent any
  302. category by which a topic might be classified for retrieval or navigation;
  303. for example, the categories could be used to group topics in a generated navigation
  304. bar. Topics can belong to multiple categories.
  305. </xs:documentation>
  306. </xs:annotation>
  307. <xs:complexType mixed="true">
  308. <xs:complexContent>
  309. <xs:extension base="category.class">
  310. <xs:attribute ref="class" default="- topic/category "/>
  311. </xs:extension>
  312. </xs:complexContent>
  313. </xs:complexType>
  314. </xs:element>
  315. <xs:complexType name="category.class" mixed="true">
  316. <xs:choice minOccurs="0" maxOccurs="unbounded">
  317. <xs:group ref="words.cnt"/>
  318. </xs:choice>
  319. <xs:attributeGroup ref="univ-atts"/>
  320. <xs:attributeGroup ref="global-atts"/>
  321. </xs:complexType>
  322. <xs:element name="keywords">
  323. <xs:annotation>
  324. <xs:documentation>The &lt;<keyword>keywords</keyword>> element contains a list of
  325. keyword entries (using <ph><xref href="indexterm.xml">indexterm</xref></ph> or <ph><xref
  326. href="keyword.xml">keyword</xref></ph> markup) that can be used by a search
  327. engine.
  328. </xs:documentation>
  329. </xs:annotation>
  330. <xs:complexType>
  331. <xs:complexContent>
  332. <xs:extension base="keywords.class">
  333. <xs:attribute ref="class" default="- topic/keywords "/>
  334. </xs:extension>
  335. </xs:complexContent>
  336. </xs:complexType>
  337. </xs:element>
  338. <xs:complexType name="keywords.class">
  339. <xs:choice minOccurs="0" maxOccurs="unbounded">
  340. <xs:group ref="indexterm"/>
  341. <xs:group ref="keyword"/>
  342. </xs:choice>
  343. <xs:attributeGroup ref="univ-atts"/>
  344. <xs:attributeGroup ref="global-atts"/>
  345. </xs:complexType>
  346. <xs:element name="othermeta">
  347. <xs:annotation>
  348. <xs:documentation>The &lt;<keyword>othermeta</keyword>> element can be used to identify
  349. properties not otherwise included in &lt;<keyword>metadata</keyword>> and
  350. assign name/content values to those properties. The name attribute identifies
  351. the property and the content attribute specifies the property's value. The
  352. values in this attribute are output as HTML metadata elements, and have no
  353. defined meaning for other possible outputs such as PDF.
  354. </xs:documentation>
  355. </xs:annotation>
  356. <xs:complexType>
  357. <xs:complexContent>
  358. <xs:extension base="othermeta.class">
  359. <xs:attribute ref="class" default="- topic/othermeta "/>
  360. </xs:extension>
  361. </xs:complexContent>
  362. </xs:complexType>
  363. </xs:element>
  364. <xs:complexType name="othermeta.class">
  365. <xs:attribute name="name" type="xs:string" use="required"/>
  366. <xs:attribute name="content" type="xs:string" use="required"/>
  367. <xs:attribute name="translate-content" type="yesno-att.class"/>
  368. <xs:attributeGroup ref="univ-atts"/>
  369. <xs:attributeGroup ref="global-atts"/>
  370. </xs:complexType>
  371. <xs:element name="permissions">
  372. <xs:annotation>
  373. <xs:documentation>The &lt;<keyword>permissions</keyword>> empty prolog element can
  374. indicate any preferred controls for access to a topic. Topics can be filtered
  375. based on the permissions element. This capability depends on your output formatting
  376. process.
  377. </xs:documentation>
  378. </xs:annotation>
  379. <xs:complexType>
  380. <xs:complexContent>
  381. <xs:extension base="permissions.class">
  382. <xs:attribute ref="class" default="- topic/permissions "/>
  383. </xs:extension>
  384. </xs:complexContent>
  385. </xs:complexType>
  386. </xs:element>
  387. <xs:complexType name="permissions.class">
  388. <xs:attribute name="view" type="view-att.class" use="required"/>
  389. <xs:attributeGroup ref="global-atts"/>
  390. <xs:attributeGroup ref="univ-atts"/>
  391. </xs:complexType>
  392. <xs:element name="prodinfo">
  393. <xs:annotation>
  394. <xs:documentation>The &lt;<keyword>prodinfo</keyword>> metadata element in the prolog
  395. contains information about the product or products that are the subject matter
  396. of the current topic.
  397. </xs:documentation>
  398. </xs:annotation>
  399. <xs:complexType>
  400. <xs:complexContent>
  401. <xs:extension base="prodinfo.class">
  402. <xs:attribute ref="class" default="- topic/prodinfo "/>
  403. </xs:extension>
  404. </xs:complexContent>
  405. </xs:complexType>
  406. </xs:element>
  407. <xs:complexType name="prodinfo.class">
  408. <xs:sequence>
  409. <xs:group ref="prodname"/>
  410. <xs:group ref="vrmlist"/>
  411. <xs:choice minOccurs="0" maxOccurs="unbounded">
  412. <xs:group ref="prodinfo.cnt"/>
  413. </xs:choice>
  414. </xs:sequence>
  415. <xs:attributeGroup ref="univ-atts"/>
  416. <xs:attributeGroup ref="global-atts"/>
  417. </xs:complexType>
  418. <xs:element name="brand">
  419. <xs:annotation>
  420. <xs:documentation>The &lt;<keyword>brand</keyword>> element indicates the manufacturer
  421. or brand associated with the product described by the parent <ph><xref href="prodinfo.xml">&lt;<keyword>prodinfo</keyword>></xref></ph> element.
  422. </xs:documentation>
  423. </xs:annotation>
  424. <xs:complexType mixed="true">
  425. <xs:complexContent>
  426. <xs:extension base="brand.class">
  427. <xs:attribute ref="class" default="- topic/brand "/>
  428. </xs:extension>
  429. </xs:complexContent>
  430. </xs:complexType>
  431. </xs:element>
  432. <xs:complexType name="brand.class" mixed="true">
  433. <xs:choice minOccurs="0" maxOccurs="unbounded">
  434. <xs:group ref="words.cnt"/>
  435. </xs:choice>
  436. <xs:attributeGroup ref="univ-atts"/>
  437. <xs:attributeGroup ref="global-atts"/>
  438. </xs:complexType>
  439. <xs:element name="series">
  440. <xs:annotation>
  441. <xs:documentation>The &lt;<keyword>series</keyword>> metadata element contains information
  442. about the product series that the topic supports.
  443. </xs:documentation>
  444. </xs:annotation>
  445. <xs:complexType mixed="true">
  446. <xs:complexContent>
  447. <xs:extension base="series.class">
  448. <xs:attribute ref="class" default="- topic/series "/>
  449. </xs:extension>
  450. </xs:complexContent>
  451. </xs:complexType>
  452. </xs:element>
  453. <xs:complexType name="series.class" mixed="true">
  454. <xs:choice minOccurs="0" maxOccurs="unbounded">
  455. <xs:group ref="words.cnt"/>
  456. </xs:choice>
  457. <xs:attributeGroup ref="univ-atts"/>
  458. <xs:attributeGroup ref="global-atts"/>
  459. </xs:complexType>
  460. <xs:element name="platform">
  461. <xs:annotation>
  462. <xs:documentation>The &lt;<keyword>platform</keyword>> metadata element contains
  463. a description of the operating system and/or hardware related to the product
  464. being described by the &lt;<keyword>prodinfo</keyword>> element.
  465. </xs:documentation>
  466. </xs:annotation>
  467. <xs:complexType mixed="true">
  468. <xs:complexContent>
  469. <xs:extension base="platform.class">
  470. <xs:attribute ref="class" default="- topic/platform "/>
  471. </xs:extension>
  472. </xs:complexContent>
  473. </xs:complexType>
  474. </xs:element>
  475. <xs:complexType name="platform.class" mixed="true">
  476. <xs:choice minOccurs="0" maxOccurs="unbounded">
  477. <xs:group ref="words.cnt"/>
  478. </xs:choice>
  479. <xs:attributeGroup ref="univ-atts"/>
  480. <xs:attributeGroup ref="global-atts"/>
  481. </xs:complexType>
  482. <xs:element name="prognum">
  483. <xs:annotation>
  484. <xs:documentation>The &lt;<keyword>prognum</keyword>> metadata element identifies
  485. the program number of the associated program product. This is typically an
  486. order number or a product tracking code that could be replaced by an order
  487. number when a product completes development.
  488. </xs:documentation>
  489. </xs:annotation>
  490. <xs:complexType mixed="true">
  491. <xs:complexContent>
  492. <xs:extension base="prognum.class">
  493. <xs:attribute ref="class" default="- topic/prognum "/>
  494. </xs:extension>
  495. </xs:complexContent>
  496. </xs:complexType>
  497. </xs:element>
  498. <xs:complexType name="prognum.class" mixed="true">
  499. <xs:choice minOccurs="0" maxOccurs="unbounded">
  500. <xs:group ref="words.cnt"/>
  501. </xs:choice>
  502. <xs:attributeGroup ref="univ-atts"/>
  503. <xs:attributeGroup ref="global-atts"/>
  504. </xs:complexType>
  505. <xs:element name="featnum">
  506. <xs:annotation>
  507. <xs:documentation>The &lt;<keyword>featnum</keyword>> element contains the feature
  508. number of a product in the document metadata.
  509. </xs:documentation>
  510. </xs:annotation>
  511. <xs:complexType mixed="true">
  512. <xs:complexContent>
  513. <xs:extension base="featnum.class">
  514. <xs:attribute ref="class" default="- topic/featnum "/>
  515. </xs:extension>
  516. </xs:complexContent>
  517. </xs:complexType>
  518. </xs:element>
  519. <xs:complexType name="featnum.class" mixed="true">
  520. <xs:choice minOccurs="0" maxOccurs="unbounded">
  521. <xs:group ref="words.cnt"/>
  522. </xs:choice>
  523. <xs:attributeGroup ref="univ-atts"/>
  524. <xs:attributeGroup ref="global-atts"/>
  525. </xs:complexType>
  526. <xs:element name="component">
  527. <xs:annotation>
  528. <xs:documentation>The &lt;<keyword>component</keyword>> element describes the component
  529. of the product that this topic is concerned with. For example, a product might
  530. be made up of many components, each of which is installable separately. Components
  531. might also be shared by several products so that the same component is available
  532. for installation with many products. This identification can be used to check
  533. cross-component dependencies when some components are installed, but not others.
  534. It could also be used to make sure that topics are hidden, removed, or flagged
  535. in some way when the component they describe isn't installed. Such process-control
  536. logic is not currently supported in DITA processing.
  537. </xs:documentation>
  538. </xs:annotation>
  539. <xs:complexType mixed="true">
  540. <xs:complexContent>
  541. <xs:extension base="component.class">
  542. <xs:attribute ref="class" default="- topic/component "/>
  543. </xs:extension>
  544. </xs:complexContent>
  545. </xs:complexType>
  546. </xs:element>
  547. <xs:complexType name="component.class" mixed="true">
  548. <xs:choice minOccurs="0" maxOccurs="unbounded">
  549. <xs:group ref="words.cnt"/>
  550. </xs:choice>
  551. <xs:attributeGroup ref="univ-atts"/>
  552. <xs:attributeGroup ref="global-atts"/>
  553. </xs:complexType>
  554. <xs:element name="prodname">
  555. <xs:annotation>
  556. <xs:documentation>The &lt;<keyword>prodname</keyword>> metadata element contains
  557. the name of the product that is supported by the information in this topic.
  558. </xs:documentation>
  559. </xs:annotation>
  560. <xs:complexType mixed="true">
  561. <xs:complexContent>
  562. <xs:extension base="prodname.class">
  563. <xs:attribute ref="class" default="- topic/prodname "/>
  564. </xs:extension>
  565. </xs:complexContent>
  566. </xs:complexType>
  567. </xs:element>
  568. <xs:complexType name="prodname.class" mixed="true">
  569. <xs:choice minOccurs="0" maxOccurs="unbounded">
  570. <xs:group ref="words.cnt"/>
  571. </xs:choice>
  572. <xs:attributeGroup ref="univ-atts"/>
  573. <xs:attributeGroup ref="global-atts"/>
  574. </xs:complexType>
  575. <xs:group name="prodinfo.cnt">
  576. <xs:choice>
  577. <xs:group ref="brand"/>
  578. <xs:group ref="series"/>
  579. <xs:group ref="platform"/>
  580. <xs:group ref="prognum"/>
  581. <xs:group ref="featnum"/>
  582. <xs:group ref="component"/>
  583. </xs:choice>
  584. </xs:group>
  585. <xs:element name="vrmlist">
  586. <xs:annotation>
  587. <xs:documentation>The &lt;<keyword>vrmlist</keyword>> element contains a set of &lt;<keyword>vrm</keyword>>
  588. elements for logging the version, release, and modification information for
  589. multiple products or versions of products to which the topic applies.
  590. </xs:documentation>
  591. </xs:annotation>
  592. <xs:complexType>
  593. <xs:complexContent>
  594. <xs:extension base="vrmlist.class">
  595. <xs:attribute ref="class" default="- topic/vrmlist "/>
  596. </xs:extension>
  597. </xs:complexContent>
  598. </xs:complexType>
  599. </xs:element>
  600. <xs:complexType name="vrmlist.class">
  601. <xs:choice maxOccurs="unbounded">
  602. <xs:group ref="vrm" />
  603. </xs:choice>
  604. <xs:attributeGroup ref="univ-atts"/>
  605. <xs:attributeGroup ref="global-atts"/>
  606. </xs:complexType>
  607. <xs:element name="vrm">
  608. <xs:annotation>
  609. <xs:documentation>The empty &lt;<keyword>vrm</keyword>> element contains information about a single product's
  610. version, modification, and release, to which the current topic applies.
  611. </xs:documentation>
  612. </xs:annotation>
  613. <xs:complexType>
  614. <xs:complexContent>
  615. <xs:extension base="vrm.class">
  616. <xs:attribute ref="class" default="- topic/vrm "/>
  617. </xs:extension>
  618. </xs:complexContent>
  619. </xs:complexType>
  620. </xs:element>
  621. <xs:complexType name="vrm.class">
  622. <xs:attribute name="version" type="xs:string" use="required"/>
  623. <xs:attribute name="release" type="xs:string"/>
  624. <xs:attribute name="modification" type="xs:string"/>
  625. <xs:attributeGroup ref="univ-atts"/>
  626. <xs:attributeGroup ref="global-atts"/>
  627. </xs:complexType>
  628. <xs:simpleType name="audience-type-att.class">
  629. <xs:restriction base="xs:string">
  630. <xs:enumeration value="user"/>
  631. <xs:enumeration value="purchaser"/>
  632. <xs:enumeration value="administrator"/>
  633. <xs:enumeration value="programmer"/>
  634. <xs:enumeration value="executive"/>
  635. <xs:enumeration value="services"/>
  636. <xs:enumeration value="other"/>
  637. <xs:enumeration value="-dita-use-conref-target"/>
  638. </xs:restriction>
  639. </xs:simpleType>
  640. </xs:schema>