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><xsl:value-of select="@sensor"/> <xsl:value-of select="@year"/>/<xsl:value-of select="@month"/></title>
10 <meta name="generator">
11 <xsl:text>tool/air/sensor/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;
22 vertical-align:middle;
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 <img src="{ancestor::*/@month}/{@day}.png"/>