<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">
<xsl:template match="/"><xsl:apply-templates/></xsl:template>

<xsl:template match="TaxCutData">

<HTML>
<head>
<style>

BODY.light 	{
			font: 8.5pt tahoma; 
			margin-left: 0px; 
			margin-top: 0px; 
			margin-right: 0px;
			margin-bottom: 0px;
			bgcolor: red;
			}
.fieldtext	{font-family: Tahoma;
			font-size: 8.5pt;
			font-weight: normal;
			color: black;
			text-align: left
			line-height: 19px
			}

.entrytext	{font-family: Tahoma;
			font-size: 8.5pt;
			font-weight: normal;
			color: black;
			text-align: right
			line-height: 19px
			}
.blueheader{font-family: Tahoma;
			font-size: 8.5pt;
			font-weight: bold;
			color: 487098;
			text-align: right
			line-height: 19px
			}
.blackheader{font-family: Tahoma;
			font-size: 8.5pt;
			font-weight: bold;
			color: black;
			text-align: right
			line-height: 19px
			}

</style>
<xsl:for-each select="TaxReturnSummary">
<title> <xsl:value-of select="TaxYear"/> Tax Return Summary </title>
</xsl:for-each>

</head>

<BODY class="light" scrolling = "no">

<xsl:for-each select="TaxReturnSummary">

<TABLE BORDER="0" STYLE="position: absolute; left: 0px; top: 0px; width: 100%; height: 100%; 
		visibility: visible; " CELLPADDING="0" cellspacing="0" bgcolor="FFFEF9" >
  <tr>
	<td>
		<TABLE BORDER="0" STYLE="position: absolute; left: 0px; top: 0px; width: 144px; height: 100%; 
		visibility: visible; zIndex=5" CELLPADDING="0" cellspacing="0" bgcolor="373737">
		<td>
		</td>
		</TABLE>
	</td>
    <td>
		<TABLE style=" width: 450px;position: absolute; left: 160px;top: 6px" cellpadding="0" cellspacing="0" border="0">

			<tr class="entrytext">
			<p>This summary is from the Taxcut file <xsl:value-of select="Filepath"/>.</p>
			</tr>
			<tr>
				<td class = "entrytext">
				<p> <b>Name:</b> <xsl:value-of select="Name"/></p>
				</td>
				<td class = "entrytext">
				<b> SSN: </b><xsl:value-of select="ssn"/>
				</td>
			</tr>
			<tr valign="bottom" height="11">
				<td><div class="blueheader" width="100%" height="11">Information</div></td>
				<td class="blueheader" style="text-align:right" align="right">Total Dollar Amount</td>
			</tr>
			<tr valign="top" height="1">
			<td colspan="2" height="1" valign="top"><img src="../header.gif" width="100%" height="1"></img></td>
			</tr>

		<TR>
		<TD><div class = "blackheader">Income</div></TD>
		<TD></TD>
	<tr valign="top" height="1">
	<td colspan="2" height="1" valign="top"><img src="../line.gif" width="100%" height="1"></img></td>
	</tr>
	</TR>
	<TR class = "entrytext">
	  <TD style="Margin-left: 10px">
		Total Income
	  </TD>
	  <TD style="text-align:right">
		$<xsl:value-of select="TotalIncome"/>00
	  </TD>
      	</TR>
	<tr valign="top" height="1">
	<td colspan="2" height="1" valign="top"><img src="../line.gif" width="100%" height="1"></img></td>
	</tr>
	<TR class = "entrytext">
	  <TD style="Margin-left: 10px">
		Adjustments
	  </TD>
	  <TD style="text-align:right">
		$<xsl:value-of select="Adjustments"/>00
	  </TD>
      	</TR>
	<tr valign="top" height="1">
	<td colspan="2" height="1" valign="top"><img src="../line.gif" width="100%" height="1"></img></td>
	</tr>
	<TR class = "entrytext">
	  <TD style="Margin-left: 10px">
		Adjusted Gross Income
	  </TD>
	  <TD style="text-align:right">
		$<xsl:value-of select="AdjustedGrossIncome"/>00
	  </TD>
      	</TR>
	<tr valign="top" height="1">
	<td colspan="2" height="1" valign="top"><img src="../line.gif" width="100%" height="1"></img></td>
	</tr>
	<TR class = "entrytext">
	  <TD style="Margin-left: 10px">
		Deduction (Standard/Itemized)
	  </TD>
	  <TD style="text-align:right">
		$<xsl:value-of select="Deduction"/>00
	  </TD>
      	</TR>
	<tr valign="top" height="1">
	<td colspan="2" height="1" valign="top"><img src="../line.gif" width="100%" height="1"></img></td>
	</tr>
	<TR class = "entrytext">
	  <TD style="Margin-left: 10px">
		Personal Exemptions
	  </TD>
	  <TD style="text-align:right">
		$<xsl:value-of select="PersonalExemptions"/>00
	  </TD>
      	</TR>
	<tr valign="top" height="1">
	<td colspan="2" height="1" valign="top"><img src="../line.gif" width="100%" height="1"></img></td>
	</tr>
	<TR class = "entrytext">
	  <TD style="Margin-left: 10px">
		Taxable Income
	  </TD>
	  <TD style="text-align:right">
		$<xsl:value-of select="TaxableIncome"/>00
	  </TD>
      	</TR>
	<tr valign="top" height="1">
	<td colspan="2" height="1" valign="top"><img src="../line.gif" width="100%" height="1"></img></td>
	</tr>
	<TR class = "entrytext">
	  <TD style="Margin-left: 10px">
		Tax
	  </TD>
	  <TD style="text-align:right">
		$<xsl:value-of select="Tax"/>00
	  </TD>
      	</TR>
	<tr valign="top" height="1">
	<td colspan="2" height="1" valign="top"><img src="../line.gif" width="100%" height="1"></img></td>
	</tr>
	<TR class = "entrytext">
	  <TD style="Margin-left: 10px">
		Credits
	  </TD>
	  <TD style="text-align:right">
		$<xsl:value-of select="Credits"/>00
	  </TD>
      	</TR>
	<tr valign="top" height="1">
	<td colspan="2" height="1" valign="top"><img src="../line.gif" width="100%" height="1"></img></td>
	</tr>
	<TR class = "blackheader">
	  <TD>Other Taxes</TD>
	  <TD></TD>
	</TR>
	<tr valign="top" height="1">
	<td colspan="2" height="1" valign="top"><img src="../line.gif" width="100%" height="1"></img></td>
	</tr>
	<TR class = "entrytext">
	  <TD style="Margin-left: 10px">
		Self Employment Tax
	  </TD>
	  <TD style="text-align:right">
		$<xsl:value-of select="SelfEmploymentTax"/>00
	  </TD>
      	</TR>
	<tr valign="top" height="1">
	<td colspan="2" height="1" valign="top"><img src="../line.gif" width="100%" height="1"></img></td>
	</tr>
	<TR class = "entrytext">
	  <TD style="Margin-left: 10px">
		Other Taxes
	  </TD>
	  <TD style="text-align:right">
		$<xsl:value-of select="OtherTaxes"/>00
	  </TD>
      	</TR>
	<tr valign="top" height="1">
	<td colspan="2" height="1" valign="top"><img src="../line.gif" width="100%" height="1"></img></td>
	</tr>
	<TR class = "blackheader">
	  <TD>Payments</TD>
	  <TD></TD>
	</TR>
	<tr valign="top" height="1">
	<td colspan="2" height="1" valign="top"><img src="../line.gif" width="100%" height="1"></img></td>
	</tr>
	<TR class = "entrytext">
	  <TD style="Margin-left: 10px">
		Income Tax Withheld
	  </TD>
	  <TD style="text-align:right">
		$<xsl:value-of select="TaxWithheld"/>00
	  </TD>
      	</TR>
	<tr valign="top" height="1">
	<td colspan="2" height="1" valign="top"><img src="../line.gif" width="100%" height="1"></img></td>
	</tr>
	<TR class = "entrytext">
	  <TD style="Margin-left: 10px">
		Estimated Tax Paid and Overpayments from Prior Year
	  </TD>
	  <TD style="text-align:right">
		$<xsl:value-of select="TaxPaid"/>00
	  </TD>
      	</TR>
	<tr valign="top" height="1">
	<td colspan="2" height="1" valign="top"><img src="../line.gif" width="100%" height="1"></img></td>
	</tr>
	<TR class = "entrytext">
	  <TD style="Margin-left: 10px">
		Earned Income Credit
	  </TD>
	  <TD style="text-align:right">
		$<xsl:value-of select="EarnedIncomeCredit"/>00
	  </TD>
      	</TR>
	<tr valign="top" height="1">
	<td colspan="2" height="1" valign="top"><img src="../line.gif" width="100%" height="1"></img></td>
	</tr>
	<TR class = "entrytext">
	  <TD style="Margin-left: 10px">
		Other payments
	  </TD>
	  <TD style="text-align:right">
		$<xsl:value-of select="OtherPayments"/>00
	  </TD>
      	</TR>
	<tr valign="top" height="1">
	<td colspan="2" height="1" valign="top"><img src="../line.gif" width="100%" height="1"></img></td>
	</tr>
	<TR class = "entrytext">
	  <TD style="Margin-left: 10px">
		Refund
	  </TD>

	  <TD style="text-align:right">
		$<xsl:value-of select="TaxRefund"/>00
	  </TD>
      	</TR>
	<tr valign="top" height="1">
	<td colspan="2" height="1" valign="top"><img src="../line.gif" width="100%" height="1"></img></td>
	</tr>
	
	<TR class = "entrytext">
	  <TD style="Margin-left: 10px">
		Taxes Owed
	  </TD>

	  <TD style="text-align:right">
		$<xsl:value-of select="TaxAmt"/>00
	  </TD>
      	</TR>
	<tr valign="top" height="1">
	<td colspan="2" height="1" valign="top"><img src="../line.gif" width="100%" height="1"></img></td>
	</tr>
	</TABLE>

	</td>
	</tr>

</TABLE>

</xsl:for-each>

<xsl:for-each select="TaxTips">

<TABLE BORDER="0" STYLE="position: absolute; left: 0px; top: 380px; width: 100%; height: 100%; 
		visibility: visible; " CELLPADDING="0" cellspacing="0" bgcolor="FFFEF9" >
	<td>
		<TABLE BORDER="0" STYLE="position: absolute; left: 0px; top: 0px; width: 144px; height: 100%; 
		visibility: visible; zIndex=5" CELLPADDING="0" cellspacing="0" bgcolor="373737">
		<td>
		</td>
		</TABLE>
	</td>
  <tr>
    <td>
		<TABLE style=" width: 450px;position: absolute; left: 160px;top: 0px" cellpadding="0" cellspacing="0" border="0">
				<tr class = "entrytext">
					<p> Following are some tax tips that may interest you:</p>
				</tr>
				<xsl:for-each select="TaxTip">
					<tr class = "entrytext">
						<xsl:value-of select="text"/>
						<ul type="disc">
							<xsl:for-each select="subText">
								<li><xsl:value-of select="."/></li>
							</xsl:for-each>
						</ul>
					</tr>
				</xsl:for-each>
		</TABLE>

	</td>
	</tr>

</TABLE>

</xsl:for-each>

</BODY>
</HTML>
</xsl:template> 
</xsl:stylesheet>
<!--

BODY.light 	{
			font: 8.5pt tahoma; 
			margin-left: 14px; 
			margin-top: 6px; 
			margin-right: 14px;
			margin-bottom: 10px;
			}
<TABLE CELLPADDING="0" CELLSPACING="0" BORDER="0" WIDTH="100%" HEIGHT="100%">
<TR>
  <TD COLSPAN="144" HEIGHT="100%" >


  <TD BGCOLOR="FFFEF9" VALIGN="TOP" ID="main">
    <SPAN STYLE="position: absolute; left: 144px; top: 0px; width: 100%; height: 100%; 
		visibility: visible;  overflow: auto; zIndex=5">

      <TABLE CELLPADDING="0" CELLSPACING="0" BORDER="0" STYLE="margin: 0px 0px 0px 0px;">



	<table width="100%" border="0" cellspacing="0" cellpadding="0" align="LEFT" valign="TOP">

	  <tr><td height="6"></td>
	  </tr>

	  <tr>

	    <td width="14">
	    </td>
    
	    <td colspan="2">
		-->