Non Gamstop CasinosNon Uk Casino SitesGambling Sites Not On GamstopCasinos Not On GamstopUK Casinos Not On Gamstop
<?xml version="1.0" encoding="iso-8859-2" ?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output media-type="html" encoding="iso-8859-2"/>
<xsl:template match="/project">
<html>
<head>
    <title>
        <xsl:value-of select="description"/>
    </title>
</head>
<body>
<h1><xsl:value-of select="@name"/></h1>
<p><xsl:value-of select="description"/></p>

<h2>Task List</h2>

<table border="1">
<colgroup>
<col width="60px"/>
<col width="150px"/>
<col/>
<col width="120px"/>
<col/>
<col width="150px"/>
<col width="300px"/>
</colgroup>

<tr>
<th>Task Priority</th>
<th>Task Name</th>
<th>Start Date</th>
<th>Task Duration (Days)</th>
<th>Completion</th>
<th>Assigned to</th>
<th>Notes</th>
</tr>
<xsl:for-each select="tasks/task">
<tr>
<td align="center">
<xsl:attribute name="style">
<xsl:choose>
<xsl:when test="number(@depth) > 0">
<xsl:text>padding-left: </xsl:text>
<xsl:value-of select="number(@depth)"/>
<xsl:text>em;</xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:text>text-decoration: underline;</xsl:text>
</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
<xsl:choose>
<xsl:when test="@priority='0'">
Low
</xsl:when>
<xsl:when test="@priority='1'">
Normal
</xsl:when>
<xsl:when test="@priority='2'">
High
</xsl:when>
</xsl:choose>
</td>
<td>
<xsl:value-of select="@name"/>
</td>
<td align="center">
<xsl:value-of select="@start"/>
</td>
<td align="center">
<xsl:value-of select="@duration"/>
</td>
<td align="center">
<xsl:value-of select="@complete"/><xsl:text>%</xsl:text>
</td>
<td>
<xsl:for-each select="../../allocations/allocation[@task-id = current()/@id]">
<xsl:for-each select="../../resources/resource[@id = current()/@resource-id]">
<xsl:value-of select="@name"/><br/>
</xsl:for-each>
</xsl:for-each>
</td>
<td>
<xsl:value-of select="notes"/>
</td>
</tr>
</xsl:for-each>
</table>
<br/>
<img alt="" src="project.jpg" />

<h2>Resources</h2>
<table border="1">
<colgroup>
<col/>
<col/>
<col/>
</colgroup>
<tr>
<th>Resource</th>
<th>Email</th>
<th>Phone</th>
</tr>
<xsl:for-each select="resources/resource">
<tr>
<td>
<xsl:value-of select="@name"/>
</td>
<td>
<xsl:value-of select="@contacts"/>
</td>
<td align="center">
<xsl:value-of select="@phone"/>
</td>
</tr>
</xsl:for-each>
</table>
</body>
</html>
</xsl:template>
</xsl:stylesheet>

Recommended links