blob: 8192628e6a289ee4219d60e41a6f811f10fb06bb [file] [log] [blame]
Ilya Moiseenko18c8a132013-10-24 01:52:52 -07001<xsl:stylesheet version = '2.0'
2 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>