<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
	<xsl:variable name="StoreInfo" select="document('StoreInfo.xml')/Horticulture_Heaven"/>
	<xsl:template match="FlowerStock">
		<html>
			<head>
				<title>Horticulture Heaven | Daylilies</title>
				<link href="d1.css" rel="stylesheet" type="text/css"/>
			</head>
			<body>
				<div align="center">
					<table class="main" cellpadding="5" cellspacing="0" width="750px">
						<tr>
							<td colspan="2" align="center">
								<img src="header.gif" alt="Header Image"/>
							</td>
						</tr>
						<tr>
							<td valign="top" width="10%">
								<table class="navigation">
									<tr>
										<td valign="top" align="center">
											<table cellpadding="0" cellspacing="0" style="width: 115px;">
												<tr>
													<td class="nav_title">Navigation</td>
												</tr>
												<tr>
													<td class="nav_mid"> :: <a href="index.html" title="Home">Home</a> ::</td>
												</tr>
												<tr>
													<td class="nav_mid"> :: <a href="daffodils.html" title="Daffodils">Daffodils</a> ::</td>
												</tr>
												<tr>
													<td class="nav_mid"> :: <a href="daylilies.html" title="Daylilies">Daylilies</a> ::</td>
												</tr>
												<tr>
													<td class="nav_mid"> :: <a href="roses.html" title="Roses">Roses</a> ::</td>
												</tr>
												<tr>
													<td class="nav_mid"> :: <a href="tulips.html" title="Tulips">Tulips</a> :: </td>
												</tr>
											</table>
										</td>
									</tr>
									<tr>
										<td valign="top" align="center">
											<table cellpadding="0" cellspacing="0" style="width: 115px;">
												<tr>
													<td class="nav_title">Address</td>
												</tr>
												<tr>
													<td class="nav_mid" style="font-size:10px;">
														<xsl:value-of select="$StoreInfo/locations/address"/>, 
													<xsl:value-of select="$StoreInfo/locations/city"/>, 																			<xsl:value-of select="$StoreInfo/locations/state"/> 
													<xsl:value-of select="$StoreInfo/locations/zip"/>
													</td>
												</tr>
											</table>
										</td>
									</tr>
									<tr>
										<td valign="top" align="center">
											<table cellpadding="0" cellspacing="0" style="width: 115px;">
												<tr>
													<td class="nav_title">Contact Info</td>
												</tr>
												<tr>
													<td class="nav_mid" style="font-size:10px;">
												Ph: <xsl:value-of select="$StoreInfo/locations/contact/phone"/>
														<br/>
												Fax: <xsl:value-of select="$StoreInfo/locations/contact/fax"/>
													</td>
												</tr>
											</table>
										</td>
									</tr>
									<tr>
										<td>
											<table cellpadding="0" cellspacing="0" style="width: 115px;">
												<tr>
													<td class="nav_title">Hours</td>
												</tr>
												<tr>
													<td class="nav_mid" style="font-size:10px; text-align: left; padding: 3px;">
														<xsl:for-each select="$StoreInfo/locations/hours">
															<font style="font-weight: bold;">
																<xsl:value-of select="@day"/>
															</font>
															<br/>
															<span style="position: relative; left: 8px;">
																<xsl:value-of select="./start"/> - <xsl:value-of select="./end"/>
															</span>
															<br/>
														</xsl:for-each>
													</td>
												</tr>
											</table>
										</td>
									</tr>
								</table>
							</td>
							<td valign="top" align="center" width="90%">
								<table class="flowers" style="border-bottom: 1px solid #000000;" cellpadding="0" cellspacing="0" width="100%">
									<tr>
										<td style="border-right: 1px solid #000000;">
											<img src="daylilies.gif" alt="Image of Daylilies"/>
										</td>
										<td style="padding: 5px;">
											<p>
											Select from our fine selection of hand picked daylilies. We have these daylilies selected every day
											for the freshest batch of flowers that can be found anywhere. We pride ourselves on the quality
											of our stock and the prices that we are available to sell them for. We encourage you to ask one of our
											talented sales personel to assist you in selecting the right rose for your occasion.
										</p>
										</td>
									</tr>
								</table>
								<br/>
								<table class="flowers" cellpadding="0" cellspacing="0" width="100%">
									<tr>
										<td class="flower_title" style="border-right:1px solid #000000;">Name</td>
										<td class="flower_title" style="border-right:1px solid #000000;">ID #</td>
										<td class="flower_title" style="border-right:1px solid #000000;">Description</td>
										<td class="flower_title" style="border-right:1px solid #000000;">Stock</td>
										<td class="flower_title">Price<br/>($USD)</td>
									</tr>
									<xsl:for-each select="flower">
										<xsl:if test="@type = 'daylilies'">
											<tr>
												<td class="flower_info{position() mod 2}" style="border-right:1px solid #000000;">
													<xsl:value-of select="name"/>
												</td>
												<td class="flower_info{position() mod 2}" style="border-right:1px solid #000000;">
													<xsl:value-of select="id"/>
												</td>
												<td class="flower_info{position() mod 2}" style="border-right:1px solid #000000;">
													<xsl:value-of select="description"/>
												</td>
												<td class="flower_info{position() mod 2}" style="border-right:1px solid #000000;">
													<xsl:value-of select="stock"/>
												</td>
												<td class="flower_info{position() mod 2}">
											$<xsl:value-of select="price"/>
												</td>
											</tr>
										</xsl:if>
									</xsl:for-each>
								</table>
							</td>
						</tr>
						<tr>
							<td colspan="2" align="center">
								<table class="footer" cellpadding="0" cellspacing="0">
									<tr>
										<td>The content on this site is the property of HH and it's owners.<br/>
											Any use of this content without the consent of the owners and HH is in violation of Copyright laws.<br/>
											Copyright 2003 Horticulture Heaven</td>
									</tr>
								</table>
							</td>
						</tr>
					</table>
				</div>
			</body>
		</html>
	</xsl:template>
</xsl:stylesheet>