update dependencies
[munin-heatpump.git] / paths.xsl
1 <?xml version="1.0"?>
2 <stylesheet version="1.0" xmlns="http://www.w3.org/1999/XSL/Transform">
3  <output method="text" indent="no"/>
4
5  <template match="/PCOWEB/PCO/*/VARIABLE">
6   <for-each select="..">
7     <value-of select="name()"/>
8     <text>/</text>
9   </for-each>
10
11   <value-of select="INDEX"/>
12   <text> </text>
13   <value-of select="VALUE"/>
14  </template>
15
16  <template name="path">
17   <for-each select="parent::*">
18    <call-template name="path"/>
19   </for-each>
20   <value-of select="name()"/>
21   <text>/</text>
22  </template>
23
24 </stylesheet>