|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <!-- |
|
3 | (C) Copyright IBM Corporation 2005 - 2006. All Rights Reserved. |
|
4 *--> |
|
5 <!-- ============ Hooks for domain extension ============ --> |
|
6 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" xmlns:ditaarch="http://dita.oasis-open.org/architecture/2005/"> |
|
7 <xs:import namespace="http://dita.oasis-open.org/architecture/2005/" schemaLocation="../../../schema/ditaarch.xsd"/> |
|
8 <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="../../../schema/xml.xsd"/> |
|
9 |
|
10 <!-- ============ Hooks for shell DTD ============ --> |
|
11 <xs:group name="apiValue-types-default"> |
|
12 <xs:choice> |
|
13 <xs:element ref="apiOperation"/> |
|
14 <xs:element ref="apiValue"/> |
|
15 </xs:choice> |
|
16 </xs:group> |
|
17 <xs:group name="apiValue-info-types"> |
|
18 <xs:sequence> |
|
19 <xs:group ref="apiValue-types-default"/> |
|
20 </xs:sequence> |
|
21 </xs:group> |
|
22 <!-- ============ Element definitions ============ --> |
|
23 <xs:element name="apiValue" type="apiValue.class" /> |
|
24 <xs:complexType name="apiValue.class"> |
|
25 <xs:sequence> |
|
26 <xs:group ref="apiName"/> |
|
27 <xs:choice> |
|
28 <xs:group ref="shortdesc" /> |
|
29 <xs:group ref="abstract" /> |
|
30 </xs:choice> |
|
31 <xs:group minOccurs="0" ref="prolog"/> |
|
32 <xs:group ref="apiValueDetail"/> |
|
33 <xs:group minOccurs="0" ref="related-links"/> |
|
34 <xs:group minOccurs="0" maxOccurs="unbounded" ref="apiValue-info-types"/> |
|
35 </xs:sequence> |
|
36 <xs:attributeGroup ref="apiValue.attlist"/> |
|
37 </xs:complexType> |
|
38 |
|
39 <xs:attributeGroup name="apiValue.attlist"> |
|
40 <xs:attribute name="id" use="required" type="xs:ID"/> |
|
41 <xs:attribute name="conref"/> |
|
42 <xs:attribute name="outputclass"/> |
|
43 <xs:attribute ref="ditaarch:DITAArchVersion"/> |
|
44 <xs:attributeGroup ref="select-atts"/> |
|
45 <xs:attributeGroup ref="localization-atts"/> |
|
46 <xs:attributeGroup ref="global-atts"/> |
|
47 <xs:attribute name="class" default="- topic/topic reference/reference apiRef/apiRef apiValue/apiValue "/> |
|
48 </xs:attributeGroup> |
|
49 <xs:element name="apiValueDetail"> |
|
50 <xs:complexType> |
|
51 <xs:sequence> |
|
52 <xs:choice> |
|
53 <xs:group minOccurs="0" maxOccurs="unbounded" ref="apiSyntax"/> |
|
54 <xs:group minOccurs="0" maxOccurs="unbounded" ref="apiValueDef"/> |
|
55 </xs:choice> |
|
56 <xs:group minOccurs="0" maxOccurs="unbounded" ref="apiDesc"/> |
|
57 <xs:choice minOccurs="0" maxOccurs="unbounded"> |
|
58 <xs:group ref="example"/> |
|
59 <xs:group ref="section"/> |
|
60 <xs:group ref="apiImpl"/> |
|
61 </xs:choice> |
|
62 </xs:sequence> |
|
63 <xs:attributeGroup ref="apiValueDetail.attlist"/> |
|
64 </xs:complexType> |
|
65 </xs:element> |
|
66 <xs:attributeGroup name="apiValueDetail.attlist"> |
|
67 <xs:attributeGroup ref="id-atts"/> |
|
68 <xs:attribute name="outputclass"/> |
|
69 <xs:attributeGroup ref="localization-atts"/> |
|
70 <xs:attributeGroup ref="global-atts"/> |
|
71 <xs:attribute name="class" default="- topic/body reference/refbody apiRef/apiDetail apiValue/apiValueDetail "/> |
|
72 </xs:attributeGroup> |
|
73 <xs:element name="apiValueDef"> |
|
74 <xs:complexType> |
|
75 <xs:choice minOccurs="0" maxOccurs="unbounded"> |
|
76 <xs:group ref="apiValueClassifier"/> |
|
77 <xs:group ref="apiDefinition.cnt"/> |
|
78 <xs:group ref="apiValueMember"/> |
|
79 <xs:group ref="apiItemName"/> |
|
80 </xs:choice> |
|
81 <xs:attributeGroup ref="apiValueDef.attlist"/> |
|
82 </xs:complexType> |
|
83 </xs:element> |
|
84 <xs:attributeGroup name="apiValueDef.attlist"> |
|
85 <xs:attribute name="spectitle"/> |
|
86 <xs:attributeGroup ref="univ-atts"/> |
|
87 <xs:attribute name="outputclass"/> |
|
88 <xs:attributeGroup ref="global-atts"/> |
|
89 <xs:attribute name="class" default="- topic/section reference/section apiRef/apiDef apiValue/apiValueDef "/> |
|
90 </xs:attributeGroup> |
|
91 <xs:element name="apiValueMember"> |
|
92 <xs:complexType> |
|
93 <xs:choice minOccurs="0" maxOccurs="unbounded"> |
|
94 <xs:group ref="apiItemName"/> |
|
95 <xs:group ref="apiValueClassifier"/> |
|
96 <xs:group ref="apiDefinition.cnt"/> |
|
97 <xs:group ref="apiValueMember"/> |
|
98 </xs:choice> |
|
99 <xs:attributeGroup ref="apiValueMember.attlist"/> |
|
100 </xs:complexType> |
|
101 </xs:element> |
|
102 <xs:attributeGroup name="apiValueMember.attlist"> |
|
103 <xs:attribute name="keyref"/> |
|
104 <xs:attributeGroup ref="univ-atts"/> |
|
105 <xs:attribute name="outputclass"/> |
|
106 <xs:attributeGroup ref="global-atts"/> |
|
107 <xs:attribute name="class" default="- topic/ph reference/ph apiRef/apiDefItem apiValue/apiValueMember "/> |
|
108 </xs:attributeGroup> |
|
109 <xs:element name="apiValueClassifier"> |
|
110 <xs:complexType mixed="true"> |
|
111 <xs:attributeGroup ref="apiValueClassifier.attlist"/> |
|
112 </xs:complexType> |
|
113 </xs:element> |
|
114 <xs:attributeGroup name="apiValueClassifier.attlist"> |
|
115 <xs:attribute name="href"/> |
|
116 <xs:attribute name="keyref"/> |
|
117 <xs:attribute name="type"/> |
|
118 <xs:attributeGroup ref="univ-atts"/> |
|
119 <xs:attribute name="format"/> |
|
120 <xs:attribute name="scope"> |
|
121 <xs:simpleType> |
|
122 <xs:restriction base="xs:token"> |
|
123 <xs:enumeration value="local"/> |
|
124 <xs:enumeration value="peer"/> |
|
125 <xs:enumeration value="external"/> |
|
126 <xs:enumeration value="-dita-use-conref-target"/> |
|
127 </xs:restriction> |
|
128 </xs:simpleType> |
|
129 </xs:attribute> |
|
130 <xs:attribute name="outputclass"/> |
|
131 <xs:attributeGroup ref="global-atts"/> |
|
132 <xs:attribute name="class" default="- topic/xref reference/xref apiRef/apiRelation apiValue/apiValueClassifier "/> |
|
133 </xs:attributeGroup> |
|
134 <!-- ============ Class ancestry ============ --> |
|
135 </xs:schema> |