1 | <?xml version="1.0" encoding="utf-8" standalone="no"?>
|
---|
2 | <!--
|
---|
3 | | LICENSE: This file is part of the DITA Open Toolkit project hosted on
|
---|
4 | | Sourceforge.net. See the accompanying license.txt file for
|
---|
5 | | applicable licenses.
|
---|
6 | *-->
|
---|
7 | <!--
|
---|
8 | | (C) Copyright IBM Corporation 2006. All Rights Reserved.
|
---|
9 | *-->
|
---|
10 | <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:gsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
---|
11 |
|
---|
12 | <!--= = = ELEMENT OUTPUT RULES = = = = = = = = = =-->
|
---|
13 |
|
---|
14 | <xsl:template match="*" mode="concept.conbody.in">
|
---|
15 | <xsl:param name="container"/>
|
---|
16 | <xsl:param name="isRequired" select="'no'"/>
|
---|
17 | <xsl:call-template name="check.unsupplied.input">
|
---|
18 | <xsl:with-param name="container" select="$container"/>
|
---|
19 | <xsl:with-param name="isRequired" select="$isRequired"/>
|
---|
20 | <xsl:with-param name="input" select="' concept/conbody '"/>
|
---|
21 | </xsl:call-template>
|
---|
22 | </xsl:template>
|
---|
23 |
|
---|
24 | <xsl:template match="*" mode="concept.conbody.out">
|
---|
25 | <conbody>
|
---|
26 | <xsl:apply-templates select="." mode="concept.conbody.atts.in"/>
|
---|
27 | <xsl:apply-templates select="." mode="concept.conbody.content.in"/>
|
---|
28 | </conbody>
|
---|
29 | </xsl:template>
|
---|
30 |
|
---|
31 | <xsl:template match="*" mode="concept.concept.in">
|
---|
32 | <xsl:param name="container"/>
|
---|
33 | <xsl:param name="isRequired" select="'no'"/>
|
---|
34 | <xsl:call-template name="check.unsupplied.input">
|
---|
35 | <xsl:with-param name="container" select="$container"/>
|
---|
36 | <xsl:with-param name="isRequired" select="$isRequired"/>
|
---|
37 | <xsl:with-param name="input" select="' concept/concept '"/>
|
---|
38 | </xsl:call-template>
|
---|
39 | </xsl:template>
|
---|
40 |
|
---|
41 | <xsl:template match="*" mode="concept.concept.out">
|
---|
42 | <concept>
|
---|
43 | <xsl:apply-templates select="." mode="concept.concept.atts.in"/>
|
---|
44 | <xsl:apply-templates select="." mode="concept.concept.content.in"/>
|
---|
45 | </concept>
|
---|
46 | </xsl:template>
|
---|
47 |
|
---|
48 |
|
---|
49 | <!--= = = DEFAULT ELEMENT INPUT RULES = = = = = = =-->
|
---|
50 |
|
---|
51 | <xsl:template match="*" mode="concept.conbody.atts.in">
|
---|
52 | <xsl:apply-templates select="." mode="concept.conbody.id.atts.in"/>
|
---|
53 | <xsl:apply-templates select="." mode="concept.conbody.outputclass.att.in"/>
|
---|
54 | </xsl:template>
|
---|
55 |
|
---|
56 | <xsl:template match="*" mode="concept.conbody.id.atts.in">
|
---|
57 | <xsl:apply-templates select="." mode="concept.conbody.id.att.in"/>
|
---|
58 | <xsl:apply-templates select="." mode="concept.conbody.conref.att.in"/>
|
---|
59 | </xsl:template>
|
---|
60 |
|
---|
61 | <xsl:template match="*" mode="concept.conbody.id.att.in">
|
---|
62 | <xsl:apply-templates select="." mode="id.att.in">
|
---|
63 | <xsl:with-param name="isRequired" select="'no'"/>
|
---|
64 | </xsl:apply-templates>
|
---|
65 | </xsl:template>
|
---|
66 |
|
---|
67 | <xsl:template match="*" mode="concept.conbody.conref.att.in">
|
---|
68 | <xsl:apply-templates select="." mode="conref.att.in">
|
---|
69 | <xsl:with-param name="isRequired" select="'no'"/>
|
---|
70 | </xsl:apply-templates>
|
---|
71 | </xsl:template>
|
---|
72 |
|
---|
73 | <xsl:template match="*" mode="concept.conbody.outputclass.att.in">
|
---|
74 | <xsl:apply-templates select="." mode="outputclass.att.in">
|
---|
75 | <xsl:with-param name="isRequired" select="'no'"/>
|
---|
76 | </xsl:apply-templates>
|
---|
77 | </xsl:template>
|
---|
78 |
|
---|
79 | <xsl:template match="*" mode="concept.conbody.content.in">
|
---|
80 | <xsl:apply-templates select="*" mode="concept.conbody.child"/>
|
---|
81 | </xsl:template>
|
---|
82 |
|
---|
83 | <xsl:template match="*" mode="concept.conbody.child">
|
---|
84 | <xsl:param name="isRequired" select="'no'"/>
|
---|
85 | <xsl:apply-templates select="." mode="child">
|
---|
86 | <xsl:with-param name="container" select="' concept/conbody '"/>
|
---|
87 | <xsl:with-param name="isRequired" select="$isRequired"/>
|
---|
88 | </xsl:apply-templates>
|
---|
89 | </xsl:template>
|
---|
90 |
|
---|
91 | <xsl:template match="*" mode="concept.concept.atts.in">
|
---|
92 | <xsl:attribute name="xml:lang">
|
---|
93 | <xsl:text>en-us</xsl:text>
|
---|
94 | </xsl:attribute>
|
---|
95 | <xsl:apply-templates select="." mode="concept.concept.select.atts.in"/>
|
---|
96 | <xsl:apply-templates select="." mode="concept.concept.id.att.in"/>
|
---|
97 | <xsl:apply-templates select="." mode="concept.concept.conref.att.in"/>
|
---|
98 | <xsl:apply-templates select="." mode="concept.concept.outputclass.att.in"/>
|
---|
99 | </xsl:template>
|
---|
100 |
|
---|
101 | <xsl:template match="*" mode="concept.concept.select.atts.in">
|
---|
102 | <xsl:apply-templates select="." mode="concept.concept.platform.att.in"/>
|
---|
103 | <xsl:apply-templates select="." mode="concept.concept.product.att.in"/>
|
---|
104 | <xsl:apply-templates select="." mode="concept.concept.audience.att.in"/>
|
---|
105 | <xsl:apply-templates select="." mode="concept.concept.otherprops.att.in"/>
|
---|
106 | <xsl:apply-templates select="." mode="concept.concept.rev.att.in"/>
|
---|
107 | <xsl:apply-templates select="." mode="concept.concept.importance.att.in"/>
|
---|
108 | <xsl:apply-templates select="." mode="concept.concept.status.att.in"/>
|
---|
109 | </xsl:template>
|
---|
110 |
|
---|
111 | <xsl:template match="*" mode="concept.concept.platform.att.in">
|
---|
112 | <xsl:apply-templates select="." mode="platform.att.in">
|
---|
113 | <xsl:with-param name="isRequired" select="'no'"/>
|
---|
114 | </xsl:apply-templates>
|
---|
115 | </xsl:template>
|
---|
116 |
|
---|
117 | <xsl:template match="*" mode="concept.concept.product.att.in">
|
---|
118 | <xsl:apply-templates select="." mode="product.att.in">
|
---|
119 | <xsl:with-param name="isRequired" select="'no'"/>
|
---|
120 | </xsl:apply-templates>
|
---|
121 | </xsl:template>
|
---|
122 |
|
---|
123 | <xsl:template match="*" mode="concept.concept.audience.att.in">
|
---|
124 | <xsl:apply-templates select="." mode="audience.att.in">
|
---|
125 | <xsl:with-param name="isRequired" select="'no'"/>
|
---|
126 | </xsl:apply-templates>
|
---|
127 | </xsl:template>
|
---|
128 |
|
---|
129 | <xsl:template match="*" mode="concept.concept.otherprops.att.in">
|
---|
130 | <xsl:apply-templates select="." mode="otherprops.att.in">
|
---|
131 | <xsl:with-param name="isRequired" select="'no'"/>
|
---|
132 | </xsl:apply-templates>
|
---|
133 | </xsl:template>
|
---|
134 |
|
---|
135 | <xsl:template match="*" mode="concept.concept.rev.att.in">
|
---|
136 | <xsl:apply-templates select="." mode="rev.att.in">
|
---|
137 | <xsl:with-param name="isRequired" select="'no'"/>
|
---|
138 | </xsl:apply-templates>
|
---|
139 | </xsl:template>
|
---|
140 |
|
---|
141 | <xsl:template match="*" mode="concept.concept.importance.att.in">
|
---|
142 | <xsl:apply-templates select="." mode="importance.att.in">
|
---|
143 | <xsl:with-param name="isRequired" select="'no'"/>
|
---|
144 | </xsl:apply-templates>
|
---|
145 | </xsl:template>
|
---|
146 |
|
---|
147 | <xsl:template match="*" mode="concept.concept.status.att.in">
|
---|
148 | <xsl:apply-templates select="." mode="status.att.in">
|
---|
149 | <xsl:with-param name="isRequired" select="'no'"/>
|
---|
150 | </xsl:apply-templates>
|
---|
151 | </xsl:template>
|
---|
152 |
|
---|
153 | <xsl:template match="*" mode="concept.concept.id.att.in">
|
---|
154 | <xsl:apply-templates select="." mode="id.att.in">
|
---|
155 | <xsl:with-param name="isRequired" select="'yes'"/>
|
---|
156 | </xsl:apply-templates>
|
---|
157 | </xsl:template>
|
---|
158 |
|
---|
159 | <xsl:template match="*" mode="concept.concept.conref.att.in">
|
---|
160 | <xsl:apply-templates select="." mode="conref.att.in">
|
---|
161 | <xsl:with-param name="isRequired" select="'no'"/>
|
---|
162 | </xsl:apply-templates>
|
---|
163 | </xsl:template>
|
---|
164 |
|
---|
165 | <xsl:template match="*" mode="concept.concept.outputclass.att.in">
|
---|
166 | <xsl:apply-templates select="." mode="outputclass.att.in">
|
---|
167 | <xsl:with-param name="isRequired" select="'no'"/>
|
---|
168 | </xsl:apply-templates>
|
---|
169 | </xsl:template>
|
---|
170 |
|
---|
171 | <xsl:template match="*" mode="concept.concept.content.in">
|
---|
172 | <xsl:apply-templates select="." mode="concept.concept.topic.title.in"/>
|
---|
173 | <xsl:apply-templates select="." mode="concept.concept.topic.titlealts.in"/>
|
---|
174 | <xsl:apply-templates select="." mode="concept.concept.topic.shortdesc.in"/>
|
---|
175 | <xsl:apply-templates select="." mode="concept.concept.topic.prolog.in"/>
|
---|
176 | <xsl:apply-templates select="." mode="concept.concept.concept.conbody.in"/>
|
---|
177 | <xsl:apply-templates select="." mode="concept.concept.topic.related-links.in"/>
|
---|
178 | <xsl:apply-templates select="." mode="concept.concept.topic.topic.in"/>
|
---|
179 | </xsl:template>
|
---|
180 |
|
---|
181 | <xsl:template match="*" mode="concept.concept.topic.title.in">
|
---|
182 | <xsl:apply-templates select="." mode="topic.title.in">
|
---|
183 | <xsl:with-param name="isRequired" select="'yes'"/>
|
---|
184 | <xsl:with-param name="container" select="' concept/concept '"/>
|
---|
185 | </xsl:apply-templates>
|
---|
186 | </xsl:template>
|
---|
187 |
|
---|
188 | <xsl:template match="*" mode="concept.concept.topic.titlealts.in">
|
---|
189 | <xsl:apply-templates select="." mode="topic.titlealts.in">
|
---|
190 | <xsl:with-param name="isRequired" select="'no'"/>
|
---|
191 | <xsl:with-param name="container" select="' concept/concept '"/>
|
---|
192 | </xsl:apply-templates>
|
---|
193 | </xsl:template>
|
---|
194 |
|
---|
195 | <xsl:template match="*" mode="concept.concept.topic.shortdesc.in">
|
---|
196 | <xsl:apply-templates select="." mode="topic.shortdesc.in">
|
---|
197 | <xsl:with-param name="isRequired" select="'no'"/>
|
---|
198 | <xsl:with-param name="container" select="' concept/concept '"/>
|
---|
199 | </xsl:apply-templates>
|
---|
200 | </xsl:template>
|
---|
201 |
|
---|
202 | <xsl:template match="*" mode="concept.concept.topic.prolog.in">
|
---|
203 | <xsl:apply-templates select="." mode="topic.prolog.in">
|
---|
204 | <xsl:with-param name="isRequired" select="'no'"/>
|
---|
205 | <xsl:with-param name="container" select="' concept/concept '"/>
|
---|
206 | </xsl:apply-templates>
|
---|
207 | </xsl:template>
|
---|
208 |
|
---|
209 | <xsl:template match="*" mode="concept.concept.concept.conbody.in">
|
---|
210 | <xsl:apply-templates select="." mode="concept.conbody.in">
|
---|
211 | <xsl:with-param name="isRequired" select="'no'"/>
|
---|
212 | <xsl:with-param name="container" select="' concept/concept '"/>
|
---|
213 | </xsl:apply-templates>
|
---|
214 | </xsl:template>
|
---|
215 |
|
---|
216 | <xsl:template match="*" mode="concept.concept.topic.related-links.in">
|
---|
217 | <xsl:apply-templates select="." mode="topic.related-links.in">
|
---|
218 | <xsl:with-param name="isRequired" select="'no'"/>
|
---|
219 | <xsl:with-param name="container" select="' concept/concept '"/>
|
---|
220 | </xsl:apply-templates>
|
---|
221 | </xsl:template>
|
---|
222 |
|
---|
223 | <xsl:template match="*" mode="concept.concept.topic.topic.in">
|
---|
224 | <xsl:apply-templates select="." mode="topic.topic.in">
|
---|
225 | <xsl:with-param name="container" select="' concept/concept '"/>
|
---|
226 | </xsl:apply-templates>
|
---|
227 | </xsl:template>
|
---|
228 |
|
---|
229 |
|
---|
230 |
|
---|
231 | </xsl:stylesheet>
|
---|