<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
***************************************************************************************
* Code snippet taken from SA2010SS app - "South Africa 2010 Soccer Scores"            *
* ========================================================================            *
* Available on the App Store at:                                                      *
*   - http://itunes.apple.com/pt/app/south-africa-2010-soccer-scores/id379206383?mt=8 *
* More info at:                                                                       *
*   - http://xphone.me/sa2010ss/                                                      *
*   - info@xphone.me                                                                  *
*                                                                                     *
*       Copyright(c)2010-2011 xPhone.me (Ricardo Barroso) - All rights reserved.      *
***************************************************************************************
-->

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:output method="html"/>

<xsl:template match="/">
  <html>
  <head>
    <style type="text/css">
      tC {
        color:#b4c5dd;
        font-family:"arial";
		font-size:14px;
      }
    </style>
    <style type="text/css">
      gC {
		color:#f8aa00;
        font-family:"arial";
		font-size:13px;
      }
    </style>
	 <style type="text/css">
      lC {
        color:#000000;
        font-family:"arial";
		font-size:13px;
      }
    </style>
	<style type="text/css">
      zC {
        color:#eb4800;
        font-family:"arial";
		font-size:13px;
		
      }
	</style>
  </head>
  <body>
  <center>
  <p></p>
  <p></p>
  <table border="0" cellspacing="3" style="vertical-align: center; horizontal-align: center; background-color:#292929;">
	<tr align="center">
	  <th align="center"><gC>Top Goal Scorers</gC></th>
	  <th width="25" align="center"><zC><b>Goals</b></zC></th>
	</tr>
	
  <xsl:for-each select="data/scorer">
  <xsl:sort select="rank"/>
  
	<tr align="center">	
	  <td align="left"><b><tC><xsl:value-of select="name"/></tC></b></td>
	  <td width="25" align="center"><b><gC><xsl:value-of select="goals"/></gC></b></td>
	</tr>
  
  </xsl:for-each>
  </table>
  </center>
  <p></p>
  </body>
  </html>
</xsl:template>

</xsl:stylesheet>
