xnalDomain.xsd 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- ============================================================= -->
  3. <!-- HEADER -->
  4. <!-- ============================================================= -->
  5. <!-- MODULE: DITA XNAL Domain -->
  6. <!-- VERSION: 1.1 -->
  7. <!-- DATE: November 2006 -->
  8. <!-- -->
  9. <!-- ============================================================= -->
  10. <!-- ============================================================= -->
  11. <!-- SYSTEM: Darwin Information Typing Architecture (DITA) -->
  12. <!-- -->
  13. <!-- PURPOSE: Define elements and specialization attributes -->
  14. <!-- for XNAL Domain -->
  15. <!-- -->
  16. <!-- ORIGINAL CREATION DATE: -->
  17. <!-- March 2001 -->
  18. <!-- -->
  19. <!-- (C) Copyright OASIS-Open.org 2006 -->
  20. <!-- All Rights Reserved. -->
  21. <!-- ============================================================= -->
  22. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
  23. <!-- <!ENTITY xnal-d-att "(topic xnal-d)" >-->
  24. <xs:group name="xnal-d-author">
  25. <xs:choice>
  26. <xs:group ref="authorinformation"></xs:group>
  27. </xs:choice>
  28. </xs:group>
  29. <xs:group name="authorinformation">
  30. <xs:choice>
  31. <xs:element ref="authorinformation"/>
  32. </xs:choice>
  33. </xs:group>
  34. <xs:group name="addressdetails">
  35. <xs:choice>
  36. <xs:element ref="addressdetails"/>
  37. </xs:choice>
  38. </xs:group>
  39. <xs:group name="administrativearea">
  40. <xs:choice>
  41. <xs:element ref="administrativearea"/>
  42. </xs:choice>
  43. </xs:group>
  44. <xs:group name="contactnumber">
  45. <xs:choice>
  46. <xs:element ref="contactnumber"/>
  47. </xs:choice>
  48. </xs:group>
  49. <xs:group name="contactnumbers">
  50. <xs:choice>
  51. <xs:element ref="contactnumbers"/>
  52. </xs:choice>
  53. </xs:group>
  54. <xs:group name="country">
  55. <xs:choice>
  56. <xs:element ref="country"/>
  57. </xs:choice>
  58. </xs:group>
  59. <xs:group name="emailaddress">
  60. <xs:choice>
  61. <xs:element ref="emailaddress"/>
  62. </xs:choice>
  63. </xs:group>
  64. <xs:group name="emailaddresses">
  65. <xs:choice>
  66. <xs:element ref="emailaddresses"/>
  67. </xs:choice>
  68. </xs:group>
  69. <xs:group name="firstname">
  70. <xs:choice>
  71. <xs:element ref="firstname"/>
  72. </xs:choice>
  73. </xs:group>
  74. <xs:group name="generationidentifier">
  75. <xs:choice>
  76. <xs:element ref="generationidentifier"/>
  77. </xs:choice>
  78. </xs:group>
  79. <xs:group name="honorific">
  80. <xs:choice>
  81. <xs:element ref="honorific"/>
  82. </xs:choice>
  83. </xs:group>
  84. <xs:group name="lastname">
  85. <xs:choice>
  86. <xs:element ref="lastname"/>
  87. </xs:choice>
  88. </xs:group>
  89. <xs:group name="locality">
  90. <xs:choice>
  91. <xs:element ref="locality"/>
  92. </xs:choice>
  93. </xs:group>
  94. <xs:group name="localityname">
  95. <xs:choice>
  96. <xs:element ref="localityname"/>
  97. </xs:choice>
  98. </xs:group>
  99. <xs:group name="middlename">
  100. <xs:choice>
  101. <xs:element ref="middlename"/>
  102. </xs:choice>
  103. </xs:group>
  104. <xs:group name="namedetails">
  105. <xs:choice>
  106. <xs:element ref="namedetails"/>
  107. </xs:choice>
  108. </xs:group>
  109. <xs:group name="organizationinfo">
  110. <xs:choice>
  111. <xs:element ref="organizationinfo"/>
  112. </xs:choice>
  113. </xs:group>
  114. <xs:group name="organizationname">
  115. <xs:choice>
  116. <xs:element ref="organizationname"/>
  117. </xs:choice>
  118. </xs:group>
  119. <xs:group name="organizationnamedetails">
  120. <xs:choice>
  121. <xs:element ref="organizationnamedetails"/>
  122. </xs:choice>
  123. </xs:group>
  124. <xs:group name="otherinfo">
  125. <xs:choice>
  126. <xs:element ref="otherinfo"/>
  127. </xs:choice>
  128. </xs:group>
  129. <xs:group name="personinfo">
  130. <xs:choice>
  131. <xs:element ref="personinfo"/>
  132. </xs:choice>
  133. </xs:group>
  134. <xs:group name="personname">
  135. <xs:choice>
  136. <xs:element ref="personname"/>
  137. </xs:choice>
  138. </xs:group>
  139. <xs:group name="postalcode">
  140. <xs:choice>
  141. <xs:element ref="postalcode"/>
  142. </xs:choice>
  143. </xs:group>
  144. <xs:group name="thoroughfare">
  145. <xs:choice>
  146. <xs:element ref="thoroughfare"/>
  147. </xs:choice>
  148. </xs:group>
  149. <xs:group name="url">
  150. <xs:choice>
  151. <xs:element ref="url"/>
  152. </xs:choice>
  153. </xs:group>
  154. <xs:group name="urls">
  155. <xs:choice>
  156. <xs:element ref="urls"/>
  157. </xs:choice>
  158. </xs:group>
  159. <xs:element name="authorinformation" >
  160. <xs:annotation>
  161. <xs:documentation>The &lt;authorinformation&gt; element contains detailed information
  162. about the author or authoring organization. </xs:documentation>
  163. </xs:annotation>
  164. <xs:complexType>
  165. <xs:complexContent>
  166. <xs:extension base="authorinformation.class">
  167. <xs:attribute ref="class" default="+ topic/author xnal-d/authorinformation "/>
  168. </xs:extension>
  169. </xs:complexContent>
  170. </xs:complexType>
  171. </xs:element>
  172. <xs:complexType name="authorinformation.class">
  173. <xs:choice minOccurs="0" maxOccurs="unbounded">
  174. <xs:group ref="personinfo"/>
  175. <xs:group ref="organizationinfo"/>
  176. </xs:choice>
  177. <xs:attributeGroup ref="univ-atts"/>
  178. <xs:attribute name="keyref" type="xs:string"/>
  179. <xs:attribute name="href" type="xs:string"/>
  180. <xs:attribute name="type">
  181. <xs:simpleType>
  182. <xs:restriction base="xs:string">
  183. <xs:enumeration value="creator"/>
  184. <xs:enumeration value="contributor"/>
  185. <xs:enumeration value="-dita-use-conref-target"/>
  186. </xs:restriction>
  187. </xs:simpleType>
  188. </xs:attribute>
  189. <xs:attributeGroup ref="global-atts"/>
  190. </xs:complexType>
  191. <!--<!ELEMENT addressdetails (%words.cnt;|%locality;|%administrativearea;|
  192. %thoroughfare;|%country;)* >-->
  193. <xs:element name="addressdetails">
  194. <xs:annotation>
  195. <xs:documentation>The &lt;addressdetails&gt; element contains information about the
  196. address of the author or authoring group.</xs:documentation>
  197. </xs:annotation>
  198. <xs:complexType mixed="true">
  199. <xs:complexContent>
  200. <xs:extension base="addressdetails.class">
  201. <xs:attribute ref="class" default="+ topic/ph xnal-d/addressdetails "/>
  202. </xs:extension>
  203. </xs:complexContent>
  204. </xs:complexType>
  205. </xs:element>
  206. <xs:complexType name="addressdetails.class" mixed="true">
  207. <xs:choice minOccurs="0" maxOccurs="unbounded">
  208. <xs:group ref="words.cnt"/>
  209. <xs:group ref="locality"/>
  210. <xs:group ref="administrativearea"/>
  211. <xs:group ref="thoroughfare"/>
  212. <xs:group ref="country"/>
  213. </xs:choice>
  214. <xs:attributeGroup ref="univ-atts"/>
  215. <xs:attribute name="keyref" type="xs:string"/>
  216. <xs:attribute name="outputclass" type="xs:string"/>
  217. <xs:attributeGroup ref="global-atts"/>
  218. </xs:complexType>
  219. <xs:element name="administrativearea">
  220. <xs:annotation>
  221. <xs:documentation>The &lt;administrativearea&gt; element contains information about
  222. a county, state, or province. </xs:documentation>
  223. </xs:annotation>
  224. <xs:complexType mixed="true">
  225. <xs:complexContent>
  226. <xs:extension base="administrativearea.class">
  227. <xs:attribute ref="class" default="+ topic/ph xnal-d/administrativearea "/>
  228. </xs:extension>
  229. </xs:complexContent>
  230. </xs:complexType>
  231. </xs:element>
  232. <xs:complexType name="administrativearea.class" mixed="true">
  233. <xs:choice minOccurs="0" maxOccurs="unbounded">
  234. <xs:group ref="words.cnt"/>
  235. </xs:choice>
  236. <xs:attributeGroup ref="univ-atts"/>
  237. <xs:attribute name="keyref" type="xs:string"/>
  238. <xs:attribute name="outputclass" type="xs:string"/>
  239. <xs:attributeGroup ref="global-atts"/>
  240. </xs:complexType>
  241. <xs:element name="contactnumber">
  242. <xs:annotation>
  243. <xs:documentation>A &lt;contactnumber&gt; element contains a telephone number. </xs:documentation>
  244. </xs:annotation>
  245. <xs:complexType mixed="true">
  246. <xs:complexContent>
  247. <xs:extension base="contactnumber.class">
  248. <xs:attribute ref="class" default="+ topic/data xnal-d/contactnumber "/>
  249. </xs:extension>
  250. </xs:complexContent>
  251. </xs:complexType>
  252. </xs:element>
  253. <xs:complexType name="contactnumber.class" mixed="true">
  254. <xs:attributeGroup ref="data-element-atts.class" />
  255. <xs:attributeGroup ref="global-atts"/>
  256. </xs:complexType>
  257. <xs:element name="contactnumbers">
  258. <xs:annotation>
  259. <xs:documentation>The &lt;contactnumbers&gt; element contains a list of telephone and
  260. fax numbers. </xs:documentation>
  261. </xs:annotation>
  262. <xs:complexType>
  263. <xs:complexContent>
  264. <xs:extension base="contactnumbers.class">
  265. <xs:attribute ref="class" default="+ topic/data xnal-d/contactnumbers "/>
  266. </xs:extension>
  267. </xs:complexContent>
  268. </xs:complexType>
  269. </xs:element>
  270. <xs:complexType name="contactnumbers.class" >
  271. <xs:choice minOccurs="0" maxOccurs="unbounded">
  272. <xs:group ref="contactnumber"/>
  273. </xs:choice>
  274. <xs:attributeGroup ref="data-element-atts.class" />
  275. <xs:attributeGroup ref="global-atts"/>
  276. </xs:complexType>
  277. <xs:element name="country">
  278. <xs:annotation>
  279. <xs:documentation>The &lt;country&gt; element contains the name of a country. </xs:documentation>
  280. </xs:annotation>
  281. <xs:complexType mixed="true">
  282. <xs:complexContent>
  283. <xs:extension base="country.class">
  284. <xs:attribute ref="class" default="+ topic/ph xnal-d/country "/>
  285. </xs:extension>
  286. </xs:complexContent>
  287. </xs:complexType>
  288. </xs:element>
  289. <xs:complexType name="country.class" mixed="true">
  290. <xs:attributeGroup ref="univ-atts"/>
  291. <xs:attribute name="keyref" type="xs:string"/>
  292. <xs:attribute name="outputclass" type="xs:string"/>
  293. <xs:attributeGroup ref="global-atts"/>
  294. </xs:complexType>
  295. <xs:element name="emailaddress">
  296. <xs:annotation>
  297. <xs:documentation>The &lt;emailaddress&gt; element contains an e-mail address. </xs:documentation>
  298. </xs:annotation>
  299. <xs:complexType mixed="true">
  300. <xs:complexContent>
  301. <xs:extension base="emailaddress.class">
  302. <xs:attribute ref="class" default="+ topic/data xnal-d/emailaddress "/>
  303. </xs:extension>
  304. </xs:complexContent>
  305. </xs:complexType>
  306. </xs:element>
  307. <xs:complexType name="emailaddress.class" mixed="true">
  308. <xs:choice minOccurs="0" maxOccurs="unbounded">
  309. <xs:group ref="words.cnt"/>
  310. </xs:choice>
  311. <xs:attributeGroup ref="data-element-atts.class" />
  312. <xs:attributeGroup ref="global-atts"/>
  313. </xs:complexType>
  314. <xs:element name="emailaddresses">
  315. <xs:annotation>
  316. <xs:documentation>The &lt;emailaddress&gt; element contains a list of e-mail addresses. </xs:documentation>
  317. </xs:annotation>
  318. <xs:complexType>
  319. <xs:complexContent>
  320. <xs:extension base="emailaddresses.class">
  321. <xs:attribute ref="class" default="+ topic/data xnal-d/emailaddresses "/>
  322. </xs:extension>
  323. </xs:complexContent>
  324. </xs:complexType>
  325. </xs:element>
  326. <xs:complexType name="emailaddresses.class">
  327. <xs:choice minOccurs="0" maxOccurs="unbounded">
  328. <xs:group ref="emailaddress"/>
  329. </xs:choice>
  330. <xs:attributeGroup ref="data-element-atts.class" />
  331. <xs:attributeGroup ref="global-atts"/>
  332. </xs:complexType>
  333. <xs:element name="firstname">
  334. <xs:annotation>
  335. <xs:documentation>The &lt;firstname&gt; element contains the person's first name. </xs:documentation>
  336. </xs:annotation>
  337. <xs:complexType mixed="true">
  338. <xs:complexContent>
  339. <xs:extension base="firstname.class">
  340. <xs:attribute ref="class" default="+ topic/data xnal-d/firstname "/>
  341. </xs:extension>
  342. </xs:complexContent>
  343. </xs:complexType>
  344. </xs:element>
  345. <xs:complexType name="firstname.class" mixed="true">
  346. <xs:attributeGroup ref="data-element-atts.class" />
  347. <xs:attributeGroup ref="global-atts"/>
  348. </xs:complexType>
  349. <xs:element name="generationidentifier">
  350. <xs:annotation>
  351. <xs:documentation>The &lt;generationidentifier&gt; element contains information about
  352. the person's generation, such as: Jr, III, or VIII.</xs:documentation>
  353. </xs:annotation>
  354. <xs:complexType mixed="true">
  355. <xs:complexContent>
  356. <xs:extension base="generationidentifier.class">
  357. <xs:attribute ref="class" default="+ topic/data xnal-d/generationidentifier "/>
  358. </xs:extension>
  359. </xs:complexContent>
  360. </xs:complexType>
  361. </xs:element>
  362. <xs:complexType name="generationidentifier.class" mixed="true">
  363. <xs:attributeGroup ref="data-element-atts.class" />
  364. <xs:attributeGroup ref="global-atts"/>
  365. </xs:complexType>
  366. <xs:element name="honorific">
  367. <xs:annotation>
  368. <xs:documentation>The &lt;honorific&gt; element contains the person's title, such as:
  369. Dr., Mr., Ms., HRH.. or Grand Exalted Wizard. </xs:documentation>
  370. </xs:annotation>
  371. <xs:complexType mixed="true">
  372. <xs:complexContent>
  373. <xs:extension base="honorific.class">
  374. <xs:attribute ref="class" default="+ topic/data xnal-d/honorific "/>
  375. </xs:extension>
  376. </xs:complexContent>
  377. </xs:complexType>
  378. </xs:element>
  379. <xs:complexType name="honorific.class" mixed="true">
  380. <xs:attributeGroup ref="data-element-atts.class" />
  381. <xs:attributeGroup ref="global-atts"/>
  382. </xs:complexType>
  383. <xs:element name="lastname">
  384. <xs:annotation>
  385. <xs:documentation>The &lt;lastname&gt; element contains the person's last name. </xs:documentation>
  386. </xs:annotation>
  387. <xs:complexType mixed="true">
  388. <xs:complexContent>
  389. <xs:extension base="lastname.class">
  390. <xs:attribute ref="class" default="+ topic/data xnal-d/lastname "/>
  391. </xs:extension>
  392. </xs:complexContent>
  393. </xs:complexType>
  394. </xs:element>
  395. <xs:complexType name="lastname.class" mixed="true">
  396. <xs:attributeGroup ref="data-element-atts.class" />
  397. <xs:attributeGroup ref="global-atts"/>
  398. </xs:complexType>
  399. <xs:element name="locality">
  400. <xs:annotation>
  401. <xs:documentation>The &lt;locality&gt; element contains information about the city and
  402. postal or ZIP code. It can contain the information directly, or by acting
  403. as a wrapper for &lt;localityname&gt; and &lt;postalcode&gt;. </xs:documentation>
  404. </xs:annotation>
  405. <xs:complexType mixed="true">
  406. <xs:complexContent>
  407. <xs:extension base="locality.class">
  408. <xs:attribute ref="class" default="+ topic/ph xnal-d/locality "/>
  409. </xs:extension>
  410. </xs:complexContent>
  411. </xs:complexType>
  412. </xs:element>
  413. <xs:complexType name="locality.class" mixed="true">
  414. <xs:choice minOccurs="0" maxOccurs="unbounded">
  415. <xs:group ref="words.cnt"/>
  416. <xs:group ref="localityname"/>
  417. <xs:group ref="postalcode"/>
  418. </xs:choice>
  419. <xs:attributeGroup ref="univ-atts"/>
  420. <xs:attribute name="keyref" type="xs:string"/>
  421. <xs:attribute name="outputclass" type="xs:string"/>
  422. <xs:attributeGroup ref="global-atts"/>
  423. </xs:complexType>
  424. <xs:element name="localityname">
  425. <xs:annotation>
  426. <xs:documentation>The &lt;localityname&gt; element contains the name of the locality
  427. or city.</xs:documentation>
  428. </xs:annotation>
  429. <xs:complexType mixed="true">
  430. <xs:complexContent>
  431. <xs:extension base="localityname.class">
  432. <xs:attribute ref="class" default="+ topic/ph xnal-d/localityname "/>
  433. </xs:extension>
  434. </xs:complexContent>
  435. </xs:complexType>
  436. </xs:element>
  437. <xs:complexType name="localityname.class" mixed="true">
  438. <xs:choice minOccurs="0" maxOccurs="unbounded">
  439. <xs:group ref="words.cnt"/>
  440. </xs:choice>
  441. <xs:attributeGroup ref="univ-atts"/>
  442. <xs:attribute name="keyref" type="xs:string"/>
  443. <xs:attribute name="outputclass" type="xs:string"/>
  444. <xs:attributeGroup ref="global-atts"/>
  445. </xs:complexType>
  446. <xs:element name="middlename">
  447. <xs:annotation>
  448. <xs:documentation>The &lt;middlename&gt; element contains the person's middle name or
  449. initial. </xs:documentation>
  450. </xs:annotation>
  451. <xs:complexType mixed="true">
  452. <xs:complexContent>
  453. <xs:extension base="middlename.class">
  454. <xs:attribute ref="class" default="+ topic/data xnal-d/middlename "/>
  455. </xs:extension>
  456. </xs:complexContent>
  457. </xs:complexType>
  458. </xs:element>
  459. <xs:complexType name="middlename.class" mixed="true">
  460. <xs:attributeGroup ref="data-element-atts.class" />
  461. <xs:attributeGroup ref="global-atts"/>
  462. </xs:complexType>
  463. <xs:element name="namedetails">
  464. <xs:annotation>
  465. <xs:documentation>The &lt;namedetails&gt; element contains information about the name
  466. of the author or the authoring organization. </xs:documentation>
  467. </xs:annotation>
  468. <xs:complexType>
  469. <xs:complexContent>
  470. <xs:extension base="namedetails.class">
  471. <xs:attribute ref="class" default="+ topic/data xnal-d/namedetails "/>
  472. </xs:extension>
  473. </xs:complexContent>
  474. </xs:complexType>
  475. </xs:element>
  476. <xs:complexType name="namedetails.class">
  477. <xs:choice minOccurs="0" maxOccurs="unbounded">
  478. <xs:group ref="personname"/>
  479. <xs:group ref="organizationnamedetails"/>
  480. </xs:choice>
  481. <xs:attributeGroup ref="data-element-atts.class" />
  482. <xs:attributeGroup ref="global-atts"/>
  483. </xs:complexType>
  484. <xs:element name="organizationinfo">
  485. <xs:annotation>
  486. <xs:documentation>The &lt;organizationinfo&gt; element contains detailed information
  487. about an authoring organization. </xs:documentation>
  488. </xs:annotation>
  489. <xs:complexType>
  490. <xs:complexContent>
  491. <xs:extension base="organizationinfo.class">
  492. <xs:attribute ref="class" default="+ topic/data xnal-d/organizationinfo "/>
  493. </xs:extension>
  494. </xs:complexContent>
  495. </xs:complexType>
  496. </xs:element>
  497. <xs:complexType name="organizationinfo.class">
  498. <xs:sequence>
  499. <xs:group ref="namedetails" minOccurs="0"/>
  500. <xs:group ref="addressdetails" minOccurs="0"/>
  501. <xs:group ref="contactnumbers" minOccurs="0"/>
  502. <xs:group ref="emailaddresses" minOccurs="0"/>
  503. <xs:group ref="urls" minOccurs="0"/>
  504. </xs:sequence>
  505. <xs:attributeGroup ref="data-element-atts.class" />
  506. <xs:attributeGroup ref="global-atts"/>
  507. </xs:complexType>
  508. <xs:element name="organizationname">
  509. <xs:annotation>
  510. <xs:documentation>The &lt;organizationname&gt; element contains name information about
  511. the authoring organization. </xs:documentation>
  512. </xs:annotation>
  513. <xs:complexType mixed="true">
  514. <xs:complexContent>
  515. <xs:extension base="organizationname.class">
  516. <xs:attribute ref="class" default="+ topic/ph xnal-d/organizationname "/>
  517. </xs:extension>
  518. </xs:complexContent>
  519. </xs:complexType>
  520. </xs:element>
  521. <xs:complexType name="organizationname.class" mixed="true">
  522. <xs:choice minOccurs="0" maxOccurs="unbounded">
  523. <xs:group ref="ph.cnt"/>
  524. </xs:choice>
  525. <xs:attributeGroup ref="univ-atts"/>
  526. <xs:attribute name="keyref" type="xs:string"/>
  527. <xs:attribute name="outputclass" type="xs:string"/>
  528. <xs:attributeGroup ref="global-atts"/>
  529. </xs:complexType>
  530. <xs:element name="organizationnamedetails">
  531. <xs:annotation>
  532. <xs:documentation>The &lt;organizationnamedetails&gt; element contains information about
  533. the name of an authoring organization. </xs:documentation>
  534. </xs:annotation>
  535. <xs:complexType>
  536. <xs:complexContent>
  537. <xs:extension base="organizationnamedetails.class">
  538. <xs:attribute ref="class" default="+ topic/ph xnal-d/organizationnamedetails "/>
  539. </xs:extension>
  540. </xs:complexContent>
  541. </xs:complexType>
  542. </xs:element>
  543. <xs:complexType name="organizationnamedetails.class">
  544. <xs:sequence>
  545. <xs:group ref="organizationname" minOccurs="0" />
  546. <xs:group ref="otherinfo" minOccurs="0" maxOccurs="unbounded"/>
  547. </xs:sequence>
  548. <xs:attributeGroup ref="univ-atts"/>
  549. <xs:attribute name="keyref" type="xs:string"/>
  550. <xs:attribute name="outputclass" type="xs:string"/>
  551. <xs:attributeGroup ref="global-atts"/>
  552. </xs:complexType>
  553. <xs:element name="otherinfo">
  554. <xs:annotation>
  555. <xs:documentation>The &lt;otherinfo&gt; element contains other name information about
  556. the author or authoring organization. </xs:documentation>
  557. </xs:annotation>
  558. <xs:complexType mixed="true">
  559. <xs:complexContent>
  560. <xs:extension base="otherinfo.class">
  561. <xs:attribute ref="class" default="+ topic/data xnal-d/otherinfo "/>
  562. </xs:extension>
  563. </xs:complexContent>
  564. </xs:complexType>
  565. </xs:element>
  566. <xs:complexType name="otherinfo.class" mixed="true">
  567. <xs:choice minOccurs="0" maxOccurs="unbounded">
  568. <xs:group ref="words.cnt"/>
  569. </xs:choice>
  570. <xs:attributeGroup ref="data-element-atts.class" />
  571. <xs:attributeGroup ref="global-atts"/>
  572. </xs:complexType>
  573. <xs:element name="personinfo">
  574. <xs:annotation>
  575. <xs:documentation>The &lt;personinfo&gt; element is a wrapper containing all relevant
  576. data about a person, including name, address, and contact information.</xs:documentation>
  577. </xs:annotation>
  578. <xs:complexType>
  579. <xs:complexContent>
  580. <xs:extension base="personinfo.class">
  581. <xs:attribute ref="class" default="+ topic/data xnal-d/personinfo "/>
  582. </xs:extension>
  583. </xs:complexContent>
  584. </xs:complexType>
  585. </xs:element>
  586. <xs:complexType name="personinfo.class" >
  587. <xs:sequence>
  588. <xs:group ref="namedetails" minOccurs="0"/>
  589. <xs:group ref="addressdetails" minOccurs="0"/>
  590. <xs:group ref="contactnumbers" minOccurs="0"/>
  591. <xs:group ref="emailaddresses" minOccurs="0"/>
  592. </xs:sequence>
  593. <xs:attributeGroup ref="data-element-atts.class" />
  594. <xs:attributeGroup ref="global-atts"/>
  595. </xs:complexType>
  596. <xs:element name="personname">
  597. <xs:annotation>
  598. <xs:documentation>The &lt;personname&gt; element contains name information about the
  599. author.</xs:documentation>
  600. </xs:annotation>
  601. <xs:complexType>
  602. <xs:complexContent>
  603. <xs:extension base="personname.class">
  604. <xs:attribute ref="class" default="+ topic/data xnal-d/personname "/>
  605. </xs:extension>
  606. </xs:complexContent>
  607. </xs:complexType>
  608. </xs:element>
  609. <xs:complexType name="personname.class">
  610. <xs:sequence>
  611. <xs:group ref="honorific" minOccurs="0"/>
  612. <xs:group ref="firstname" minOccurs="0" maxOccurs="unbounded"/>
  613. <xs:group ref="middlename" minOccurs="0" maxOccurs="unbounded"/>
  614. <xs:group ref="lastname" minOccurs="0" maxOccurs="unbounded"/>
  615. <xs:group ref="generationidentifier" minOccurs="0"/>
  616. <xs:group ref="otherinfo" minOccurs="0" maxOccurs="unbounded"/>
  617. </xs:sequence>
  618. <xs:attributeGroup ref="data-element-atts.class" />
  619. <xs:attributeGroup ref="global-atts"/>
  620. </xs:complexType>
  621. <xs:element name="postalcode">
  622. <xs:annotation>
  623. <xs:documentation>The &lt;postalcode&gt; element contains information about the postal
  624. code or the ZIP code.</xs:documentation>
  625. </xs:annotation>
  626. <xs:complexType mixed="true">
  627. <xs:complexContent>
  628. <xs:extension base="postalcode.class">
  629. <xs:attribute ref="class" default="+ topic/ph xnal-d/postalcode "/>
  630. </xs:extension>
  631. </xs:complexContent>
  632. </xs:complexType>
  633. </xs:element>
  634. <xs:complexType name="postalcode.class" mixed="true">
  635. <xs:attributeGroup ref="univ-atts"/>
  636. <xs:attribute name="keyref" type="xs:string"/>
  637. <xs:attribute name="outputclass" type="xs:string"/>
  638. <xs:attributeGroup ref="global-atts"/>
  639. </xs:complexType>
  640. <xs:element name="thoroughfare">
  641. <xs:annotation>
  642. <xs:documentation>The &lt;thoroughfare&gt; element contains information about the thoroughfare
  643. - for example, the street, avenue, or boulevard - on which an address is located.</xs:documentation>
  644. </xs:annotation>
  645. <xs:complexType mixed="true">
  646. <xs:complexContent>
  647. <xs:extension base="thoroughfare.class">
  648. <xs:attribute ref="class" default="+ topic/ph xnal-d/thoroughfare "/>
  649. </xs:extension>
  650. </xs:complexContent>
  651. </xs:complexType>
  652. </xs:element>
  653. <xs:complexType name="thoroughfare.class" mixed="true">
  654. <xs:choice minOccurs="0" maxOccurs="unbounded">
  655. <xs:group ref="words.cnt"/>
  656. </xs:choice>
  657. <xs:attributeGroup ref="univ-atts"/>
  658. <xs:attribute name="keyref" type="xs:string"/>
  659. <xs:attribute name="outputclass" type="xs:string"/>
  660. <xs:attributeGroup ref="global-atts"/>
  661. </xs:complexType>
  662. <xs:element name="url">
  663. <xs:annotation>
  664. <xs:documentation>The &lt;url&gt; element contains a Uniform Resource Locator (URL). </xs:documentation>
  665. </xs:annotation>
  666. <xs:complexType mixed="true">
  667. <xs:complexContent>
  668. <xs:extension base="url.class">
  669. <xs:attribute ref="class" default="+ topic/data xnal-d/url "/>
  670. </xs:extension>
  671. </xs:complexContent>
  672. </xs:complexType>
  673. </xs:element>
  674. <xs:complexType name="url.class" mixed="true">
  675. <xs:choice minOccurs="0" maxOccurs="unbounded">
  676. <xs:group ref="words.cnt"/>
  677. </xs:choice>
  678. <xs:attributeGroup ref="data-element-atts.class" />
  679. <xs:attributeGroup ref="global-atts"/>
  680. </xs:complexType>
  681. <xs:element name="urls">
  682. <xs:annotation>
  683. <xs:documentation>The &lt;urls&gt; element contains a list of Uniform Resource Locators
  684. (URLs). </xs:documentation>
  685. </xs:annotation>
  686. <xs:complexType>
  687. <xs:complexContent>
  688. <xs:extension base="urls.class">
  689. <xs:attribute ref="class" default="+ topic/data xnal-d/urls "/>
  690. </xs:extension>
  691. </xs:complexContent>
  692. </xs:complexType>
  693. </xs:element>
  694. <xs:complexType name="urls.class">
  695. <xs:choice minOccurs="0" maxOccurs="unbounded">
  696. <xs:group ref="url"/>
  697. </xs:choice>
  698. <xs:attributeGroup ref="data-element-atts.class" />
  699. <xs:attributeGroup ref="global-atts"/>
  700. </xs:complexType>
  701. </xs:schema>