3
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
4
xmlns:lm="http://www.nokia.com/schemas/location/landmarks/1/0">
6
<!-- Sahana Eden XSLT Import Template
9
NOKIA Landmark Location
11
Sahana Eden GIS Location
14
<xsl:output method="xml"/>
16
<xsl:template match="/">
18
<xsl:apply-templates select=".//lm:landmark"/>
22
<xsl:template match="lm:landmark">
23
<resource name="gis_location">
24
<data field="gis_feature_type" value="1">Point</data>
25
<xsl:apply-templates select="./lm:name"/>
26
<xsl:apply-templates select="./lm:coordinates"/>
30
<xsl:template match="lm:name">
32
<xsl:value-of select="./text()"/>
36
<xsl:template match="lm:coordinates">
38
<xsl:value-of select="./lm:latitude/text()"/>
41
<xsl:value-of select="./lm:longitude/text()"/>