Alexander Afanasyev | 0621cec | 2016-03-20 23:18:27 -0700 | [diff] [blame^] | 1 | <xsl:stylesheet version = '1.0' |
| 2 | xmlns:xsl='http://www.w3.org/1999/XSL/Transform'> |
| 3 | |
| 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> |
| 19 | </xsl:template> |
| 20 | </xsl:stylesheet> |