source: josm/trunk/styles/standard/overview.xsl@ 717

Last change on this file since 717 was 717, checked in by (none), 16 years ago

sync some rules with tagwatch
don't show the proposed icon any more (using tagwatch now)
use some of the already existing icons

File size: 21.1 KB
Line 
1<?xml version="1.0" encoding="iso-8859-1"?>
2<xsl:stylesheet
3 version="1.0"
4 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
5 xmlns:html="http://www.w3.org/1999/xhtml"
6 exclude-result-prefixes="html"
7>
8
9 <xsl:output
10 method="xml"
11 indent="yes"
12 encoding="UTF-8"
13 />
14
15
16<xsl:variable name="column-width">2</xsl:variable>
17<xsl:variable name="xscale">10</xsl:variable>
18<xsl:variable name="yscale">10</xsl:variable>
19<xsl:variable name="areaoffset">4</xsl:variable>
20
21
22<xsl:template name="node-attributes">
23 <xsl:param name="id" />
24 <xsl:param name="x" />
25 <xsl:param name="y" />
26
27
28 <xsl:variable name="lon">
29 <xsl:choose>
30 <xsl:when test="$x &gt;= 1000"><xsl:value-of select="$x" /></xsl:when>
31 <xsl:when test="$x &gt;= 100">0<xsl:value-of select="$x" /></xsl:when>
32 <xsl:when test="$x &gt;= 10">00<xsl:value-of select="$x" /></xsl:when>
33 <xsl:otherwise>000<xsl:value-of select="$x" /></xsl:otherwise>
34 </xsl:choose>
35 </xsl:variable>
36
37 <xsl:variable name="lat">
38 <xsl:choose>
39 <xsl:when test="$y &gt;= 1000"><xsl:value-of select="$y" /></xsl:when>
40 <xsl:when test="$y &gt;= 100">0<xsl:value-of select="$y" /></xsl:when>
41 <xsl:when test="$y &gt;= 10">00<xsl:value-of select="$y" /></xsl:when>
42 <xsl:otherwise>000<xsl:value-of select="$y" /></xsl:otherwise>
43 </xsl:choose>
44 </xsl:variable>
45
46
47 <xsl:attribute name="id"><xsl:value-of select="$id" /></xsl:attribute>
48 <xsl:attribute name="user">overview-creator</xsl:attribute>
49 <xsl:attribute name="visible">true</xsl:attribute>
50 <xsl:attribute name="lat">-0.0<xsl:value-of select="$lat" /></xsl:attribute>
51 <xsl:attribute name="lon">0.0<xsl:value-of select="$lon" /></xsl:attribute>
52
53 <!-- debugging
54 <xsl:element name="tag">
55 <xsl:attribute name="k">x</xsl:attribute>
56 <xsl:attribute name="v"><xsl:value-of select="$x" /></xsl:attribute>
57 </xsl:element>
58
59 <xsl:element name="tag">
60 <xsl:attribute name="k">y</xsl:attribute>
61 <xsl:attribute name="v"><xsl:value-of select="$y" /></xsl:attribute>
62 </xsl:element>
63 -->
64
65 <!-- debugging
66 <xsl:element name="tag">
67 <xsl:attribute name="k">lat</xsl:attribute>
68 <xsl:attribute name="v"><xsl:value-of select="$lat" /></xsl:attribute>
69 </xsl:element>
70
71 <xsl:element name="tag">
72 <xsl:attribute name="k">lon</xsl:attribute>
73 <xsl:attribute name="v"><xsl:value-of select="$lon" /></xsl:attribute>
74 </xsl:element>
75 -->
76
77</xsl:template>
78
79
80
81<xsl:template name="rule">
82 <xsl:param name="index" />
83 <xsl:param name="xpos" />
84 <xsl:param name="ypos" />
85
86
87 <xsl:variable name="xoffset"><xsl:value-of select="number( ($xpos) * ($xscale + $column-width*$xscale) )" /></xsl:variable>
88 <xsl:variable name="yoffset"><xsl:value-of select="number($ypos*$yscale)" /></xsl:variable>
89 <xsl:variable name="idbase"><xsl:value-of select="number($xpos * 20000 + $ypos * 200)" /></xsl:variable>
90
91
92
93 <!-- ICON example -->
94 <xsl:element name="node">
95 <xsl:call-template name="node-attributes">
96 <xsl:with-param name="id" select="-number($idbase + 0)"/>
97 <xsl:with-param name="x" select="number( 0*$xscale + $xoffset )"/>
98 <xsl:with-param name="y" select="$yoffset"/>
99 </xsl:call-template>
100
101 <xsl:element name="tag">
102 <xsl:attribute name="k"><xsl:value-of select = "rule[$index]/condition/@k" /></xsl:attribute>
103 <xsl:attribute name="v"><xsl:value-of select = "rule[$index]/condition/@v" /></xsl:attribute>
104 </xsl:element>
105 <xsl:element name="tag">
106 <xsl:attribute name="k">name</xsl:attribute>
107 <xsl:attribute name="v"><xsl:value-of select = "rule[$index]/condition/@v" /></xsl:attribute>
108 </xsl:element>
109 </xsl:element>
110
111
112 <!-- AREA / LINE example -->
113
114 <xsl:element name="node">
115 <xsl:call-template name="node-attributes">
116 <xsl:with-param name="id" select="-number($idbase + 1)"/>
117 <xsl:with-param name="x" select="number($xoffset - $areaoffset)"/>
118 <xsl:with-param name="y" select="number($yoffset - $areaoffset)"/>
119 </xsl:call-template>
120 <xsl:element name="tag">
121 <xsl:attribute name="k">pos</xsl:attribute>
122 <xsl:attribute name="v">nw</xsl:attribute>
123 </xsl:element>
124 </xsl:element>
125
126 <xsl:element name="node">
127 <xsl:call-template name="node-attributes">
128 <xsl:with-param name="id" select="-number($idbase + 2)"/>
129 <xsl:with-param name="x" select="number($xoffset + $areaoffset + 2*$xscale)"/>
130 <xsl:with-param name="y" select="number($yoffset - $areaoffset)"/>
131 </xsl:call-template>
132 <xsl:element name="tag">
133 <xsl:attribute name="k">pos</xsl:attribute>
134 <xsl:attribute name="v">ne</xsl:attribute>
135 </xsl:element>
136 </xsl:element>
137
138 <xsl:element name="node">
139 <xsl:call-template name="node-attributes">
140 <xsl:with-param name="id" select="-number($idbase + 3)"/>
141 <xsl:with-param name="x" select="number($xoffset + $areaoffset + 2*$xscale)"/>
142 <xsl:with-param name="y" select="number($yoffset + $areaoffset)"/>
143 </xsl:call-template>
144 <xsl:element name="tag">
145 <xsl:attribute name="k">pos</xsl:attribute>
146 <xsl:attribute name="v">se</xsl:attribute>
147 </xsl:element>
148 </xsl:element>
149
150 <xsl:element name="node">
151 <xsl:call-template name="node-attributes">
152 <xsl:with-param name="id" select="-number($idbase + 4)"/>
153 <xsl:with-param name="x" select="number($xoffset - $areaoffset)"/>
154 <xsl:with-param name="y" select="number($yoffset + $areaoffset)"/>
155 </xsl:call-template>
156 <xsl:element name="tag">
157 <xsl:attribute name="k">pos</xsl:attribute>
158 <xsl:attribute name="v">sw</xsl:attribute>
159 </xsl:element>
160 </xsl:element>
161
162
163 <xsl:element name="way">
164 <xsl:attribute name="id"><xsl:value-of select="-number($idbase + 4)" /></xsl:attribute>
165 <xsl:attribute name="user">overview-creator</xsl:attribute>
166 <xsl:attribute name="visible">true</xsl:attribute>
167
168 <xsl:element name="nd">
169 <xsl:attribute name="ref"><xsl:value-of select = "-number($idbase + 1)" /></xsl:attribute>
170 </xsl:element>
171 <xsl:element name="nd">
172 <xsl:attribute name="ref"><xsl:value-of select = "-number($idbase + 2)" /></xsl:attribute>
173 </xsl:element>
174 <xsl:element name="nd">
175 <xsl:attribute name="ref"><xsl:value-of select = "-number($idbase + 3)" /></xsl:attribute>
176 </xsl:element>
177 <xsl:element name="nd">
178 <xsl:attribute name="ref"><xsl:value-of select = "-number($idbase + 4)" /></xsl:attribute>
179 </xsl:element>
180 <xsl:element name="nd">
181 <xsl:attribute name="ref"><xsl:value-of select = "-number($idbase + 1)" /></xsl:attribute>
182 </xsl:element>
183
184 <xsl:element name="tag">
185 <xsl:attribute name="k"><xsl:value-of select = "rule[$index]/condition/@k" /></xsl:attribute>
186 <xsl:attribute name="v"><xsl:value-of select = "rule[$index]/condition/@v" /></xsl:attribute>
187 </xsl:element>
188 <xsl:element name="tag">
189 <xsl:attribute name="k">name</xsl:attribute>
190 <xsl:attribute name="v"><xsl:value-of select = "rule[$index]/condition/@v" /></xsl:attribute>
191 </xsl:element>
192 </xsl:element>
193</xsl:template>
194
195
196<xsl:template name="posed_rules">
197
198 <xsl:param name="key"/>
199 <xsl:param name="index"/>
200 <xsl:param name="xpos"/>
201 <xsl:param name="ypos"/>
202
203 <xsl:if test="rule[$index]/condition/@k=$key">
204 <xsl:call-template name="rule">
205 <xsl:with-param name="index" select="$index"/>
206 <xsl:with-param name="xpos" select="$xpos"/>
207 <xsl:with-param name="ypos" select="$ypos"/>
208 </xsl:call-template>
209
210 <xsl:choose>
211 <xsl:when test="$ypos &lt; 41">
212 <!-- recursive call - increasing index and output counters -->
213 <xsl:call-template name="posed_rules">
214 <xsl:with-param name="key" select="$key"/>
215 <xsl:with-param name="index" select="$index + 1"/>
216 <xsl:with-param name="xpos" select="$xpos"/>
217 <xsl:with-param name="ypos" select="$ypos + 1"/>
218 </xsl:call-template>
219 </xsl:when>
220 <xsl:otherwise>
221 <!-- recursive call - increasing index and output counters -->
222 <xsl:call-template name="posed_rules">
223 <xsl:with-param name="key" select="$key"/>
224 <xsl:with-param name="index" select="$index + 1"/>
225 <xsl:with-param name="xpos" select="$xpos + 1"/>
226 <xsl:with-param name="ypos" select="30"/>
227 </xsl:call-template>
228 </xsl:otherwise>
229 </xsl:choose>
230 </xsl:if>
231
232 <xsl:if test="rule[$index]/condition/@k!=$key">
233 <!-- recursive call - only increasing the index counter -->
234 <xsl:call-template name="posed_rules">
235 <xsl:with-param name="key" select="$key"/>
236 <xsl:with-param name="index" select="$index + 1"/>
237 <xsl:with-param name="xpos" select="$xpos"/>
238 <xsl:with-param name="ypos" select="$ypos"/>
239 </xsl:call-template>
240 </xsl:if>
241
242</xsl:template>
243
244
245<xsl:template name="topic">
246
247 <xsl:param name="key"/>
248 <xsl:param name="row"/>
249 <xsl:param name="column"/>
250
251
252 <xsl:variable name="xoffset"><xsl:value-of select="number( ($column) * ($xscale + $column-width*$xscale) )" /></xsl:variable>
253 <xsl:variable name="yoffset"><xsl:value-of select="number($row*$yscale)" /></xsl:variable>
254 <xsl:variable name="idbase"><xsl:value-of select="number($column * 20000 + $row * 200)" /></xsl:variable>
255
256
257 <!-- header item -->
258 <xsl:element name="node">
259 <xsl:call-template name="node-attributes">
260 <xsl:with-param name="id" select="-number($idbase)"/>
261 <xsl:with-param name="x" select="number($xoffset)"/>
262 <xsl:with-param name="y" select="number($yoffset)"/>
263 </xsl:call-template>
264
265 <xsl:element name="tag">
266 <xsl:attribute name="k"><xsl:value-of select = "'tourism'" /></xsl:attribute>
267 <xsl:attribute name="v"><xsl:value-of select = "'information'" /></xsl:attribute>
268 </xsl:element>
269 <xsl:element name="tag">
270 <xsl:attribute name="k">name</xsl:attribute>
271 <xsl:attribute name="v"><xsl:value-of select = "$key" /></xsl:attribute>
272 </xsl:element>
273 </xsl:element>
274
275 <!-- key related items -->
276 <xsl:call-template name="posed_rules">
277 <xsl:with-param name="key" select="$key"/>
278 <xsl:with-param name="index" select="1"/>
279 <xsl:with-param name="xpos" select="$column"/>
280 <xsl:with-param name="ypos" select="number($row + 1)"/>
281 </xsl:call-template>
282</xsl:template>
283
284
285<xsl:template match="rules">
286
287 <xsl:comment>DO NOT EDIT! THIS FILE IS GENERATED!!!</xsl:comment>
288 <xsl:element name="osm">
289 <xsl:attribute name="version">0.5</xsl:attribute>
290 <xsl:attribute name="generator">overview-creator.xslt</xsl:attribute>
291
292
293 <xsl:call-template name="topic">
294 <xsl:with-param name="key" select="'highway'"/>
295 <xsl:with-param name="column" select="1"/>
296 <xsl:with-param name="row" select="1"/>
297 </xsl:call-template>
298
299 <xsl:call-template name="topic">
300 <xsl:with-param name="key" select="'cycleway'"/>
301 <xsl:with-param name="column" select="2"/>
302 <xsl:with-param name="row" select="1"/>
303 </xsl:call-template>
304 <xsl:call-template name="topic">
305 <xsl:with-param name="key" select="'tracktype'"/>
306 <xsl:with-param name="column" select="2"/>
307 <xsl:with-param name="row" select="8"/>
308 </xsl:call-template>
309 <xsl:call-template name="topic">
310 <xsl:with-param name="key" select="'surface'"/>
311 <xsl:with-param name="column" select="2"/>
312 <xsl:with-param name="row" select="15"/>
313 </xsl:call-template>
314 <xsl:call-template name="topic">
315 <xsl:with-param name="key" select="'abutters'"/>
316 <xsl:with-param name="column" select="2"/>
317 <xsl:with-param name="row" select="17"/>
318 </xsl:call-template>
319 <xsl:call-template name="topic">
320 <xsl:with-param name="key" select="'bridge'"/>
321 <xsl:with-param name="column" select="2"/>
322 <xsl:with-param name="row" select="20"/>
323 </xsl:call-template>
324 <xsl:call-template name="topic">
325 <xsl:with-param name="key" select="'tunnel'"/>
326 <xsl:with-param name="column" select="2"/>
327 <xsl:with-param name="row" select="30"/>
328 </xsl:call-template>
329 <xsl:call-template name="topic">
330 <xsl:with-param name="key" select="'mountain_pass'"/>
331 <xsl:with-param name="column" select="2"/>
332 <xsl:with-param name="row" select="35"/>
333 </xsl:call-template>
334 <xsl:call-template name="topic">
335 <xsl:with-param name="key" select="'junction'"/>
336 <xsl:with-param name="column" select="2"/>
337 <xsl:with-param name="row" select="38"/>
338 </xsl:call-template>
339 <xsl:call-template name="topic">
340 <xsl:with-param name="key" select="'barrier'"/>
341 <xsl:with-param name="column" select="3"/>
342 <xsl:with-param name="row" select="35"/>
343 </xsl:call-template>
344
345 <xsl:call-template name="topic">
346 <xsl:with-param name="key" select="'access'"/>
347 <xsl:with-param name="column" select="3"/>
348 <xsl:with-param name="row" select="1"/>
349 </xsl:call-template>
350 <xsl:call-template name="topic">
351 <xsl:with-param name="key" select="'bicycle'"/>
352 <xsl:with-param name="column" select="3"/>
353 <xsl:with-param name="row" select="3"/>
354 </xsl:call-template>
355 <xsl:call-template name="topic">
356 <xsl:with-param name="key" select="'foot'"/>
357 <xsl:with-param name="column" select="3"/>
358 <xsl:with-param name="row" select="6"/>
359 </xsl:call-template>
360 <xsl:call-template name="topic">
361 <xsl:with-param name="key" select="'goods'"/>
362 <xsl:with-param name="column" select="3"/>
363 <xsl:with-param name="row" select="10"/>
364 </xsl:call-template>
365 <xsl:call-template name="topic">
366 <xsl:with-param name="key" select="'hgv'"/>
367 <xsl:with-param name="column" select="3"/>
368 <xsl:with-param name="row" select="12"/>
369 </xsl:call-template>
370 <xsl:call-template name="topic">
371 <xsl:with-param name="key" select="'horse'"/>
372 <xsl:with-param name="column" select="3"/>
373 <xsl:with-param name="row" select="14"/>
374 </xsl:call-template>
375 <xsl:call-template name="topic">
376 <xsl:with-param name="key" select="'motorcycle'"/>
377 <xsl:with-param name="column" select="3"/>
378 <xsl:with-param name="row" select="17"/>
379 </xsl:call-template>
380 <xsl:call-template name="topic">
381 <xsl:with-param name="key" select="'motorcar'"/>
382 <xsl:with-param name="column" select="3"/>
383 <xsl:with-param name="row" select="19"/>
384 </xsl:call-template>
385 <xsl:call-template name="topic">
386 <xsl:with-param name="key" select="'psv'"/>
387 <xsl:with-param name="column" select="3"/>
388 <xsl:with-param name="row" select="21"/>
389 </xsl:call-template>
390 <xsl:call-template name="topic">
391 <xsl:with-param name="key" select="'motorboat'"/>
392 <xsl:with-param name="column" select="3"/>
393 <xsl:with-param name="row" select="23"/>
394 </xsl:call-template>
395 <xsl:call-template name="topic">
396 <xsl:with-param name="key" select="'boat'"/>
397 <xsl:with-param name="column" select="3"/>
398 <xsl:with-param name="row" select="25"/>
399 </xsl:call-template>
400
401 <xsl:call-template name="topic">
402 <xsl:with-param name="key" select="'noexit'"/>
403 <xsl:with-param name="column" select="4"/>
404 <xsl:with-param name="row" select="1"/>
405 </xsl:call-template>
406 <xsl:call-template name="topic">
407 <xsl:with-param name="key" select="'maxweight'"/>
408 <xsl:with-param name="column" select="4"/>
409 <xsl:with-param name="row" select="3"/>
410 </xsl:call-template>
411 <xsl:call-template name="topic">
412 <xsl:with-param name="key" select="'maxheight'"/>
413 <xsl:with-param name="column" select="4"/>
414 <xsl:with-param name="row" select="5"/>
415 </xsl:call-template>
416 <xsl:call-template name="topic">
417 <xsl:with-param name="key" select="'maxwidth'"/>
418 <xsl:with-param name="column" select="4"/>
419 <xsl:with-param name="row" select="7"/>
420 </xsl:call-template>
421 <xsl:call-template name="topic">
422 <xsl:with-param name="key" select="'maxlength'"/>
423 <xsl:with-param name="column" select="4"/>
424 <xsl:with-param name="row" select="9"/>
425 </xsl:call-template>
426 <xsl:call-template name="topic">
427 <xsl:with-param name="key" select="'maxspeed'"/>
428 <xsl:with-param name="column" select="4"/>
429 <xsl:with-param name="row" select="11"/>
430 </xsl:call-template>
431 <xsl:call-template name="topic">
432 <xsl:with-param name="key" select="'minspeed'"/>
433 <xsl:with-param name="column" select="4"/>
434 <xsl:with-param name="row" select="13"/>
435 </xsl:call-template>
436 <xsl:call-template name="topic">
437 <xsl:with-param name="key" select="'maxstay'"/>
438 <xsl:with-param name="column" select="4"/>
439 <xsl:with-param name="row" select="15"/>
440 </xsl:call-template>
441 <xsl:call-template name="topic">
442 <xsl:with-param name="key" select="'toll'"/>
443 <xsl:with-param name="column" select="4"/>
444 <xsl:with-param name="row" select="17"/>
445 </xsl:call-template>
446 <xsl:call-template name="topic">
447 <xsl:with-param name="key" select="'oneway'"/>
448 <xsl:with-param name="column" select="4"/>
449 <xsl:with-param name="row" select="19"/>
450 </xsl:call-template>
451
452 <xsl:call-template name="topic">
453 <xsl:with-param name="key" select="'railway'"/>
454 <xsl:with-param name="column" select="5"/>
455 <xsl:with-param name="row" select="1"/>
456 </xsl:call-template>
457 <xsl:call-template name="topic">
458 <xsl:with-param name="key" select="'service'"/>
459 <xsl:with-param name="column" select="5"/>
460 <xsl:with-param name="row" select="21"/>
461 </xsl:call-template>
462 <xsl:call-template name="topic">
463 <xsl:with-param name="key" select="'route'"/>
464 <xsl:with-param name="column" select="5"/>
465 <xsl:with-param name="row" select="33"/>
466 </xsl:call-template>
467
468 <xsl:call-template name="topic">
469 <xsl:with-param name="key" select="'aeroway'"/>
470 <xsl:with-param name="column" select="6"/>
471 <xsl:with-param name="row" select="1"/>
472 </xsl:call-template>
473 <xsl:call-template name="topic">
474 <xsl:with-param name="key" select="'aerialway'"/>
475 <xsl:with-param name="column" select="6"/>
476 <xsl:with-param name="row" select="10"/>
477 </xsl:call-template>
478 <xsl:call-template name="topic">
479 <xsl:with-param name="key" select="'piste:difficulty'"/>
480 <xsl:with-param name="column" select="6"/>
481 <xsl:with-param name="row" select="17"/>
482 </xsl:call-template>
483 <xsl:call-template name="topic">
484 <xsl:with-param name="key" select="'waterway'"/>
485 <xsl:with-param name="column" select="6"/>
486 <xsl:with-param name="row" select="25"/>
487 </xsl:call-template>
488
489
490 <xsl:call-template name="topic">
491 <xsl:with-param name="key" select="'amenity'"/>
492 <xsl:with-param name="column" select="8"/>
493 <xsl:with-param name="row" select="1"/>
494 </xsl:call-template>
495
496 <xsl:call-template name="topic">
497 <xsl:with-param name="key" select="'leisure'"/>
498 <xsl:with-param name="column" select="9"/>
499 <xsl:with-param name="row" select="1"/>
500 </xsl:call-template>
501
502 <xsl:call-template name="topic">
503 <xsl:with-param name="key" select="'tourism'"/>
504 <xsl:with-param name="column" select="10"/>
505 <xsl:with-param name="row" select="1"/>
506 </xsl:call-template>
507
508 <xsl:call-template name="topic">
509 <xsl:with-param name="key" select="'historic'"/>
510 <xsl:with-param name="column" select="10"/>
511 <xsl:with-param name="row" select="25"/>
512 </xsl:call-template>
513
514 <xsl:call-template name="topic">
515 <xsl:with-param name="key" select="'man_made'"/>
516 <xsl:with-param name="column" select="11"/>
517 <xsl:with-param name="row" select="1"/>
518 </xsl:call-template>
519 <xsl:call-template name="topic">
520 <xsl:with-param name="key" select="'power'"/>
521 <xsl:with-param name="column" select="11"/>
522 <xsl:with-param name="row" select="25"/>
523 </xsl:call-template>
524 <xsl:call-template name="topic">
525 <xsl:with-param name="key" select="'power_source'"/>
526 <xsl:with-param name="column" select="11"/>
527 <xsl:with-param name="row" select="30"/>
528 </xsl:call-template>
529 <xsl:call-template name="topic">
530 <xsl:with-param name="key" select="'military'"/>
531 <xsl:with-param name="column" select="11"/>
532 <xsl:with-param name="row" select="36"/>
533 </xsl:call-template>
534
535 <xsl:call-template name="topic">
536 <xsl:with-param name="key" select="'shop'"/>
537 <xsl:with-param name="column" select="12"/>
538 <xsl:with-param name="row" select="1"/>
539 </xsl:call-template>
540
541 <xsl:call-template name="topic">
542 <xsl:with-param name="key" select="'religion'"/>
543 <xsl:with-param name="column" select="13"/>
544 <xsl:with-param name="row" select="1"/>
545 </xsl:call-template>
546
547 <xsl:call-template name="topic">
548 <xsl:with-param name="key" select="'sport'"/>
549 <xsl:with-param name="column" select="14"/>
550 <xsl:with-param name="row" select="1"/>
551 </xsl:call-template>
552
553
554
555
556 <xsl:call-template name="topic">
557 <xsl:with-param name="key" select="'landuse'"/>
558 <xsl:with-param name="column" select="16"/>
559 <xsl:with-param name="row" select="1"/>
560 </xsl:call-template>
561 <xsl:call-template name="topic">
562 <xsl:with-param name="key" select="'building'"/>
563 <xsl:with-param name="column" select="16"/>
564 <xsl:with-param name="row" select="35"/>
565 </xsl:call-template>
566
567 <xsl:call-template name="topic">
568 <xsl:with-param name="key" select="'place'"/>
569 <xsl:with-param name="column" select="17"/>
570 <xsl:with-param name="row" select="23"/>
571 </xsl:call-template>
572 <xsl:call-template name="topic">
573 <xsl:with-param name="key" select="'natural'"/>
574 <xsl:with-param name="column" select="17"/>
575 <xsl:with-param name="row" select="1"/>
576 </xsl:call-template>
577 <xsl:call-template name="topic">
578 <xsl:with-param name="key" select="'boundary'"/>
579 <xsl:with-param name="column" select="17"/>
580 <xsl:with-param name="row" select="36"/>
581 </xsl:call-template>
582
583 </xsl:element>
584</xsl:template>
585
586</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.