summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrobbat2 <robbat2>2010-06-28 08:12:52 +0000
committerrobbat2 <robbat2>2010-06-28 08:12:52 +0000
commitb7a2d3f5466cce09b2f1a19f6fd22984c30520d9 (patch)
tree95d9341fd6ed4655ab8c1a9c8e9a6591d0514324
parentremoved GMN links (diff)
downloadwww-redesign-b7a2d3f5466cce09b2f1a19f6fd22984c30520d9.tar.gz
www-redesign-b7a2d3f5466cce09b2f1a19f6fd22984c30520d9.tar.bz2
www-redesign-b7a2d3f5466cce09b2f1a19f6fd22984c30520d9.zip
Try to improve join data.
-rw-r--r--xml/htdocs/xsl/devlist.xsl3
1 files changed, 2 insertions, 1 deletions
diff --git a/xml/htdocs/xsl/devlist.xsl b/xml/htdocs/xsl/devlist.xsl
index 89479027..dd2a4881 100644
--- a/xml/htdocs/xsl/devlist.xsl
+++ b/xml/htdocs/xsl/devlist.xsl
@@ -105,7 +105,8 @@
<xsl:variable name="double-quote">"</xsl:variable>
<xsl:variable name="roles" select="translate(roles, $double-quote, $single-quote)"/>
<xsl:variable name="loc" select="translate(location, $double-quote, $single-quote)"/>
- <xsl:value-of select="concat(' {&#34;nick&#34;: &#34;', @nick,'&#34;, &#34;name&#34;: &#34;', name, '&#34;, &#34;joined&#34;: &#34;', joined, '&#34;, &#34;lat&#34;: ', location/@lat, ', &#34;lon&#34;: ', location/@lon, ', &#34;roles&#34;: &#34;', $roles, '&#34;, &#34;loc&#34;: &#34;', $loc, '&#34;}')"/>
+ <xsl:variable name="joined" select="translate(joined, $double-quote, $single-quote)"/>
+ <xsl:value-of select="concat(' {&#34;nick&#34;: &#34;', @nick,'&#34;, &#34;name&#34;: &#34;', name, '&#34;, &#34;joined&#34;: &#34;', $joined, '&#34;, &#34;lat&#34;: ', location/@lat, ', &#34;lon&#34;: ', location/@lon, ', &#34;roles&#34;: &#34;', $roles, '&#34;, &#34;loc&#34;: &#34;', $loc, '&#34;}')"/>
<xsl:if test="position()!=last()">,</xsl:if>
<xsl:text>&#xA;</xsl:text>
</xsl:template>