2 <xsl:transform version='1.0'
3 xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
4 <xsl:output doctype-system="about:legacy-compat"
5 encoding="UTF-8" indent="yes" method="html"/>
6 <xsl:template match="report">
9 <title>Air <xsl:value-of select="@year"/>/<xsl:value-of select="@month"/></title>
10 <meta name="generator">
11 <xsl:text>tool/air/xsl/year/month.html5.xsl</xsl:text>
12 <xsl:text>, </xsl:text>
13 <xsl:value-of select="
14 concat('XSL processor: ',system-property('xsl:vendor')
15 ,' <',system-property('xsl:vendor-url'),'>')"/>
17 <style type="text/css" rel="stylesheet">
19 font-family:monospace;
27 <table class="graphs">
29 <xsl:apply-templates/>
35 <xsl:template match="date">
37 <td class="date" id="day.{@day}">
38 <xsl:value-of select="ancestor::*/@year"
39 />/<xsl:value-of select="ancestor::*/@month"
40 />/<xsl:value-of select="@day"/>
42 <xsl:value-of select="@day-name"/>
45 <table class="date-graphs">
47 <xsl:apply-templates/>
53 <xsl:template match="sensor">
55 <td class="graph" id="day.{ancestor::*/@day}.{@name}">
56 <img src="../{@name}/{ancestor::*/@year}/{ancestor::*/@month}/{ancestor::*/@day}.png"/>