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

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

tweak the overview layout

File size: 20.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>
[705]20
[703]21
[706]22<xsl:template name="node-attributes">
23 <xsl:param name="id" />
24 <xsl:param name="x" />
25 <xsl:param name="y" />
26
[703]27
[706]28 <xsl:variable name="lon">
[703]29 <xsl:choose>
[706]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>
[703]34 </xsl:choose>
35 </xsl:variable>
[706]36
37 <xsl:variable name="lat">
[703]38 <xsl:choose>
[706]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>
[703]43 </xsl:choose>
44 </xsl:variable>
45
[706]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 -->
[703]94 <xsl:element name="node">
[706]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>
[703]165 <xsl:attribute name="user">overview-creator</xsl:attribute>
166 <xsl:attribute name="visible">true</xsl:attribute>
167
[706]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
[703]184 <xsl:element name="tag">
[706]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>
[703]187 </xsl:element>
188 <xsl:element name="tag">
189 <xsl:attribute name="k">name</xsl:attribute>
[706]190 <xsl:attribute name="v"><xsl:value-of select = "rule[$index]/condition/@v" /></xsl:attribute>
[703]191 </xsl:element>
192 </xsl:element>
193</xsl:template>
194
195
196<xsl:template name="posed_rules">
197
198 <xsl:param name="key"/>
[706]199 <xsl:param name="index"/>
[703]200 <xsl:param name="xpos"/>
201 <xsl:param name="ypos"/>
202
[706]203 <xsl:if test="rule[$index]/condition/@k=$key">
[703]204 <xsl:call-template name="rule">
[706]205 <xsl:with-param name="index" select="$index"/>
[703]206 <xsl:with-param name="xpos" select="$xpos"/>
207 <xsl:with-param name="ypos" select="$ypos"/>
208 </xsl:call-template>
209
[706]210 <xsl:choose>
[714]211 <xsl:when test="$ypos &lt; 41">
[706]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"/>
[714]226 <xsl:with-param name="ypos" select="30"/>
[706]227 </xsl:call-template>
228 </xsl:otherwise>
229 </xsl:choose>
[703]230 </xsl:if>
231
[706]232 <xsl:if test="rule[$index]/condition/@k!=$key">
233 <!-- recursive call - only increasing the index counter -->
[703]234 <xsl:call-template name="posed_rules">
235 <xsl:with-param name="key" select="$key"/>
[706]236 <xsl:with-param name="index" select="$index + 1"/>
[703]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
[706]245<xsl:template name="topic">
246
[703]247 <xsl:param name="key"/>
[706]248 <xsl:param name="row"/>
249 <xsl:param name="column"/>
[705]250
251
[706]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>
[705]255
[703]256
257 <!-- header item -->
258 <xsl:element name="node">
[706]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>
[703]264
265 <xsl:element name="tag">
266 <xsl:attribute name="k"><xsl:value-of select = "'tourism'" /></xsl:attribute>
[706]267 <xsl:attribute name="v"><xsl:value-of select = "'information'" /></xsl:attribute>
[703]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"/>
[706]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)"/>
[703]281 </xsl:call-template>
282</xsl:template>
283
284
285<xsl:template match="rules">
286
[706]287 <xsl:comment>DO NOT EDIT! THIS FILE IS GENERATED!!!</xsl:comment>
[703]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
[706]293 <xsl:call-template name="topic">
[703]294 <xsl:with-param name="key" select="'highway'"/>
[706]295 <xsl:with-param name="column" select="1"/>
296 <xsl:with-param name="row" select="1"/>
[703]297 </xsl:call-template>
[706]298
299 <xsl:call-template name="topic">
[703]300 <xsl:with-param name="key" select="'cycleway'"/>
[706]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">
[703]305 <xsl:with-param name="key" select="'tracktype'"/>
[706]306 <xsl:with-param name="column" select="2"/>
[711]307 <xsl:with-param name="row" select="8"/>
[703]308 </xsl:call-template>
[706]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="20"/>
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="22"/>
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="24"/>
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="26"/>
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="28"/>
338 </xsl:call-template>
[711]339 <xsl:call-template name="topic">
340 <xsl:with-param name="key" select="'barrier'"/>
341 <xsl:with-param name="column" select="2"/>
342 <xsl:with-param name="row" select="30"/>
343 </xsl:call-template>
[703]344
[706]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"/>
[703]349 </xsl:call-template>
[706]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"/>
[714]358 <xsl:with-param name="row" select="6"/>
[706]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"/>
[714]363 <xsl:with-param name="row" select="10"/>
[706]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"/>
[714]368 <xsl:with-param name="row" select="12"/>
[706]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"/>
[714]373 <xsl:with-param name="row" select="14"/>
[706]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"/>
[714]378 <xsl:with-param name="row" select="17"/>
[706]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"/>
[714]383 <xsl:with-param name="row" select="19"/>
[706]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"/>
[714]388 <xsl:with-param name="row" select="21"/>
[706]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"/>
[714]393 <xsl:with-param name="row" select="23"/>
[706]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"/>
[714]398 <xsl:with-param name="row" select="25"/>
[706]399 </xsl:call-template>
[714]400
[706]401 <xsl:call-template name="topic">
[711]402 <xsl:with-param name="key" select="'noexit'"/>
[714]403 <xsl:with-param name="column" select="4"/>
404 <xsl:with-param name="row" select="1"/>
[706]405 </xsl:call-template>
406 <xsl:call-template name="topic">
[711]407 <xsl:with-param name="key" select="'maxweight'"/>
[714]408 <xsl:with-param name="column" select="4"/>
409 <xsl:with-param name="row" select="3"/>
[706]410 </xsl:call-template>
411 <xsl:call-template name="topic">
[711]412 <xsl:with-param name="key" select="'maxheight'"/>
[714]413 <xsl:with-param name="column" select="4"/>
414 <xsl:with-param name="row" select="5"/>
[706]415 </xsl:call-template>
416 <xsl:call-template name="topic">
[711]417 <xsl:with-param name="key" select="'maxwidth'"/>
[714]418 <xsl:with-param name="column" select="4"/>
419 <xsl:with-param name="row" select="7"/>
[706]420 </xsl:call-template>
421 <xsl:call-template name="topic">
[711]422 <xsl:with-param name="key" select="'maxlength'"/>
[714]423 <xsl:with-param name="column" select="4"/>
424 <xsl:with-param name="row" select="9"/>
[706]425 </xsl:call-template>
426 <xsl:call-template name="topic">
[711]427 <xsl:with-param name="key" select="'maxspeed'"/>
[714]428 <xsl:with-param name="column" select="4"/>
429 <xsl:with-param name="row" select="11"/>
[706]430 </xsl:call-template>
431 <xsl:call-template name="topic">
[711]432 <xsl:with-param name="key" select="'minspeed'"/>
[714]433 <xsl:with-param name="column" select="4"/>
434 <xsl:with-param name="row" select="13"/>
[706]435 </xsl:call-template>
436 <xsl:call-template name="topic">
[711]437 <xsl:with-param name="key" select="'maxstay'"/>
[714]438 <xsl:with-param name="column" select="4"/>
439 <xsl:with-param name="row" select="15"/>
[706]440 </xsl:call-template>
441 <xsl:call-template name="topic">
[711]442 <xsl:with-param name="key" select="'toll'"/>
[714]443 <xsl:with-param name="column" select="4"/>
444 <xsl:with-param name="row" select="17"/>
[706]445 </xsl:call-template>
446
447 <xsl:call-template name="topic">
[703]448 <xsl:with-param name="key" select="'railway'"/>
[714]449 <xsl:with-param name="column" select="5"/>
[706]450 <xsl:with-param name="row" select="1"/>
[703]451 </xsl:call-template>
[706]452 <xsl:call-template name="topic">
453 <xsl:with-param name="key" select="'service'"/>
[714]454 <xsl:with-param name="column" select="5"/>
[711]455 <xsl:with-param name="row" select="21"/>
[706]456 </xsl:call-template>
457 <xsl:call-template name="topic">
458 <xsl:with-param name="key" select="'waterway'"/>
[714]459 <xsl:with-param name="column" select="5"/>
[711]460 <xsl:with-param name="row" select="26"/>
[706]461 </xsl:call-template>
[703]462
[706]463 <xsl:call-template name="topic">
[703]464 <xsl:with-param name="key" select="'aeroway'"/>
[714]465 <xsl:with-param name="column" select="6"/>
[706]466 <xsl:with-param name="row" select="1"/>
[703]467 </xsl:call-template>
[706]468 <xsl:call-template name="topic">
[703]469 <xsl:with-param name="key" select="'aerialway'"/>
[714]470 <xsl:with-param name="column" select="6"/>
471 <xsl:with-param name="row" select="10"/>
[703]472 </xsl:call-template>
[706]473 <xsl:call-template name="topic">
474 <xsl:with-param name="key" select="'piste:difficulty'"/>
[714]475 <xsl:with-param name="column" select="6"/>
476 <xsl:with-param name="row" select="20"/>
[703]477 </xsl:call-template>
[714]478 <xsl:call-template name="topic">
479 <xsl:with-param name="key" select="'route'"/>
480 <xsl:with-param name="column" select="6"/>
481 <xsl:with-param name="row" select="30"/>
482 </xsl:call-template>
[703]483
[706]484
485
486 <xsl:call-template name="topic">
487 <xsl:with-param name="key" select="'amenity'"/>
[714]488 <xsl:with-param name="column" select="8"/>
[706]489 <xsl:with-param name="row" select="1"/>
[703]490 </xsl:call-template>
491
[706]492 <xsl:call-template name="topic">
[703]493 <xsl:with-param name="key" select="'leisure'"/>
[714]494 <xsl:with-param name="column" select="9"/>
[706]495 <xsl:with-param name="row" select="1"/>
[703]496 </xsl:call-template>
497
[706]498 <xsl:call-template name="topic">
[703]499 <xsl:with-param name="key" select="'tourism'"/>
[714]500 <xsl:with-param name="column" select="10"/>
[706]501 <xsl:with-param name="row" select="1"/>
[703]502 </xsl:call-template>
503
[706]504 <xsl:call-template name="topic">
[703]505 <xsl:with-param name="key" select="'historic'"/>
[714]506 <xsl:with-param name="column" select="10"/>
[706]507 <xsl:with-param name="row" select="25"/>
[703]508 </xsl:call-template>
509
[706]510 <xsl:call-template name="topic">
511 <xsl:with-param name="key" select="'man_made'"/>
[714]512 <xsl:with-param name="column" select="11"/>
[706]513 <xsl:with-param name="row" select="1"/>
[703]514 </xsl:call-template>
[706]515 <xsl:call-template name="topic">
516 <xsl:with-param name="key" select="'power'"/>
[714]517 <xsl:with-param name="column" select="11"/>
[706]518 <xsl:with-param name="row" select="25"/>
519 </xsl:call-template>
520 <xsl:call-template name="topic">
[714]521 <xsl:with-param name="key" select="'power_source'"/>
522 <xsl:with-param name="column" select="11"/>
523 <xsl:with-param name="row" select="30"/>
524 </xsl:call-template>
525 <xsl:call-template name="topic">
[703]526 <xsl:with-param name="key" select="'military'"/>
[714]527 <xsl:with-param name="column" select="11"/>
528 <xsl:with-param name="row" select="36"/>
[703]529 </xsl:call-template>
530
[706]531 <xsl:call-template name="topic">
532 <xsl:with-param name="key" select="'shop'"/>
[714]533 <xsl:with-param name="column" select="12"/>
[706]534 <xsl:with-param name="row" select="1"/>
[703]535 </xsl:call-template>
536
[706]537 <xsl:call-template name="topic">
[703]538 <xsl:with-param name="key" select="'sport'"/>
[706]539 <xsl:with-param name="column" select="13"/>
540 <xsl:with-param name="row" select="1"/>
[703]541 </xsl:call-template>
[706]542
543 <xsl:call-template name="topic">
544 <xsl:with-param name="key" select="'religion'"/>
545 <xsl:with-param name="column" select="14"/>
546 <xsl:with-param name="row" select="1"/>
[703]547 </xsl:call-template>
548
[706]549
550
[703]551
[706]552 <xsl:call-template name="topic">
553 <xsl:with-param name="key" select="'landuse'"/>
554 <xsl:with-param name="column" select="16"/>
555 <xsl:with-param name="row" select="1"/>
[703]556 </xsl:call-template>
[706]557 <xsl:call-template name="topic">
[714]558 <xsl:with-param name="key" select="'building'"/>
[706]559 <xsl:with-param name="column" select="16"/>
[714]560 <xsl:with-param name="row" select="35"/>
561 </xsl:call-template>
[703]562
[706]563 <xsl:call-template name="topic">
[703]564 <xsl:with-param name="key" select="'place'"/>
[706]565 <xsl:with-param name="column" select="17"/>
[714]566 <xsl:with-param name="row" select="23"/>
567 </xsl:call-template>
568 <xsl:call-template name="topic">
569 <xsl:with-param name="key" select="'natural'"/>
570 <xsl:with-param name="column" select="17"/>
[706]571 <xsl:with-param name="row" select="1"/>
[703]572 </xsl:call-template>
[714]573 <xsl:call-template name="topic">
[706]574 <xsl:with-param name="key" select="'boundary'"/>
575 <xsl:with-param name="column" select="17"/>
[714]576 <xsl:with-param name="row" select="36"/>
[703]577 </xsl:call-template>
578
579 </xsl:element>
580</xsl:template>
581
582</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.