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

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

put restrictions to top of page (before highway)
add tourism chalet
"mark" route/boundary as dashed
add surface rules (unfinished)
add various building rules and change the area color
slightly change overview layout

File size: 20.9 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; 43">
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="35"/>
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="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>
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>
344 <xsl:call-template name="topic">
345 <xsl:with-param name="key" select="'route'"/>
346 <xsl:with-param name="column" select="2"/>
347 <xsl:with-param name="row" select="35"/>
348 </xsl:call-template>
349
350 <xsl:call-template name="topic">
351 <xsl:with-param name="key" select="'access'"/>
352 <xsl:with-param name="column" select="3"/>
353 <xsl:with-param name="row" select="1"/>
354 </xsl:call-template>
355 <xsl:call-template name="topic">
356 <xsl:with-param name="key" select="'bicycle'"/>
357 <xsl:with-param name="column" select="3"/>
358 <xsl:with-param name="row" select="3"/>
359 </xsl:call-template>
360 <xsl:call-template name="topic">
361 <xsl:with-param name="key" select="'foot'"/>
362 <xsl:with-param name="column" select="3"/>
363 <xsl:with-param name="row" select="5"/>
364 </xsl:call-template>
365 <xsl:call-template name="topic">
366 <xsl:with-param name="key" select="'goods'"/>
367 <xsl:with-param name="column" select="3"/>
368 <xsl:with-param name="row" select="7"/>
369 </xsl:call-template>
370 <xsl:call-template name="topic">
371 <xsl:with-param name="key" select="'hgv'"/>
372 <xsl:with-param name="column" select="3"/>
373 <xsl:with-param name="row" select="9"/>
374 </xsl:call-template>
375 <xsl:call-template name="topic">
376 <xsl:with-param name="key" select="'horse'"/>
377 <xsl:with-param name="column" select="3"/>
378 <xsl:with-param name="row" select="11"/>
379 </xsl:call-template>
380 <xsl:call-template name="topic">
381 <xsl:with-param name="key" select="'motorcycle'"/>
382 <xsl:with-param name="column" select="3"/>
383 <xsl:with-param name="row" select="13"/>
384 </xsl:call-template>
385 <xsl:call-template name="topic">
386 <xsl:with-param name="key" select="'motorcar'"/>
387 <xsl:with-param name="column" select="3"/>
388 <xsl:with-param name="row" select="15"/>
389 </xsl:call-template>
390 <xsl:call-template name="topic">
391 <xsl:with-param name="key" select="'psv'"/>
392 <xsl:with-param name="column" select="3"/>
393 <xsl:with-param name="row" select="17"/>
394 </xsl:call-template>
395 <xsl:call-template name="topic">
396 <xsl:with-param name="key" select="'motorboat'"/>
397 <xsl:with-param name="column" select="3"/>
398 <xsl:with-param name="row" select="19"/>
399 </xsl:call-template>
400 <xsl:call-template name="topic">
401 <xsl:with-param name="key" select="'boat'"/>
402 <xsl:with-param name="column" select="3"/>
403 <xsl:with-param name="row" select="21"/>
404 </xsl:call-template>
405 <xsl:call-template name="topic">
406 <xsl:with-param name="key" select="'noexit'"/>
407 <xsl:with-param name="column" select="3"/>
408 <xsl:with-param name="row" select="23"/>
409 </xsl:call-template>
410 <xsl:call-template name="topic">
411 <xsl:with-param name="key" select="'maxweight'"/>
412 <xsl:with-param name="column" select="3"/>
413 <xsl:with-param name="row" select="25"/>
414 </xsl:call-template>
415 <xsl:call-template name="topic">
416 <xsl:with-param name="key" select="'maxheight'"/>
417 <xsl:with-param name="column" select="3"/>
418 <xsl:with-param name="row" select="27"/>
419 </xsl:call-template>
420 <xsl:call-template name="topic">
421 <xsl:with-param name="key" select="'maxwidth'"/>
422 <xsl:with-param name="column" select="3"/>
423 <xsl:with-param name="row" select="29"/>
424 </xsl:call-template>
425 <xsl:call-template name="topic">
426 <xsl:with-param name="key" select="'maxlength'"/>
427 <xsl:with-param name="column" select="3"/>
428 <xsl:with-param name="row" select="31"/>
429 </xsl:call-template>
430 <xsl:call-template name="topic">
431 <xsl:with-param name="key" select="'maxspeed'"/>
432 <xsl:with-param name="column" select="3"/>
433 <xsl:with-param name="row" select="33"/>
434 </xsl:call-template>
435 <xsl:call-template name="topic">
436 <xsl:with-param name="key" select="'minspeed'"/>
437 <xsl:with-param name="column" select="3"/>
438 <xsl:with-param name="row" select="35"/>
439 </xsl:call-template>
440 <xsl:call-template name="topic">
441 <xsl:with-param name="key" select="'maxstay'"/>
442 <xsl:with-param name="column" select="3"/>
443 <xsl:with-param name="row" select="37"/>
444 </xsl:call-template>
445 <xsl:call-template name="topic">
446 <xsl:with-param name="key" select="'toll'"/>
447 <xsl:with-param name="column" select="3"/>
448 <xsl:with-param name="row" select="39"/>
449 </xsl:call-template>
450
451 <xsl:call-template name="topic">
452 <xsl:with-param name="key" select="'railway'"/>
453 <xsl:with-param name="column" select="4"/>
454 <xsl:with-param name="row" select="1"/>
455 </xsl:call-template>
456 <xsl:call-template name="topic">
457 <xsl:with-param name="key" select="'service'"/>
458 <xsl:with-param name="column" select="4"/>
459 <xsl:with-param name="row" select="21"/>
460 </xsl:call-template>
461 <xsl:call-template name="topic">
462 <xsl:with-param name="key" select="'waterway'"/>
463 <xsl:with-param name="column" select="4"/>
464 <xsl:with-param name="row" select="26"/>
465 </xsl:call-template>
466
467 <xsl:call-template name="topic">
468 <xsl:with-param name="key" select="'aeroway'"/>
469 <xsl:with-param name="column" select="5"/>
470 <xsl:with-param name="row" select="1"/>
471 </xsl:call-template>
472
473 <xsl:call-template name="topic">
474 <xsl:with-param name="key" select="'aerialway'"/>
475 <xsl:with-param name="column" select="5"/>
476 <xsl:with-param name="row" select="25"/>
477 </xsl:call-template>
478
479 <xsl:call-template name="topic">
480 <xsl:with-param name="key" select="'piste:difficulty'"/>
481 <xsl:with-param name="column" select="5"/>
482 <xsl:with-param name="row" select="35"/>
483 </xsl:call-template>
484
485
486
487 <xsl:call-template name="topic">
488 <xsl:with-param name="key" select="'amenity'"/>
489 <xsl:with-param name="column" select="7"/>
490 <xsl:with-param name="row" select="1"/>
491 </xsl:call-template>
492
493 <xsl:call-template name="topic">
494 <xsl:with-param name="key" select="'leisure'"/>
495 <xsl:with-param name="column" select="8"/>
496 <xsl:with-param name="row" select="1"/>
497 </xsl:call-template>
498
499 <xsl:call-template name="topic">
500 <xsl:with-param name="key" select="'tourism'"/>
501 <xsl:with-param name="column" select="9"/>
502 <xsl:with-param name="row" select="1"/>
503 </xsl:call-template>
504
505 <xsl:call-template name="topic">
506 <xsl:with-param name="key" select="'historic'"/>
507 <xsl:with-param name="column" select="9"/>
508 <xsl:with-param name="row" select="25"/>
509 </xsl:call-template>
510
511 <xsl:call-template name="topic">
512 <xsl:with-param name="key" select="'man_made'"/>
513 <xsl:with-param name="column" select="10"/>
514 <xsl:with-param name="row" select="1"/>
515 </xsl:call-template>
516 <xsl:call-template name="topic">
517 <xsl:with-param name="key" select="'power'"/>
518 <xsl:with-param name="column" select="10"/>
519 <xsl:with-param name="row" select="25"/>
520 </xsl:call-template>
521 <xsl:call-template name="topic">
522 <xsl:with-param name="key" select="'military'"/>
523 <xsl:with-param name="column" select="10"/>
524 <xsl:with-param name="row" select="35"/>
525 </xsl:call-template>
526
527 <xsl:call-template name="topic">
528 <xsl:with-param name="key" select="'shop'"/>
529 <xsl:with-param name="column" select="11"/>
530 <xsl:with-param name="row" select="1"/>
531 </xsl:call-template>
532
533
534
535
536 <xsl:call-template name="topic">
537 <xsl:with-param name="key" select="'sport'"/>
538 <xsl:with-param name="column" select="13"/>
539 <xsl:with-param name="row" select="1"/>
540 </xsl:call-template>
541
542 <xsl:call-template name="topic">
543 <xsl:with-param name="key" select="'religion'"/>
544 <xsl:with-param name="column" select="14"/>
545 <xsl:with-param name="row" select="1"/>
546 </xsl:call-template>
547 <xsl:call-template name="topic">
548 <xsl:with-param name="key" select="'power_source'"/>
549 <xsl:with-param name="column" select="14"/>
550 <xsl:with-param name="row" select="25"/>
551 </xsl:call-template>
552 <xsl:call-template name="topic">
553 <xsl:with-param name="key" select="'building'"/>
554 <xsl:with-param name="column" select="14"/>
555 <xsl:with-param name="row" select="35"/>
556 </xsl:call-template>
557
558
559
560
561 <xsl:call-template name="topic">
562 <xsl:with-param name="key" select="'landuse'"/>
563 <xsl:with-param name="column" select="16"/>
564 <xsl:with-param name="row" select="1"/>
565 </xsl:call-template>
566
567 <xsl:call-template name="topic">
568 <xsl:with-param name="key" select="'natural'"/>
569 <xsl:with-param name="column" select="16"/>
570 <xsl:with-param name="row" select="25"/>
571 </xsl:call-template>
572
573 <xsl:call-template name="topic">
574 <xsl:with-param name="key" select="'place'"/>
575 <xsl:with-param name="column" select="17"/>
576 <xsl:with-param name="row" select="1"/>
577 </xsl:call-template>
578 <xsl:call-template name="topic">
579 <xsl:with-param name="key" select="'boundary'"/>
580 <xsl:with-param name="column" select="17"/>
581 <xsl:with-param name="row" select="25"/>
582 </xsl:call-template>
583
584 </xsl:element>
585</xsl:template>
586
587</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.