blob: d64ea5985d873ae2a02819c87b2815a9474b191a [file] [log] [blame]
Ilya Moiseenko69abb972013-11-04 16:02:20 -08001<xsl:stylesheet version = '1.0'
Ilya Moiseenko18c8a132013-10-24 01:52:52 -07002 xmlns:xsl='http://www.w3.org/1999/XSL/Transform'>
3
Ilya Moiseenko3adef432013-11-01 03:42:40 -07004<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 Moiseenko18c8a132013-10-24 01:52:52 -070019</xsl:template>
Ilya Moiseenko18c8a132013-10-24 01:52:52 -070020</xsl:stylesheet>