poi/tools/antipede/resources/stylesheets/status.xsl
2002-04-04 14:43:45 +00:00

52 lines
1.7 KiB
XML

<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method = "html" encoding="Windows-1252" />
<xsl:template match="status">
<h1>Project Status</h1>
<h2>Descriptors</h2>
<xsl:for-each select = "descriptors/descriptor">
<br/><xsl:value-of select="@id" />: <a><xsl:attribute name = "href" ><xsl:value-of select="@href" /></xsl:attribute>
<xsl:value-of select="." /></a>
</xsl:for-each>
<h2>Developers</h2>
<table>
<xsl:for-each select = "developers/person">
<tr><td><xsl:value-of select="@name" /></td>
<td><xsl:value-of select="@email" /></td>
<td>[<xsl:value-of select="@id" />]</td></tr>
</xsl:for-each>
</table>
<h2>To do</h2>
<xsl:for-each select = "todo/actions">
<h3><xsl:value-of select = "@priority"/>&#160;priority</h3>
<table>
<tr><th>context</th><th>what</th><th>assigned to</th></tr>
<xsl:for-each select = "action">
<tr><td><xsl:value-of select="@context" /></td>
<td><xsl:value-of select="." /></td>
<td>[<xsl:value-of select="@assigned-to" />]</td></tr>
</xsl:for-each>
</table>
</xsl:for-each>
<h2>Changes</h2>
<xsl:for-each select = "changes/release">
<h3>release&#160;<xsl:value-of select = "@version"/>&#160;
of date&#160;<xsl:value-of select = "@date"/></h3>
<table>
<tr><th>type</th><th>what</th><th>developer</th></tr>
<xsl:for-each select = "action">
<tr><td><xsl:value-of select="@type" /></td>
<td><xsl:value-of select="." /></td>
<td>[<xsl:value-of select="@dev" />]</td></tr>
</xsl:for-each>
</table>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>