87b8e10390
xmlproperty task in Ant :-) git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352466 13f79535-47bb-0310-9956-ffa450edef68
47 lines
1.5 KiB
XML
47 lines
1.5 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>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"/> 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 <xsl:value-of select = "@version"/> 
|
|
of date <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> |