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 | <xsl:template match="*" mode="topic.audience.out">
|
---|
13 | <xsl:param name="container"/>
|
---|
14 | <audience>
|
---|
15 | <xsl:apply-templates match="*" mode="topic.type.in">
|
---|
16 | <xsl:with-param name="container" select="' topic/audience '"/>
|
---|
17 | </xsl:apply-templates>
|
---|
18 | <xsl:apply-templates match="*" mode="topic.othertype.in">
|
---|
19 | <xsl:with-param name="container" select="' topic/audience '"/>
|
---|
20 | </xsl:apply-templates>
|
---|
21 | <xsl:apply-templates match="*" mode="topic.job.in">
|
---|
22 | <xsl:with-param name="container" select="' topic/audience '"/>
|
---|
23 | </xsl:apply-templates>
|
---|
24 | <xsl:apply-templates match="*" mode="topic.otherjob.in">
|
---|
25 | <xsl:with-param name="container" select="' topic/audience '"/>
|
---|
26 | </xsl:apply-templates>
|
---|
27 | <xsl:apply-templates match="*" mode="topic.experiencelevel.in">
|
---|
28 | <xsl:with-param name="container" select="' topic/audience '"/>
|
---|
29 | </xsl:apply-templates>
|
---|
30 | <xsl:apply-templates match="*" mode="topic.name.in">
|
---|
31 | <xsl:with-param name="container" select="' topic/audience '"/>
|
---|
32 | </xsl:apply-templates>
|
---|
33 | <xsl:apply-templates match="*" mode="topic.select.attributes.in">
|
---|
34 | <xsl:with-param name="container" select="' topic/audience '"/>
|
---|
35 | </xsl:apply-templates>
|
---|
36 | </audience>
|
---|
37 | </xsl:template>
|
---|
38 |
|
---|
39 | <xsl:template match="*" mode="topic.author.out">
|
---|
40 | <xsl:param name="container"/>
|
---|
41 | <author>
|
---|
42 | <xsl:apply-templates match="*" mode="topic.href.in">
|
---|
43 | <xsl:with-param name="container" select="' topic/author '"/>
|
---|
44 | </xsl:apply-templates>
|
---|
45 | <xsl:apply-templates match="*" mode="topic.keyref.in">
|
---|
46 | <xsl:with-param name="container" select="' topic/author '"/>
|
---|
47 | </xsl:apply-templates>
|
---|
48 | <xsl:apply-templates match="*" mode="topic.type.in">
|
---|
49 | <xsl:with-param name="container" select="' topic/author '"/>
|
---|
50 | </xsl:apply-templates>
|
---|
51 | <xsl:apply-templates match="*" mode="topic.author.text.in">
|
---|
52 | <xsl:with-param name="container" select="' topic/author '"/>
|
---|
53 | </xsl:apply-templates>
|
---|
54 | </author>
|
---|
55 | </xsl:template>
|
---|
56 |
|
---|
57 | <xsl:template match="*" mode="topic.brand.out">
|
---|
58 | <xsl:param name="container"/>
|
---|
59 | <brand>
|
---|
60 | <xsl:apply-templates match="*" mode="topic.brand.text.in">
|
---|
61 | <xsl:with-param name="container" select="' topic/brand '"/>
|
---|
62 | </xsl:apply-templates>
|
---|
63 | </brand>
|
---|
64 | </xsl:template>
|
---|
65 |
|
---|
66 | <xsl:template match="*" mode="topic.category.out">
|
---|
67 | <xsl:param name="container"/>
|
---|
68 | <category>
|
---|
69 | <xsl:apply-templates match="*" mode="topic.select.attributes.in">
|
---|
70 | <xsl:with-param name="container" select="' topic/category '"/>
|
---|
71 | </xsl:apply-templates>
|
---|
72 | <xsl:apply-templates match="*" mode="topic.category.text.in">
|
---|
73 | <xsl:with-param name="container" select="' topic/category '"/>
|
---|
74 | </xsl:apply-templates>
|
---|
75 | </category>
|
---|
76 | </xsl:template>
|
---|
77 |
|
---|
78 | <xsl:template match="*" mode="topic.component.out">
|
---|
79 | <xsl:param name="container"/>
|
---|
80 | <component>
|
---|
81 | <xsl:apply-templates match="*" mode="topic.component.text.in">
|
---|
82 | <xsl:with-param name="container" select="' topic/component '"/>
|
---|
83 | </xsl:apply-templates>
|
---|
84 | </component>
|
---|
85 | </xsl:template>
|
---|
86 |
|
---|
87 | <xsl:template match="*" mode="topic.copyholder.out">
|
---|
88 | <xsl:param name="container"/>
|
---|
89 | <copyholder>
|
---|
90 | <xsl:apply-templates match="*" mode="topic.copyholder.text.in">
|
---|
91 | <xsl:with-param name="container" select="' topic/copyholder '"/>
|
---|
92 | </xsl:apply-templates>
|
---|
93 | </copyholder>
|
---|
94 | </xsl:template>
|
---|
95 |
|
---|
96 | <xsl:template match="*" mode="topic.copyright.out">
|
---|
97 | <xsl:param name="container"/>
|
---|
98 | <copyright>
|
---|
99 | <xsl:apply-templates match="*" mode="topic.type.in">
|
---|
100 | <xsl:with-param name="container" select="' topic/copyright '"/>
|
---|
101 | </xsl:apply-templates>
|
---|
102 | <xsl:apply-templates match="*" mode="topic.copyryear.in">
|
---|
103 | <xsl:with-param name="container" select="' topic/copyright '"/>
|
---|
104 | </xsl:apply-templates>
|
---|
105 | <xsl:apply-templates match="*" mode="topic.copyrholder.in">
|
---|
106 | <xsl:with-param name="container" select="' topic/copyright '"/>
|
---|
107 | </xsl:apply-templates>
|
---|
108 | </copyright>
|
---|
109 | </xsl:template>
|
---|
110 |
|
---|
111 | <xsl:template match="*" mode=".copyryear.out">
|
---|
112 | <xsl:param name="container"/>
|
---|
113 | <copyryear>
|
---|
114 | <xsl:apply-templates match="*" mode="topic.year.in">
|
---|
115 | <xsl:with-param name="container" select="' topic/copyryear '"/>
|
---|
116 | </xsl:apply-templates>
|
---|
117 | <xsl:apply-templates match="*" mode="topic.select.attributes.in">
|
---|
118 | <xsl:with-param name="container" select="' topic/copyryear '"/>
|
---|
119 | </xsl:apply-templates>
|
---|
120 | </copyryear>
|
---|
121 | </xsl:template>
|
---|
122 |
|
---|
123 | <xsl:template match="*" mode="topic.created.out">
|
---|
124 | <xsl:param name="container"/>
|
---|
125 | <created>
|
---|
126 | <xsl:apply-templates match="*" mode="topic.date.in">
|
---|
127 | <xsl:with-param name="container" select="' topic/created '"/>
|
---|
128 | </xsl:apply-templates>
|
---|
129 | <xsl:apply-templates match="*" mode="topic.golive.in">
|
---|
130 | <xsl:with-param name="container" select="' topic/created '"/>
|
---|
131 | </xsl:apply-templates>
|
---|
132 | <xsl:apply-templates match="*" mode="topic.expiry.in">
|
---|
133 | <xsl:with-param name="container" select="' topic/created '"/>
|
---|
134 | </xsl:apply-templates>
|
---|
135 | </created>
|
---|
136 | </xsl:template>
|
---|
137 |
|
---|
138 | <xsl:template match="*" mode="topic.critdates.out">
|
---|
139 | <xsl:param name="container"/>
|
---|
140 | <critdates>
|
---|
141 | <xsl:apply-templates match="*" mode="topic.created.in">
|
---|
142 | <xsl:with-param name="container" select="' topic/critdates '"/>
|
---|
143 | </xsl:apply-templates>
|
---|
144 | <xsl:apply-templates match="*" mode="topic.revised.in">
|
---|
145 | <xsl:with-param name="container" select="' topic/critdates '"/>
|
---|
146 | </xsl:apply-templates>
|
---|
147 | </critdates>
|
---|
148 | </xsl:template>
|
---|
149 |
|
---|
150 | <xsl:template match="*" mode="topic.featnum.out">
|
---|
151 | <xsl:param name="container"/>
|
---|
152 | <featnum>
|
---|
153 | <xsl:apply-templates match="*" mode="topic.featnum.text.in">
|
---|
154 | <xsl:with-param name="container" select="' topic/featnum '"/>
|
---|
155 | </xsl:apply-templates>
|
---|
156 | </featnum>
|
---|
157 | </xsl:template>
|
---|
158 |
|
---|
159 | <xsl:template match="*" mode="topic.indexterm.out">
|
---|
160 | <xsl:param name="container"/>
|
---|
161 | <indexterm>
|
---|
162 | <xsl:apply-templates match="*" mode="topic.keyref.in">
|
---|
163 | <xsl:with-param name="container" select="' topic/indexterm '"/>
|
---|
164 | </xsl:apply-templates>
|
---|
165 | <xsl:apply-templates match="*" mode="topic.univ.attributes.in">
|
---|
166 | <xsl:with-param name="container" select="' topic/indexterm '"/>
|
---|
167 | </xsl:apply-templates>
|
---|
168 | <xsl:apply-templates match="*" mode="topic.indexterm.text.in">
|
---|
169 | <xsl:with-param name="container" select="' topic/indexterm '"/>
|
---|
170 | </xsl:apply-templates>
|
---|
171 | </indexterm>
|
---|
172 | </xsl:template>
|
---|
173 |
|
---|
174 | <xsl:template match="*" mode="topic.keywords.out">
|
---|
175 | <xsl:param name="container"/>
|
---|
176 | <keywords>
|
---|
177 | <xsl:apply-templates match="*" mode="topic.id.attributes.in">
|
---|
178 | <xsl:with-param name="container" select="' topic/keywords '"/>
|
---|
179 | </xsl:apply-templates>
|
---|
180 | <xsl:apply-templates match="*" mode="topic.select.attributes.in">
|
---|
181 | <xsl:with-param name="container" select="' topic/keywords '"/>
|
---|
182 | </xsl:apply-templates>
|
---|
183 | <xsl:apply-templates match="*" mode="topic.keywords.choice.in">
|
---|
184 | <xsl:with-param name="container" select="' topic/keywords '"/>
|
---|
185 | </xsl:apply-templates>
|
---|
186 | </keywords>
|
---|
187 | </xsl:template>
|
---|
188 |
|
---|
189 | <xsl:template match="*" mode="topic.othermeta.out">
|
---|
190 | <xsl:param name="container"/>
|
---|
191 | <othermeta>
|
---|
192 | <xsl:apply-templates match="*" mode="topic.name.in">
|
---|
193 | <xsl:with-param name="container" select="' topic/othermeta '"/>
|
---|
194 | </xsl:apply-templates>
|
---|
195 | <xsl:apply-templates match="*" mode="topic.content.in">
|
---|
196 | <xsl:with-param name="container" select="' topic/othermeta '"/>
|
---|
197 | </xsl:apply-templates>
|
---|
198 | <xsl:apply-templates match="*" mode="topic.translate-content.in">
|
---|
199 | <xsl:with-param name="container" select="' topic/othermeta '"/>
|
---|
200 | </xsl:apply-templates>
|
---|
201 | <xsl:apply-templates match="*" mode="topic.select.attributes.in">
|
---|
202 | <xsl:with-param name="container" select="' topic/othermeta '"/>
|
---|
203 | </xsl:apply-templates>
|
---|
204 | </othermeta>
|
---|
205 | </xsl:template>
|
---|
206 |
|
---|
207 | <xsl:template match="*" mode="topic.permissions.out">
|
---|
208 | <xsl:param name="container"/>
|
---|
209 | <permissions>
|
---|
210 | <xsl:apply-templates match="*" mode="topic.view.in">
|
---|
211 | <xsl:with-param name="container" select="' topic/permissions '"/>
|
---|
212 | </xsl:apply-templates>
|
---|
213 | </permissions>
|
---|
214 | </xsl:template>
|
---|
215 |
|
---|
216 | <xsl:template match="*" mode="topic.platform.out">
|
---|
217 | <xsl:param name="container"/>
|
---|
218 | <platform>
|
---|
219 | <xsl:apply-templates match="*" mode="topic.platform.text.in">
|
---|
220 | <xsl:with-param name="container" select="' topic/platform '"/>
|
---|
221 | </xsl:apply-templates>
|
---|
222 | </platform>
|
---|
223 | </xsl:template>
|
---|
224 |
|
---|
225 | <xsl:template match="*" mode="topic.prodinfo.out">
|
---|
226 | <xsl:param name="container"/>
|
---|
227 | <prodinfo>
|
---|
228 | <xsl:apply-templates match="*" mode="topic.select.attributes.in">
|
---|
229 | <xsl:with-param name="container" select="' topic/prodinfo '"/>
|
---|
230 | </xsl:apply-templates>
|
---|
231 | <xsl:apply-templates match="*" mode="topic.prodname.in">
|
---|
232 | <xsl:with-param name="container" select="' topic/prodinfo '"/>
|
---|
233 | </xsl:apply-templates>
|
---|
234 | <xsl:apply-templates match="*" mode="topic.vrmlist.in">
|
---|
235 | <xsl:with-param name="container" select="' topic/prodinfo '"/>
|
---|
236 | </xsl:apply-templates>
|
---|
237 | <xsl:apply-templates match="*" mode="topic.prodinfo.content.in">
|
---|
238 | <xsl:with-param name="container" select="' topic/prodinfo '"/>
|
---|
239 | </xsl:apply-templates>
|
---|
240 | </prodinfo>
|
---|
241 | </xsl:template>
|
---|
242 |
|
---|
243 | <xsl:template match="*" mode="topic.prodname.out">
|
---|
244 | <xsl:param name="container"/>
|
---|
245 | <prodname>
|
---|
246 | <xsl:apply-templates match="*" mode="topic.prodname.text.in">
|
---|
247 | <xsl:with-param name="container" select="' topic/prodname '"/>
|
---|
248 | </xsl:apply-templates>
|
---|
249 | </prodname>
|
---|
250 | </xsl:template>
|
---|
251 |
|
---|
252 | <xsl:template match="*" mode="topic.prognum.out">
|
---|
253 | <xsl:param name="container"/>
|
---|
254 | <prognum>
|
---|
255 | <xsl:apply-templates match="*" mode="topic.prognum.text.in">
|
---|
256 | <xsl:with-param name="container" select="' topic/prognum '"/>
|
---|
257 | </xsl:apply-templates>
|
---|
258 | </prognum>
|
---|
259 | </xsl:template>
|
---|
260 |
|
---|
261 | <xsl:template match="*" mode="topic.publisher.out">
|
---|
262 | <xsl:param name="container"/>
|
---|
263 | <publisher>
|
---|
264 | <xsl:apply-templates match="*" mode="topic.href.in">
|
---|
265 | <xsl:with-param name="container" select="' topic/publisher '"/>
|
---|
266 | </xsl:apply-templates>
|
---|
267 | <xsl:apply-templates match="*" mode="topic.keyref.in">
|
---|
268 | <xsl:with-param name="container" select="' topic/publisher '"/>
|
---|
269 | </xsl:apply-templates>
|
---|
270 | <xsl:apply-templates match="*" mode="topic.select.attributes.in">
|
---|
271 | <xsl:with-param name="container" select="' topic/publisher '"/>
|
---|
272 | </xsl:apply-templates>
|
---|
273 | <xsl:apply-templates match="*" mode="topic.publisher.text.in">
|
---|
274 | <xsl:with-param name="container" select="' topic/publisher '"/>
|
---|
275 | </xsl:apply-templates>
|
---|
276 | </publisher>
|
---|
277 | </xsl:template>
|
---|
278 |
|
---|
279 | <xsl:template match="*" mode="topic.resourceid.out">
|
---|
280 | <xsl:param name="container"/>
|
---|
281 | <resourceid>
|
---|
282 | <xsl:apply-templates match="*" mode="topic.id.in">
|
---|
283 | <xsl:with-param name="container" select="' topic/resourceid '"/>
|
---|
284 | </xsl:apply-templates>
|
---|
285 | <xsl:apply-templates match="*" mode="topic.appname.in">
|
---|
286 | <xsl:with-param name="container" select="' topic/resourceid '"/>
|
---|
287 | </xsl:apply-templates>
|
---|
288 | </resourceid>
|
---|
289 | </xsl:template>
|
---|
290 |
|
---|
291 | <xsl:template match="*" mode="topic.revised.out">
|
---|
292 | <xsl:param name="container"/>
|
---|
293 | <revised>
|
---|
294 | <xsl:apply-templates match="*" mode="topic.modified.in">
|
---|
295 | <xsl:with-param name="container" select="' topic/revised '"/>
|
---|
296 | </xsl:apply-templates>
|
---|
297 | <xsl:apply-templates match="*" mode="topic.golive.in">
|
---|
298 | <xsl:with-param name="container" select="' topic/revised '"/>
|
---|
299 | </xsl:apply-templates>
|
---|
300 | <xsl:apply-templates match="*" mode="topic.expiry.in">
|
---|
301 | <xsl:with-param name="container" select="' topic/revised '"/>
|
---|
302 | </xsl:apply-templates>
|
---|
303 | <xsl:apply-templates match="*" mode="topic.select.attributes.in">
|
---|
304 | <xsl:with-param name="container" select="' topic/revised '"/>
|
---|
305 | </xsl:apply-templates>
|
---|
306 | </revised>
|
---|
307 | </xsl:template>
|
---|
308 |
|
---|
309 | <xsl:template match="*" mode="topic.series.out">
|
---|
310 | <xsl:param name="container"/>
|
---|
311 | <series>
|
---|
312 | <xsl:apply-templates match="*" mode="topic.series.text.in">
|
---|
313 | <xsl:with-param name="container" select="' topic/series '"/>
|
---|
314 | </xsl:apply-templates>
|
---|
315 | </series>
|
---|
316 | </xsl:template>
|
---|
317 |
|
---|
318 | <xsl:template match="*" mode="topic.source.out">
|
---|
319 | <xsl:param name="container"/>
|
---|
320 | <source>
|
---|
321 | <xsl:apply-templates match="*" mode="topic.href.in">
|
---|
322 | <xsl:with-param name="container" select="' topic/source '"/>
|
---|
323 | </xsl:apply-templates>
|
---|
324 | <xsl:apply-templates match="*" mode="topic.keyref.in">
|
---|
325 | <xsl:with-param name="container" select="' topic/source '"/>
|
---|
326 | </xsl:apply-templates>
|
---|
327 | <xsl:apply-templates match="*" mode="topic.source.text.in">
|
---|
328 | <xsl:with-param name="container" select="' topic/source '"/>
|
---|
329 | </xsl:apply-templates>
|
---|
330 | </source>
|
---|
331 | </xsl:template>
|
---|
332 |
|
---|
333 | <xsl:template match="*" mode="topic.vrm.out">
|
---|
334 | <xsl:param name="container"/>
|
---|
335 | <vrm>
|
---|
336 | <xsl:apply-templates match="*" mode="topic.version.in">
|
---|
337 | <xsl:with-param name="container" select="' topic/vrm '"/>
|
---|
338 | </xsl:apply-templates>
|
---|
339 | <xsl:apply-templates match="*" mode="topic.release.in">
|
---|
340 | <xsl:with-param name="container" select="' topic/vrm '"/>
|
---|
341 | </xsl:apply-templates>
|
---|
342 | <xsl:apply-templates match="*" mode="topic.modification.in">
|
---|
343 | <xsl:with-param name="container" select="' topic/vrm '"/>
|
---|
344 | </xsl:apply-templates>
|
---|
345 | </vrm>
|
---|
346 | </xsl:template>
|
---|
347 |
|
---|
348 | <xsl:template match="*" mode="topic.vrmlist.out">
|
---|
349 | <xsl:param name="container"/>
|
---|
350 | <vrmlist>
|
---|
351 | <xsl:apply-templates match="*" mode="topic.vrm.in">
|
---|
352 | <xsl:with-param name="container" select="' topic/vrmlist '"/>
|
---|
353 | </xsl:apply-templates>
|
---|
354 | </vrmlist>
|
---|
355 | </xsl:template>
|
---|
356 |
|
---|
357 | </xsl:stylesheet>
|
---|