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

Last change on this file since 789 was 789, checked in by ulfl, 16 years ago

add handling of recently introduced boolean rules

File size: 21.6 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:if test="rule[$index]/condition/@v">
102 <xsl:element name="tag">
103 <xsl:attribute name="k"><xsl:value-of select = "rule[$index]/condition/@k" /></xsl:attribute>
104 <xsl:attribute name="v"><xsl:value-of select = "rule[$index]/condition/@v" /></xsl:attribute>
105 </xsl:element>
106 <xsl:element name="tag">
107 <xsl:attribute name="k">name</xsl:attribute>
108 <xsl:attribute name="v"><xsl:value-of select = "rule[$index]/condition/@v" /></xsl:attribute>
109 </xsl:element>
110 </xsl:if>
111 <xsl:if test="rule[$index]/condition/@b">
112 <xsl:element name="tag">
113 <xsl:attribute name="k"><xsl:value-of select = "rule[$index]/condition/@k" /></xsl:attribute>
114 <xsl:attribute name="v"><xsl:value-of select = "rule[$index]/condition/@b" /></xsl:attribute>
115 </xsl:element>
116 <xsl:element name="tag">
117 <xsl:attribute name="k">name</xsl:attribute>
118 <xsl:attribute name="v"><xsl:value-of select = "rule[$index]/condition/@b" /></xsl:attribute>
119 </xsl:element>
120 </xsl:if>
121 </xsl:element>
122
123
124 <!-- AREA / LINE example -->
125
126 <xsl:element name="node">
127 <xsl:call-template name="node-attributes">
128 <xsl:with-param name="id" select="-number($idbase + 1)"/>
129 <xsl:with-param name="x" select="number($xoffset - $areaoffset)"/>
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">nw</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 + 2)"/>
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">ne</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 + 3)"/>
153 <xsl:with-param name="x" select="number($xoffset + $areaoffset + 2*$xscale)"/>
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">se</xsl:attribute>
159 </xsl:element>-->
160 </xsl:element>
161
162 <xsl:element name="node">
163 <xsl:call-template name="node-attributes">
164 <xsl:with-param name="id" select="-number($idbase + 4)"/>
165 <xsl:with-param name="x" select="number($xoffset - $areaoffset)"/>
166 <xsl:with-param name="y" select="number($yoffset + $areaoffset)"/>
167 </xsl:call-template>
168 <!--<xsl:element name="tag">
169 <xsl:attribute name="k">pos</xsl:attribute>
170 <xsl:attribute name="v">sw</xsl:attribute>
171 </xsl:element>-->
172 </xsl:element>
173
174
175 <xsl:element name="way">
176 <xsl:attribute name="id"><xsl:value-of select="-number($idbase + 4)" /></xsl:attribute>
177 <xsl:attribute name="user">overview-creator</xsl:attribute>
178 <xsl:attribute name="visible">true</xsl:attribute>
179
180 <xsl:element name="nd">
181 <xsl:attribute name="ref"><xsl:value-of select = "-number($idbase + 1)" /></xsl:attribute>
182 </xsl:element>
183 <xsl:element name="nd">
184 <xsl:attribute name="ref"><xsl:value-of select = "-number($idbase + 2)" /></xsl:attribute>
185 </xsl:element>
186 <xsl:element name="nd">
187 <xsl:attribute name="ref"><xsl:value-of select = "-number($idbase + 3)" /></xsl:attribute>
188 </xsl:element>
189 <xsl:element name="nd">
190 <xsl:attribute name="ref"><xsl:value-of select = "-number($idbase + 4)" /></xsl:attribute>
191 </xsl:element>
192 <xsl:element name="nd">
193 <xsl:attribute name="ref"><xsl:value-of select = "-number($idbase + 1)" /></xsl:attribute>
194 </xsl:element>
195
196 <xsl:element name="tag">
197 <xsl:attribute name="k"><xsl:value-of select = "rule[$index]/condition/@k" /></xsl:attribute>
198 <xsl:attribute name="v"><xsl:value-of select = "rule[$index]/condition/@v" /></xsl:attribute>
199 </xsl:element>
200 <xsl:element name="tag">
201 <xsl:attribute name="k">name</xsl:attribute>
202 <xsl:attribute name="v"><xsl:value-of select = "rule[$index]/condition/@v" /></xsl:attribute>
203 </xsl:element>
204 </xsl:element>
205</xsl:template>
206
207
208<xsl:template name="posed_rules">
209
210 <xsl:param name="key"/>
211 <xsl:param name="index"/>
212 <xsl:param name="xpos"/>
213 <xsl:param name="ypos"/>
214
215 <xsl:if test="rule[$index]/condition/@k=$key">
216 <xsl:call-template name="rule">
217 <xsl:with-param name="index" select="$index"/>
218 <xsl:with-param name="xpos" select="$xpos"/>
219 <xsl:with-param name="ypos" select="$ypos"/>
220 </xsl:call-template>
221
222 <xsl:choose>
223 <xsl:when test="$ypos &lt; 41">
224 <!-- recursive call - increasing index and output counters -->
225 <xsl:call-template name="posed_rules">
226 <xsl:with-param name="key" select="$key"/>
227 <xsl:with-param name="index" select="$index + 1"/>
228 <xsl:with-param name="xpos" select="$xpos"/>
229 <xsl:with-param name="ypos" select="$ypos + 1"/>
230 </xsl:call-template>
231 </xsl:when>
232 <xsl:otherwise>
233 <!-- recursive call - increasing index and output counters -->
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 + 1"/>
238 <xsl:with-param name="ypos" select="30"/>
239 </xsl:call-template>
240 </xsl:otherwise>
241 </xsl:choose>
242 </xsl:if>
243
244 <xsl:if test="rule[$index]/condition/@k!=$key">
245 <!-- recursive call - only increasing the index counter -->
246 <xsl:call-template name="posed_rules">
247 <xsl:with-param name="key" select="$key"/>
248 <xsl:with-param name="index" select="$index + 1"/>
249 <xsl:with-param name="xpos" select="$xpos"/>
250 <xsl:with-param name="ypos" select="$ypos"/>
251 </xsl:call-template>
252 </xsl:if>
253
254</xsl:template>
255
256
257<xsl:template name="topic">
258
259 <xsl:param name="key"/>
260 <xsl:param name="row"/>
261 <xsl:param name="column"/>
262
263
264 <xsl:variable name="xoffset"><xsl:value-of select="number( ($column) * ($xscale + $column-width*$xscale) )" /></xsl:variable>
265 <xsl:variable name="yoffset"><xsl:value-of select="number($row*$yscale)" /></xsl:variable>
266 <xsl:variable name="idbase"><xsl:value-of select="number($column * 20000 + $row * 200)" /></xsl:variable>
267
268
269 <!-- header item -->
270 <xsl:element name="node">
271 <xsl:call-template name="node-attributes">
272 <xsl:with-param name="id" select="-number($idbase)"/>
273 <xsl:with-param name="x" select="number($xoffset)"/>
274 <xsl:with-param name="y" select="number($yoffset)"/>
275 </xsl:call-template>
276
277 <xsl:element name="tag">
278 <xsl:attribute name="k"><xsl:value-of select = "'tourism'" /></xsl:attribute>
279 <xsl:attribute name="v"><xsl:value-of select = "'information'" /></xsl:attribute>
280 </xsl:element>
281 <xsl:element name="tag">
282 <xsl:attribute name="k">name</xsl:attribute>
283 <xsl:attribute name="v"><xsl:value-of select = "$key" /></xsl:attribute>
284 </xsl:element>
285 </xsl:element>
286
287 <!-- key related items -->
288 <xsl:call-template name="posed_rules">
289 <xsl:with-param name="key" select="$key"/>
290 <xsl:with-param name="index" select="1"/>
291 <xsl:with-param name="xpos" select="$column"/>
292 <xsl:with-param name="ypos" select="number($row + 1)"/>
293 </xsl:call-template>
294</xsl:template>
295
296
297<xsl:template match="rules">
298
299 <xsl:comment>DO NOT EDIT! THIS FILE IS GENERATED!!!</xsl:comment>
300 <xsl:element name="osm">
301 <xsl:attribute name="version">0.5</xsl:attribute>
302 <xsl:attribute name="generator">overview-creator.xslt</xsl:attribute>
303
304
305 <xsl:call-template name="topic">
306 <xsl:with-param name="key" select="'highway'"/>
307 <xsl:with-param name="column" select="1"/>
308 <xsl:with-param name="row" select="1"/>
309 </xsl:call-template>
310
311 <xsl:call-template name="topic">
312 <xsl:with-param name="key" select="'cycleway'"/>
313 <xsl:with-param name="column" select="2"/>
314 <xsl:with-param name="row" select="1"/>
315 </xsl:call-template>
316 <xsl:call-template name="topic">
317 <xsl:with-param name="key" select="'tracktype'"/>
318 <xsl:with-param name="column" select="2"/>
319 <xsl:with-param name="row" select="8"/>
320 </xsl:call-template>
321 <xsl:call-template name="topic">
322 <xsl:with-param name="key" select="'surface'"/>
323 <xsl:with-param name="column" select="2"/>
324 <xsl:with-param name="row" select="15"/>
325 </xsl:call-template>
326 <xsl:call-template name="topic">
327 <xsl:with-param name="key" select="'abutters'"/>
328 <xsl:with-param name="column" select="2"/>
329 <xsl:with-param name="row" select="17"/>
330 </xsl:call-template>
331 <xsl:call-template name="topic">
332 <xsl:with-param name="key" select="'bridge'"/>
333 <xsl:with-param name="column" select="2"/>
334 <xsl:with-param name="row" select="20"/>
335 </xsl:call-template>
336 <xsl:call-template name="topic">
337 <xsl:with-param name="key" select="'tunnel'"/>
338 <xsl:with-param name="column" select="2"/>
339 <xsl:with-param name="row" select="30"/>
340 </xsl:call-template>
341 <xsl:call-template name="topic">
342 <xsl:with-param name="key" select="'mountain_pass'"/>
343 <xsl:with-param name="column" select="2"/>
344 <xsl:with-param name="row" select="35"/>
345 </xsl:call-template>
346 <xsl:call-template name="topic">
347 <xsl:with-param name="key" select="'junction'"/>
348 <xsl:with-param name="column" select="2"/>
349 <xsl:with-param name="row" select="38"/>
350 </xsl:call-template>
351 <xsl:call-template name="topic">
352 <xsl:with-param name="key" select="'barrier'"/>
353 <xsl:with-param name="column" select="3"/>
354 <xsl:with-param name="row" select="35"/>
355 </xsl:call-template>
356
357 <xsl:call-template name="topic">
358 <xsl:with-param name="key" select="'access'"/>
359 <xsl:with-param name="column" select="3"/>
360 <xsl:with-param name="row" select="1"/>
361 </xsl:call-template>
362 <xsl:call-template name="topic">
363 <xsl:with-param name="key" select="'bicycle'"/>
364 <xsl:with-param name="column" select="3"/>
365 <xsl:with-param name="row" select="3"/>
366 </xsl:call-template>
367 <xsl:call-template name="topic">
368 <xsl:with-param name="key" select="'foot'"/>
369 <xsl:with-param name="column" select="3"/>
370 <xsl:with-param name="row" select="6"/>
371 </xsl:call-template>
372 <xsl:call-template name="topic">
373 <xsl:with-param name="key" select="'goods'"/>
374 <xsl:with-param name="column" select="3"/>
375 <xsl:with-param name="row" select="10"/>
376 </xsl:call-template>
377 <xsl:call-template name="topic">
378 <xsl:with-param name="key" select="'hgv'"/>
379 <xsl:with-param name="column" select="3"/>
380 <xsl:with-param name="row" select="12"/>
381 </xsl:call-template>
382 <xsl:call-template name="topic">
383 <xsl:with-param name="key" select="'horse'"/>
384 <xsl:with-param name="column" select="3"/>
385 <xsl:with-param name="row" select="14"/>
386 </xsl:call-template>
387 <xsl:call-template name="topic">
388 <xsl:with-param name="key" select="'motorcycle'"/>
389 <xsl:with-param name="column" select="3"/>
390 <xsl:with-param name="row" select="17"/>
391 </xsl:call-template>
392 <xsl:call-template name="topic">
393 <xsl:with-param name="key" select="'motorcar'"/>
394 <xsl:with-param name="column" select="3"/>
395 <xsl:with-param name="row" select="19"/>
396 </xsl:call-template>
397 <xsl:call-template name="topic">
398 <xsl:with-param name="key" select="'psv'"/>
399 <xsl:with-param name="column" select="3"/>
400 <xsl:with-param name="row" select="21"/>
401 </xsl:call-template>
402 <xsl:call-template name="topic">
403 <xsl:with-param name="key" select="'motorboat'"/>
404 <xsl:with-param name="column" select="3"/>
405 <xsl:with-param name="row" select="23"/>
406 </xsl:call-template>
407 <xsl:call-template name="topic">
408 <xsl:with-param name="key" select="'boat'"/>
409 <xsl:with-param name="column" select="3"/>
410 <xsl:with-param name="row" select="25"/>
411 </xsl:call-template>
412
413 <xsl:call-template name="topic">
414 <xsl:with-param name="key" select="'noexit'"/>
415 <xsl:with-param name="column" select="4"/>
416 <xsl:with-param name="row" select="1"/>
417 </xsl:call-template>
418 <xsl:call-template name="topic">
419 <xsl:with-param name="key" select="'maxweight'"/>
420 <xsl:with-param name="column" select="4"/>
421 <xsl:with-param name="row" select="3"/>
422 </xsl:call-template>
423 <xsl:call-template name="topic">
424 <xsl:with-param name="key" select="'maxheight'"/>
425 <xsl:with-param name="column" select="4"/>
426 <xsl:with-param name="row" select="5"/>
427 </xsl:call-template>
428 <xsl:call-template name="topic">
429 <xsl:with-param name="key" select="'maxwidth'"/>
430 <xsl:with-param name="column" select="4"/>
431 <xsl:with-param name="row" select="7"/>
432 </xsl:call-template>
433 <xsl:call-template name="topic">
434 <xsl:with-param name="key" select="'maxlength'"/>
435 <xsl:with-param name="column" select="4"/>
436 <xsl:with-param name="row" select="9"/>
437 </xsl:call-template>
438 <xsl:call-template name="topic">
439 <xsl:with-param name="key" select="'maxspeed'"/>
440 <xsl:with-param name="column" select="4"/>
441 <xsl:with-param name="row" select="11"/>
442 </xsl:call-template>
443 <xsl:call-template name="topic">
444 <xsl:with-param name="key" select="'minspeed'"/>
445 <xsl:with-param name="column" select="4"/>
446 <xsl:with-param name="row" select="13"/>
447 </xsl:call-template>
448 <xsl:call-template name="topic">
449 <xsl:with-param name="key" select="'maxstay'"/>
450 <xsl:with-param name="column" select="4"/>
451 <xsl:with-param name="row" select="15"/>
452 </xsl:call-template>
453 <xsl:call-template name="topic">
454 <xsl:with-param name="key" select="'toll'"/>
455 <xsl:with-param name="column" select="4"/>
456 <xsl:with-param name="row" select="17"/>
457 </xsl:call-template>
458 <xsl:call-template name="topic">
459 <xsl:with-param name="key" select="'oneway'"/>
460 <xsl:with-param name="column" select="4"/>
461 <xsl:with-param name="row" select="19"/>
462 </xsl:call-template>
463
464 <xsl:call-template name="topic">
465 <xsl:with-param name="key" select="'railway'"/>
466 <xsl:with-param name="column" select="5"/>
467 <xsl:with-param name="row" select="1"/>
468 </xsl:call-template>
469 <xsl:call-template name="topic">
470 <xsl:with-param name="key" select="'service'"/>
471 <xsl:with-param name="column" select="5"/>
472 <xsl:with-param name="row" select="21"/>
473 </xsl:call-template>
474 <xsl:call-template name="topic">
475 <xsl:with-param name="key" select="'route'"/>
476 <xsl:with-param name="column" select="5"/>
477 <xsl:with-param name="row" select="33"/>
478 </xsl:call-template>
479
480 <xsl:call-template name="topic">
481 <xsl:with-param name="key" select="'aeroway'"/>
482 <xsl:with-param name="column" select="6"/>
483 <xsl:with-param name="row" select="1"/>
484 </xsl:call-template>
485 <xsl:call-template name="topic">
486 <xsl:with-param name="key" select="'aerialway'"/>
487 <xsl:with-param name="column" select="6"/>
488 <xsl:with-param name="row" select="10"/>
489 </xsl:call-template>
490 <xsl:call-template name="topic">
491 <xsl:with-param name="key" select="'piste:difficulty'"/>
492 <xsl:with-param name="column" select="6"/>
493 <xsl:with-param name="row" select="17"/>
494 </xsl:call-template>
495 <xsl:call-template name="topic">
496 <xsl:with-param name="key" select="'waterway'"/>
497 <xsl:with-param name="column" select="6"/>
498 <xsl:with-param name="row" select="25"/>
499 </xsl:call-template>
500
501
502 <xsl:call-template name="topic">
503 <xsl:with-param name="key" select="'amenity'"/>
504 <xsl:with-param name="column" select="8"/>
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="'leisure'"/>
510 <xsl:with-param name="column" select="9"/>
511 <xsl:with-param name="row" select="1"/>
512 </xsl:call-template>
513
514 <xsl:call-template name="topic">
515 <xsl:with-param name="key" select="'tourism'"/>
516 <xsl:with-param name="column" select="10"/>
517 <xsl:with-param name="row" select="1"/>
518 </xsl:call-template>
519
520 <xsl:call-template name="topic">
521 <xsl:with-param name="key" select="'historic'"/>
522 <xsl:with-param name="column" select="10"/>
523 <xsl:with-param name="row" select="25"/>
524 </xsl:call-template>
525
526 <xsl:call-template name="topic">
527 <xsl:with-param name="key" select="'man_made'"/>
528 <xsl:with-param name="column" select="11"/>
529 <xsl:with-param name="row" select="1"/>
530 </xsl:call-template>
531 <xsl:call-template name="topic">
532 <xsl:with-param name="key" select="'power'"/>
533 <xsl:with-param name="column" select="11"/>
534 <xsl:with-param name="row" select="25"/>
535 </xsl:call-template>
536 <xsl:call-template name="topic">
537 <xsl:with-param name="key" select="'power_source'"/>
538 <xsl:with-param name="column" select="11"/>
539 <xsl:with-param name="row" select="30"/>
540 </xsl:call-template>
541 <xsl:call-template name="topic">
542 <xsl:with-param name="key" select="'military'"/>
543 <xsl:with-param name="column" select="11"/>
544 <xsl:with-param name="row" select="36"/>
545 </xsl:call-template>
546
547 <xsl:call-template name="topic">
548 <xsl:with-param name="key" select="'shop'"/>
549 <xsl:with-param name="column" select="12"/>
550 <xsl:with-param name="row" select="1"/>
551 </xsl:call-template>
552
553 <xsl:call-template name="topic">
554 <xsl:with-param name="key" select="'religion'"/>
555 <xsl:with-param name="column" select="13"/>
556 <xsl:with-param name="row" select="1"/>
557 </xsl:call-template>
558
559 <xsl:call-template name="topic">
560 <xsl:with-param name="key" select="'sport'"/>
561 <xsl:with-param name="column" select="14"/>
562 <xsl:with-param name="row" select="1"/>
563 </xsl:call-template>
564
565
566
567
568 <xsl:call-template name="topic">
569 <xsl:with-param name="key" select="'landuse'"/>
570 <xsl:with-param name="column" select="16"/>
571 <xsl:with-param name="row" select="1"/>
572 </xsl:call-template>
573 <xsl:call-template name="topic">
574 <xsl:with-param name="key" select="'building'"/>
575 <xsl:with-param name="column" select="16"/>
576 <xsl:with-param name="row" select="35"/>
577 </xsl:call-template>
578
579 <xsl:call-template name="topic">
580 <xsl:with-param name="key" select="'place'"/>
581 <xsl:with-param name="column" select="17"/>
582 <xsl:with-param name="row" select="23"/>
583 </xsl:call-template>
584 <xsl:call-template name="topic">
585 <xsl:with-param name="key" select="'natural'"/>
586 <xsl:with-param name="column" select="17"/>
587 <xsl:with-param name="row" select="1"/>
588 </xsl:call-template>
589 <xsl:call-template name="topic">
590 <xsl:with-param name="key" select="'boundary'"/>
591 <xsl:with-param name="column" select="17"/>
592 <xsl:with-param name="row" select="36"/>
593 </xsl:call-template>
594
595 </xsl:element>
596</xsl:template>
597
598</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.