| <?xml version="1.0"?> |
| |
| <xsl:stylesheet |
| xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
| version="1.0"> |
| |
| <xsl:import href="copyover.xsl"/> |
| |
| <xsl:template match="/"> |
| <xsl:apply-templates select="//todo"/> |
| </xsl:template> |
| |
| <xsl:template match="todo"> |
| <document> |
| <header> |
| <title>Things to do</title> |
| </header> |
| <body> |
| <xsl:apply-templates/> |
| </body> |
| </document> |
| </xsl:template> |
| |
| <xsl:template match="actions"> |
| <s2 title="{@priority}"> |
| <sl> |
| <xsl:for-each select="action"> |
| <li> |
| <strong><xsl:text>[</xsl:text><xsl:value-of select="@context"/><xsl:text>]</xsl:text></strong><xsl:text> </xsl:text> |
| <xsl:apply-templates/> |
| </li> |
| </xsl:for-each> |
| </sl> |
| </s2> |
| </xsl:template> |
| |
| <xsl:template match="developers|changes"> |
| <!-- ignore --> |
| </xsl:template> |
| |
| </xsl:stylesheet> |