[Yanel-commits] rev 60900 - public/yanel/contributions/resources/calculate-distance-to-location/htdocs

michi at wyona.com michi at wyona.com
Thu Sep 29 09:56:50 CEST 2011


Author: michi
Date: 2011-09-29 09:56:49 +0200 (Thu, 29 Sep 2011)
New Revision: 60900

Modified:
   public/yanel/contributions/resources/calculate-distance-to-location/htdocs/json.xsl
Log:
km added

Modified: public/yanel/contributions/resources/calculate-distance-to-location/htdocs/json.xsl
===================================================================
--- public/yanel/contributions/resources/calculate-distance-to-location/htdocs/json.xsl	2011-09-28 18:48:24 UTC (rev 60899)
+++ public/yanel/contributions/resources/calculate-distance-to-location/htdocs/json.xsl	2011-09-29 07:56:49 UTC (rev 60900)
@@ -6,7 +6,7 @@
 
 <xsl:template match="/">{
 "locations":[
-<xsl:for-each select="/locations/loc">{"location":"<xsl:value-of select="@name"/>","distance":"<xsl:value-of select="@distance"/>","link":"<xsl:value-of select="@id"/>.html"}<xsl:if test="position() != last()">,
+<xsl:for-each select="/locations/loc">{"location":"<xsl:value-of select="@name"/>","distance":"<xsl:value-of select="@distance"/>km","link":"<xsl:value-of select="@id"/>.html"}<xsl:if test="position() != last()">,
 </xsl:if></xsl:for-each>
 ]
 }



More information about the Yanel-commits mailing list