1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <!-- ============================================================= -->
|
---|
3 | <!-- HEADER -->
|
---|
4 | <!-- ============================================================= -->
|
---|
5 | <!-- MODULE: DITA Map Group Domain -->
|
---|
6 | <!-- VERSION: 1.1 -->
|
---|
7 | <!-- DATE: November 2006 -->
|
---|
8 | <!-- -->
|
---|
9 | <!-- ============================================================= -->
|
---|
10 |
|
---|
11 | <!-- ============================================================= -->
|
---|
12 | <!-- SYSTEM: Darwin Information Typing Architecture (DITA) -->
|
---|
13 | <!-- -->
|
---|
14 | <!-- PURPOSE: Define elements and specialization attributes -->
|
---|
15 | <!-- for Map Group Domain -->
|
---|
16 | <!-- -->
|
---|
17 | <!-- ORIGINAL CREATION DATE: -->
|
---|
18 | <!-- March 2001 -->
|
---|
19 | <!-- -->
|
---|
20 | <!-- (C) Copyright OASIS-Open.org 2005, 2006 -->
|
---|
21 | <!-- (C) Copyright IBM Corporation 2001, 2004. -->
|
---|
22 | <!-- All Rights Reserved. -->
|
---|
23 | <!-- ============================================================= -->
|
---|
24 | <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
|
---|
25 |
|
---|
26 | <!--<!ENTITY mapgroup-d-att "(map mapgroup-d)" >-->
|
---|
27 |
|
---|
28 | <xs:group name="mapgroup-d-topicref">
|
---|
29 | <xs:choice>
|
---|
30 | <xs:element ref="topichead"/>
|
---|
31 | <xs:element ref="topicgroup"/>
|
---|
32 | </xs:choice>
|
---|
33 | </xs:group>
|
---|
34 |
|
---|
35 | <xs:group name="topichead">
|
---|
36 | <xs:choice>
|
---|
37 | <xs:element ref="topichead"/>
|
---|
38 | </xs:choice>
|
---|
39 | </xs:group>
|
---|
40 |
|
---|
41 | <xs:group name="topicgroup">
|
---|
42 | <xs:choice>
|
---|
43 | <xs:element ref="topicgroup"/>
|
---|
44 | </xs:choice>
|
---|
45 | </xs:group>
|
---|
46 |
|
---|
47 | <xs:element name="topichead">
|
---|
48 | <xs:annotation>
|
---|
49 | <xs:documentation>The <<keyword>topichead</keyword>> element provides a title-only
|
---|
50 | entry in a navigation map, as an alternative to the fully-linked title provided
|
---|
51 | by the <<keyword>topicref</keyword>> element.
|
---|
52 | </xs:documentation>
|
---|
53 | </xs:annotation>
|
---|
54 | <xs:complexType>
|
---|
55 | <xs:complexContent>
|
---|
56 | <xs:extension base="topichead.class">
|
---|
57 | <xs:attribute ref="class" default="+ map/topicref mapgroup-d/topichead " />
|
---|
58 | </xs:extension>
|
---|
59 | </xs:complexContent>
|
---|
60 | </xs:complexType>
|
---|
61 | </xs:element>
|
---|
62 | <xs:complexType name="topichead.class">
|
---|
63 | <xs:sequence>
|
---|
64 | <xs:element ref="topicmeta" minOccurs="0" />
|
---|
65 | <xs:choice minOccurs="0" maxOccurs="unbounded">
|
---|
66 | <xs:group ref="navref" />
|
---|
67 | <xs:group ref="anchor" />
|
---|
68 | <xs:group ref="topicref" />
|
---|
69 | <xs:group ref="data.element.incl"/>
|
---|
70 | </xs:choice>
|
---|
71 | </xs:sequence>
|
---|
72 | <xs:attribute name="navtitle" type="xs:string" use="required"/>
|
---|
73 | <xs:attribute name="outputclass" type="xs:string"/>
|
---|
74 | <xs:attributeGroup ref="topicref-atts" />
|
---|
75 | <xs:attributeGroup ref="univ-atts"/>
|
---|
76 | <xs:attributeGroup ref="global-atts" />
|
---|
77 | </xs:complexType>
|
---|
78 |
|
---|
79 |
|
---|
80 | <xs:element name="topicgroup">
|
---|
81 | <xs:annotation>
|
---|
82 | <xs:documentation>The <<keyword>topicgroup</keyword>> element is for creating
|
---|
83 | groups of <<keyword>topicref</keyword>> elements without affecting the
|
---|
84 | hierarchy, as opposed to nested <<keyword>topicref</keyword>> elements
|
---|
85 | within a <<keyword>topicref</keyword>>, which does imply a structural hierarchy.
|
---|
86 | It is typically used outside a hierarchy to identify groups for linking without
|
---|
87 | affecting the resulting toc/navigation output.
|
---|
88 | </xs:documentation>
|
---|
89 | </xs:annotation>
|
---|
90 | <xs:complexType>
|
---|
91 | <xs:complexContent>
|
---|
92 | <xs:extension base="topicgroup.class">
|
---|
93 | <xs:attribute ref="class" default="+ map/topicref mapgroup-d/topicgroup " />
|
---|
94 | </xs:extension>
|
---|
95 | </xs:complexContent>
|
---|
96 | </xs:complexType>
|
---|
97 | </xs:element>
|
---|
98 | <xs:complexType name="topicgroup.class">
|
---|
99 | <xs:sequence>
|
---|
100 | <xs:group ref="topicmeta" minOccurs="0" />
|
---|
101 | <xs:choice minOccurs="0" maxOccurs="unbounded">
|
---|
102 | <xs:group ref="navref" />
|
---|
103 | <xs:group ref="anchor" />
|
---|
104 | <xs:group ref="topicref" />
|
---|
105 | <xs:group ref="data.element.incl"/>
|
---|
106 | </xs:choice>
|
---|
107 | </xs:sequence>
|
---|
108 | <xs:attribute name="outputclass" type="xs:string"/>
|
---|
109 | <xs:attributeGroup ref="topicref-atts" />
|
---|
110 | <xs:attributeGroup ref="univ-atts"/>
|
---|
111 | <xs:attributeGroup ref="global-atts" />
|
---|
112 | </xs:complexType>
|
---|
113 |
|
---|
114 | </xs:schema>
|
---|