-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathzj_yah_kml.xslt.source.xml
87 lines (61 loc) · 1.7 KB
/
zj_yah_kml.xslt.source.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<?sap.transform simple?>
<tt:transform xmlns:tt="http://www.sap.com/transformation-templates" xmlns="http://www.opengis.net/kml/2.2">
<tt:root name="ROOT"/>
<tt:template>
<kml>
<tt:deserialize>
<Document>
<name>
<tt:skip/>
</name>
<description>
<tt:skip/>
</description>
<Style>
<tt:skip/>
</Style>
<Style>
<tt:skip/>
</Style>
<StyleMap>
<tt:skip/>
</StyleMap>
<Folder>
<name><tt:skip/></name>
<tt:loop name="line" ref=".ROOT">
<Placemark>
<tt:d-cond>
<name>
<tt:value ref="$line.name"/>
</name>
</tt:d-cond>
<tt:d-cond>
<description>
<tt:value ref="$line.desc"/>
</description>
</tt:d-cond>
<tt:d-cond>
<styleUrl>
<tt:skip/>
</styleUrl>
</tt:d-cond>
<tt:d-cond>
<ExtendedData>
<tt:skip/>
</ExtendedData>
</tt:d-cond>
<tt:d-cond>
<Point>
<coordinates>
<tt:value ref="$line.coord"/>
</coordinates>
</Point>
</tt:d-cond>
</Placemark>
</tt:loop>
</Folder>
</Document>
</tt:deserialize>
</kml>
</tt:template>
</tt:transform>