All pastes #543110 Raw Edit

Mine

public text v1 · immutable
·published 2007-06-06 00:31 UTC
rendered paste body
<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output method="html" encoding="UTF-8"/>
    <xsl:template match="/">
        <html>
            <head><title>Prediction</title></head>
            <body>
                <table width="100%" border="1">
                  <thead>
                    <tr>
                       <TD width="35%"><B>Temperature</B></TD>
                       <TD width="15%"><B>Pressure</B></TD>
                       <TD width="10%"><B>Humidity</B></TD>
                       <TD width="10%"><B>Enable</B></TD>
                    </tr>
                  </thead>
                  <tbody>
                    <xsl:for-each select="//naturalEnvironment">
                        <tr>
                           <td width="35%"><xsl:value-of select="temperature" /></td>
                           <td width="15%"><xsl:value-of select="pressure" /></td>
                           <td width="10%"><xsl:value-of select="relativeHumidity" /></td>
                           <td width="10%"><xsl:value-of select="enabled" /></td>
                         </tr>
                    </xsl:for-each>
                  </tbody>
                </table>
            </body>
        </html>
    </xsl:template>
</xsl:stylesheet>