source: josm/trunk/styles_nodist/standard/overview.xsl@ 3868

Last change on this file since 3868 was 3864, checked in by bastiK, 13 years ago

change in build: do not copy elemstyles.xml to data folder, but distribute the entire styles folder like it is done with 'images' and 'data' (toplevel) folders

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