Blame |
Last modification |
View Log
| RSS feed
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:kml="http://www.opengis.net/kml/2.2" >
<xsl:template match="/">
<kml:kml><kml:Document><kml:name>Flight 1000</kml:name>
<kml:Style id="transPurpleLineGreenPoly"><kml:LineStyle><kml:color>7fff00ff</kml:color>
<kml:width>4</kml:width></kml:LineStyle>
<kml:PolyStyle><kml:color>7f00ff00</kml:color></kml:PolyStyle>
</kml:Style>
<kml:Placemark><kml:name>Absolute</kml:name>
<kml:visibility>1</kml:visibility>
<kml:description>Transparent purple line</kml:description>
<kml:styleUrl>#transPurpleLineGreenPoly</kml:styleUrl>
<kml:LineString><kml:tessellate>1</kml:tessellate><kml:altitudeMode>absolute</kml:altitudeMode>
<kml:coordinates>
<xsl:text>
</xsl:text>
<xsl:apply-templates select="mk-osddata/dataset[@timestamp>45000]/currentPosition"/>
<xsl:text>
</xsl:text>
</kml:coordinates>
</kml:LineString>
</kml:Placemark>
</kml:Document>
</kml:kml>
</xsl:template>
<xsl:template match="currentPosition"><xsl:value-of select="@longitude"/>,<xsl:value-of select="@latitude"/>,<xsl:value-of select="@altitude"/><xsl:text>
</xsl:text>
</xsl:template>
</xsl:stylesheet>