<?xml version="1.0" encoding="ISO-8859-1"?>

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                xmlns:fo="http://www.w3.org/1999/XSL/Format"
                version='1.0'>

<xsl:param name="html.stylesheet" select="'/home/sporty/usr/people/jason/TRUNK/ic_xml/style/testbench_report.css'"/>

<xsl:template match="/">

    <html>
    <body>
    <center>

    <table>
        <tr>
	    <td>
               <img src="/home/sporty/usr/people/jason/TRUNK/scrib/icons/ansys_logo.gif"/>
            </td>
            <td>
               Title: <xsl:value-of select="TESTSET/@TITLE"/><br/>
               Name: <xsl:value-of select="TESTSET/@NAME"/><br/>
               Application: <xsl:value-of select="TESTSET/@APPLICATION"/><br/>
               Version: <xsl:value-of select="TESTSET/@VERSION"/><br/>
               Machine: <xsl:value-of select="TESTSET/@MACHINE"/><br/>
               Date: <xsl:value-of select="TESTSET/@DATE"/><br/>
	    </td>
        </tr>
    </table>
    
    <br/>
    
    <xsl:for-each select="TESTSET/TESTCASE">
          <h2>Testcase: "<xsl:value-of select="./@TITLE"/>"</h2>
          <table border="2" bgcolor="white" width="60%">
          <xsl:for-each select=".">
                   <tr>
                       <td>
			  <b>name</b>
 		       </td>
                       <td>
			  <b><xsl:value-of select="."/></b>
 		       </td>
                   </tr>
          </xsl:for-each>
          </table>
	  <br/>
    </xsl:for-each>

    </center>
    </body>
    </html>

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