<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:template match="/">
    <html>
    <body bgcolor="white">
    <font size="2" face="Arial" color="navy">
    <center>
    <table border="2" bgcolor="cyan" width="100%">
        <tr>
	    <td>
               <img src="/home/sporty/usr/people/jason/TRUNK/scrib/icons/ansys_logo.gif"/>
            </td>
            <td>
               <h1><xsl:value-of select="mesh_report/header/mesher"/> Meshing Report</h1>
               <h4>Description: <xsl:value-of select="mesh_report/header/description"/></h4>
               <h4>Script: <xsl:value-of select="mesh_report/header/script"/></h4>
               <h4>Prepared by: <xsl:value-of select="mesh_report/header/user"/></h4>
               <h4>Date: <xsl:value-of select="mesh_report/header/date"/></h4>
	    </td>
        </tr>
    </table>
    <hr/>

    <xsl:for-each select="mesh_report/summary">
	  <h2><xsl:value-of select="name"/></h2>
          <xsl:for-each select="category">
                <font color="black">
                <table border="2" bgcolor="white" width="60%">
	        <caption><xsl:value-of select="name"/></caption>
                <xsl:for-each select="datum">
                   <tr>
                      <td><b><xsl:value-of select="name"/></b></td>
                      <td><xsl:value-of select="value"/></td>
                   </tr>
                </xsl:for-each>
                </table>
                </font>
          </xsl:for-each>
	  <hr/>
    </xsl:for-each>

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

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