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;
30 <table class="graphs">
32 <xsl:apply-templates/>
38 <xsl:template match="date">
40 <td class="date" id="day.{@day}">
41 <a href="#day.{@day}">
42 <xsl:value-of select="ancestor::*/@year"
43 />/<xsl:value-of select="ancestor::*/@month"
44 />/<xsl:value-of select="@day"/>
46 <xsl:value-of select="@day-name"/>
50 <table class="date-graphs">
52 <xsl:apply-templates/>
58 <xsl:template match="sensor">
60 <td class="graph" id="day.{ancestor::*/@day}.{@name}">
61 <img src="../{@name}/{ancestor::*/@year}/{ancestor::*/@month}/{ancestor::*/@day}.png"/>