<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

  <xsl:output version="1.0" indent="yes" encoding="UTF-8" omit-xml-declaration="no" method="xml"/>
  
  <xsl:template match="/html">
    <RESULT>
	  <WEATHER>
        <xsl:apply-templates/>
      </WEATHER>
    </RESULT>
  </xsl:template>

  <xsl:template match="text()"></xsl:template>

  <xsl:template match="table[starts-with(normalize-space(.),'Appar Temp')]">
    <TEMPERATURE>
      <xsl:value-of select="tr/td[2]/font"/>
    </TEMPERATURE>
	
    <HUMIDITY>
      <xsl:value-of select="tr[3]/td[2]/font"/>		
    </HUMIDITY>
  </xsl:template> 

</xsl:stylesheet>
