Alexander Afanasyev | 6cacb97 | 2013-10-03 23:39:06 -0700 | [diff] [blame] | 1 | <xsl:stylesheet version = '1.0' |
| 2 | xmlns:xsl='http://www.w3.org/1999/XSL/Transform'> |
| 3 | |
Alexander Afanasyev | 506d0ab | 2013-10-29 19:18:10 -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> |
Alexander Afanasyev | 6cacb97 | 2013-10-03 23:39:06 -0700 | [diff] [blame] | 19 | </xsl:template> |
Alexander Afanasyev | 6cacb97 | 2013-10-03 23:39:06 -0700 | [diff] [blame] | 20 | </xsl:stylesheet> |