Ilya Moiseenko | 69abb97 | 2013-11-04 16:02:20 -0800 | [diff] [blame] | 1 | <xsl:stylesheet version = '1.0' |
Ilya Moiseenko | 18c8a13 | 2013-10-24 01:52:52 -0700 | [diff] [blame] | 2 | xmlns:xsl='http://www.w3.org/1999/XSL/Transform'> |
| 3 | |
Ilya Moiseenko | 3adef43 | 2013-11-01 03:42:40 -0700 | [diff] [blame] | 4 | <xsl:template match="/"> |
| 5 | <stats> |
| 6 | <data> |
| 7 | <in><xsl:value-of select="sum(/ndnd/faces/face/meters/datain/total)" /></in> |
| 8 | <out><xsl:value-of select="sum(/ndnd/faces/face/meters/dataout/total)" /></out> |
| 9 | <!-- <in><xsl:value-of select="sum(/ndnd/faces/face/meters/datain/persec)" /></in> --> |
| 10 | <!-- <out><xsl:value-of select="sum(/ndnd/faces/face/meters/dataout/persec)" /></out> --> |
| 11 | </data> |
| 12 | <interests> |
| 13 | <in><xsl:value-of select="sum(/ndnd/faces/face/meters/intrin/total)" /></in> |
| 14 | <out><xsl:value-of select="sum(/ndnd/faces/face/meters/introut/total)" /></out> |
| 15 | <!-- <in><xsl:value-of select="sum(/ndnd/faces/face/meters/intrin/persec)" /></in> --> |
| 16 | <!-- <out><xsl:value-of select="sum(/ndnd/faces/face/meters/introut/persec)" /></out> --> |
| 17 | </interests> |
| 18 | </stats> |
Ilya Moiseenko | 18c8a13 | 2013-10-24 01:52:52 -0700 | [diff] [blame] | 19 | </xsl:template> |
Ilya Moiseenko | 18c8a13 | 2013-10-24 01:52:52 -0700 | [diff] [blame] | 20 | </xsl:stylesheet> |