I’ve been using “Gantt Project” www.ganttproject.org and find it quite good. However, presenting the end result is not so great. Therefore I’ve started to create a xslt transform on the xml “gan” file.
I’m including it here so that others can use and improve it:
<?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=”/“>
<html>
<head>
<title>
<xsl:value-of select=”project/description“/>
</title>
<style type=”text/css“>
/* <![CDATA[ */
@import "/branding/css/tigris.css";
@import "/branding/css/inst.css";
/* ]]> */
</style>
</head>
<body>
<h1>Milestone Project Plan</h1>
<h2>
<xsl:value-of select=”project/description“/>
</h2>
<table border=”1“>
<colgroup>
<col width=”5%“/>
<col/>
<col width=”10%“/>
<col width=”10%“/>
<col width=”10%“/>
</colgroup>
<tr>
<th>Priority</th>
<th>Task</th>
<th>Start</th>
<th>Duration</th>
<th>% Complete</th>
</tr>
<xsl:for-each select=”project/tasks/task“>
<tr>
<td>
<xsl:value-of select=”@priority“/>
</td>
<td>
<xsl:value-of select=”@name“/>
</td>
<td>
<xsl:value-of select=”@start“/>
</td>
<td>
<xsl:value-of select=”@duration“/>
</td>
<td>
<xsl:value-of select=”@complete“/>
</td>
</tr>
</xsl:for-each>
</table>
</body>
</html>
</xsl:template>
</xsl:stylesheet>