<?
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>
<head>
<link rel="stylesheet" href="index.css" type="text/css" />
</head>
<body onselectstart="return false" onDragStart="return false" onDrop="return false">
<xsl:value-
of select="@matchid" /></p>
<xsl:value-
of select="@msg" /></p>
<table class="match" cellpadding="0" cellspacing="0" align="center" width="100%">
<tr valign="middle">
<th width="200px" class="left" id="crt"><xsl:value-
of select="@crt" /></th>
<th width="50px" class="center" id="mt"><xsl:value-
of select="@mt" /></th>
<th width="50px" class="center">Serv.</th>
<th class="center">Game</th>
<th class="center">Set1</th>
<th class="center">Set2</th>
<th class="center">Set3</th>
<xsl:
if test="@m_max_sets='
5'">
<th class="center">Set4</th>
<th class="center">Set5</th>
</xsl:
if>
</tr>
<tr valign="middle">
<td class="p1" colspan="2" style="text-align:left;padding-left:5px;" id="player_a">
<xsl:value-
of select="@nA" />
<xsl:
if test="dbl='
2'">
<xsl:value-
of select="player_a2" />
</xsl:
if>
</td>
<td class="p1" id="serv_a">[img]
{ballA}.gif[/img]</td>
<td class="p1" id="pts_a"><xsl:value-
of select="@ptA" /></td>
<td class="p1" id="s1A"><xsl:value-
of select="set_1a" /></td>
<td class="p1" id="s2A"><xsl:value-
of select="set_2a" /></td>
<td class="p1" id="s3A"><xsl:value-
of select="set_3a" /></td>
<xsl:
if test="@nset='
5'">
<td class="p1" id="s4A"><xsl:value-
of select="set_4a" /></td>
<td class="p1" id="s5A"><xsl:value-
of select="set_5a" /></td>
</xsl:
if>
</tr>
<tr valign="middle">
<td class="p2" colspan="2" style="text-align:left;padding-left:5px;" id="player_b">
<xsl:value-
of select="nB" />
<xsl:
if test="dbl='
2'">
<xsl:value-
of select="player_b2" />
</xsl:
if>
</td>
<td class="p2" id="serv_b">[img]
{ballB}.gif[/img]</td>
<td class="p2" id="pts_b"><xsl:value-
of select="ptB" /></td>
<td class="p2" id="set_1b"><xsl:value-
of select="set_1b" /></td>
<td class="p2" id="set_2b"><xsl:value-
of select="set_2b" /></td>
<td class="p2" id="set_3b"><xsl:value-
of select="set_3b" /></td>
<xsl:
if test="nset='
5'">
<td class="p2" id="set_4b"><xsl:value-
of select="set_4b" /></td>
<td class="p2" id="set_5b"><xsl:value-
of select="set_5b" /></td>
</xsl:
if>
</tr>
</table>
<table class="match" cellpadding="0" cellspacing="0" align="center" width="100%">
<tr valign="middle">
<th class="right" height="29" id="playernameA" width="37%">[img]flags/
{nA}.gif[/img]
<xsl:value-
of select="nA" />
<xsl:
if test="matchtyp='
D'">
<br style="clear:both;" />[img]flags/
{nat_a2}.gif[/img]<xsl:value-
of select="player_a2" />
</xsl:
if>
</th>
<th class="center" height="29" width="25%">-</th>
<th class="left" height="29" id="playernameB" width="38%">[img]flags/
{nB}.gif[/img]
<xsl:value-
of select="nB" />
<xsl:
if test="matchtyp='
D'">
<br style="clear:both;" />[img]flags/
{nat_b2}.gif[/img]<xsl:value-
of select="player_b2" />
</xsl:
if>
</th>
</tr>
<tr valign="middle">
<td class="players" height="29" align="right" id="sv1aa"><xsl:value-
of select="fsA" /> %</td>
<td class="players" height="29" align="center">1st serv Percantage</td>
<td class="players" height="29" align="left" id="sv1ab"><xsl:value-
of select="fsB" /> %</td>
</tr>
<tr valign="middle">
<td class="players" height="29" align="right" id="psv1aa"><xsl:value-
of select="fspA" /> %</td>
<td class="players" height="29" align="center">1st serv Points</td>
<td class="players" height="29" align="left" id="psv1ab"><xsl:value-
of select="fspB" /> %</td>
</tr>
<tr valign="middle">
<td class="players" height="29" align="right" id="psv2aa"><xsl:value-
of select="sspA" /> %</td>
<td class="players" height="29" align="center">2nd serv Points</td>
<td class="players" height="29" align="left" id="psv2ab"><xsl:value-
of select="sspB" /> %</td>
</tr>
<tr valign="middle">
<td class="players" height="29" align="right" id="asse_a"><xsl:value-
of select="aceA" /></td>
<td class="players" height="29" align="center">Aces
on first serve</td>
<td class="players" height="29" align="left" id="asse_b"><xsl:value-
of select="aceB" /></td>
</tr>
<tr valign="middle">
<td class="players" height="29" align="right" id="asse_a"><xsl:value-
of select="assA" /></td>
<td class="players" height="29" align="center">Aces
on second serve</td>
<td class="players" height="29" align="left" id="asse_b"><xsl:value-
of select="assB" /></td>
</tr>
<tr valign="middle">
<td class="players" height="29" align="right" id="dbfa"><xsl:value-
of select="dfA" /></td>
<td class="players" height="29" align="center">Double faults</td>
<td class="players" height="29" align="left" id="dbfa"><xsl:value-
of select="dfB" /></td>
</tr>
<tr valign="middle">
<td class="players" height="30" align="right" id="ptsa"><xsl:value-
of select="tpA" /></td>
<td class="players" height="30" align="center">Points total</td>
<td class="players" height="30" align="left" id="ptsb"><xsl:value-
of select="tpB" /></td>
</tr>
<tr valign="middle">
<td class="players" height="29" align="right" id="bpA"><xsl:value-
of select="bpaa" /> / <xsl:value-
of select="bpeffa" /> %</td>
<td class="players" height="29" align="center">Breakballs</td>
<td class="players" height="29" align="left" id="bpB"><xsl:value-
of select="bpab" /> / <xsl:value-
of select="bpeffb" /> %</td>
</tr>
</table>
<table class="match" cellpadding="0" cellspacing="0" align="center" width="100%" height="35">
<tr valign="middle">
<td class="umpire">Chair Umpire:
<xsl:value-
of select="r_fname" /><xsl:value-
of select="umpire" /> [<xsl:value-
of select="r_nat" />]
</td>
</tr>
</table>
<table class="match" cellpadding="0" cellspacing="0" align="center" width="100%" height="35">
<tr valign="middle">
<th class="center" id="tag" width="50%"><xsl:value-
of select="date" /></th>
<th class="center" id="start" width="50%"><xsl:value-
of select="round" /></th>
</tr>
</table>
</body>
</
html>
</xsl:template>
</xsl:stylesheet>