<?xml version="1.0" encoding="US-ASCII"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:web="http://www.webservicex.net">
	<xsl:output method="xml" encoding="US-ASCII" indent="yes"/>
	<xsl:template match="/">
		<html>
			<body>
				<xsl:apply-templates select="soap:Envelope/soap:Body/web:GetWeatherByZipCodeResponse/web:GetWeatherByZipCodeResult"/>
			</body>
		</html>
	</xsl:template>
	<xsl:template match="web:GetWeatherByZipCodeResult">
		<table border="1">
			<tr>
				<td colspan="4">
					<xsl:value-of select="web:PlaceName"/>
					<xsl:text>, </xsl:text>
					<xsl:value-of select="web:StateCode"/>
					<xsl:text> (</xsl:text>
					<xsl:choose>
						<xsl:when test="web:Latitude &lt; 0">
							<xsl:value-of select="- web:Latitude"/>
							<xsl:text>S</xsl:text>
						</xsl:when>
						<xsl:otherwise>
							<xsl:value-of select="web:Latitude"/>
							<xsl:text>N</xsl:text>
						</xsl:otherwise>
					</xsl:choose>
					<xsl:text>,&#xA0;</xsl:text>
					<xsl:choose>
						<xsl:when test="web:Longitude &lt; 0">
							<xsl:value-of select="- web:Longitude"/>
							<xsl:text>E</xsl:text>
						</xsl:when>
						<xsl:otherwise>
							<xsl:value-of select="web:Longitude"/>
							<xsl:text>W</xsl:text>
						</xsl:otherwise>
					</xsl:choose>
					<xsl:text>)</xsl:text>
				</td>
			</tr>
			<tr>
				<td>Weather</td>
				<td>Day</td>
				<td>High</td>
				<td>Low</td>
			</tr>
			<xsl:apply-templates select="web:Details/web:WeatherData"/>
		</table>
	</xsl:template>
	<xsl:template match="web:WeatherData">
		<tr>
			<td>
				<img src="{web:WeatherImage}"/>
			</td>
			<td>
				<xsl:value-of select="web:Day"/>
			</td>
			<td>
				<xsl:value-of select="web:MaxTemperatureF"/>
				<xsl:text>&#xB0;F&#xA0;(</xsl:text>
				<xsl:value-of select="web:MaxTemperatureC"/>
				<xsl:text>&#xB0;C)</xsl:text>
			</td>
			<td>
				<xsl:value-of select="web:MinTemperatureF"/>
				<xsl:text>&#xB0;F&#xA0;(</xsl:text>
				<xsl:value-of select="web:MinTemperatureC"/>
				<xsl:text>&#xB0;C)</xsl:text>
			</td>
		</tr>
	</xsl:template>
</xsl:stylesheet><!-- Stylus Studio meta-information - (c) 2004-2006. Progress Software Corporation. All rights reserved.
<metaInformation>
<scenarios ><scenario default="yes" name="NOAA" userelativepaths="yes" externalpreview="no" url="ws:///c:/a/noaa.wscc" htmlbaseurl="" outputurl="" processortype="saxon6" useresolver="yes" profilemode="0" profiledepth="" profilelength="" urlprofilexml="" commandline="" additionalpath="" additionalclasspath="" postprocessortype="none" postprocesscommandline="" postprocessadditionalpath="" postprocessgeneratedext="" validateoutput="no" validator="internal" customvalidator=""/></scenarios><MapperMetaTag><MapperInfo srcSchemaPathIsRelative="yes" srcSchemaInterpretAsXML="no" destSchemaPath="" destSchemaRoot="" destSchemaPathIsRelative="yes" destSchemaInterpretAsXML="no"/><MapperBlockPosition></MapperBlockPosition><TemplateContext></TemplateContext><MapperFilter side="source"></MapperFilter></MapperMetaTag>
</metaInformation>
-->