<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">
<xsl:template match="/">

<font face="Arial, Helvetica, sans-serif">
<div style="LEFT: 0px; TOP: 0px; POSITION: absolute;WIDTH: 1000px; HEIGHT: 65px; color:white; background-color:black">
</div>

<div style="LEFT: 20px; TOP: 0px; POSITION: absolute;WIDTH: 100%; HEIGHT: 65px; color:white; background-color:black">

<p >
<br />__SERVICETITLE__</p>
</div>

<div style="TOP: 50px; WIDTH: 98%; LEFT: 20px; POSITION: absolute; ">


<br />
<h3>__WARRANTYINFO__</h3>

<xsl:for-each select="output/warrantyInfo/machine">
<p>
<table border="1" width="100%">
<tr><td width="20%">__MTM__</td><td><xsl:value-of select="type" /> - <xsl:value-of select="model" /></td></tr>
<tr><td>__SERIAL__</td><td><xsl:value-of select="serial" /></td></tr>
<tr><td>__SHIPDATE__</td><td><xsl:value-of select="shipDate" /></td></tr>
<tr><td>__ESTWARRANTYEXPIRATION__</td><td ><xsl:value-of select="wed" /></td></tr>
<tr><td>__WARRANTYDESC__</td><td>__WARRANTYDESCVALUE__</td></tr>
</table>
</p>
</xsl:for-each>


<h3>__PARTSINFO__</h3>
<p>__PARTSINFODESC__</p>
<table border="1" width="100%">
<tr><td>__FRUNO__ </td><td>__FRUDESC__ </td> </tr>
<xsl:for-each select="output/warrantyInfo/part">

<tr>
	<xsl:choose>
		<xsl:when test="fruPart[.='0000000']">
			<td>  </td>
		</xsl:when>
		<xsl:otherwise>
			<td><xsl:value-of select="fruPart" /></td>
		</xsl:otherwise>
	</xsl:choose>

	<td><xsl:value-of select="fruDesc" /></td>
</tr>

</xsl:for-each>
</table>
<br />
</div>
</font>

</xsl:template>
</xsl:stylesheet>

