Import mdocml-1.10.9
[dragonfly.git] / contrib / mdocml / ChangeLog.xsl
1 <?xml version='1.0' encoding="utf-8"?>
2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" >
3 <xsl:output encoding="utf-8" method="html" indent="yes" doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN" />
4 <xsl:template match="/changelog">
5 <html>
6         <head>
7                 <title>mdocml - CVS-ChangeLog</title>
8                 <link rel="stylesheet" href="index.css" type="text/css" media="all" />
9         </head>
10         <body>
11                                 <xsl:for-each select="entry">
12                                         <div class="clhead">
13                                                 <xsl:text>Files modified by </xsl:text>
14                                                 <xsl:value-of select="concat(author, ': ', date, ' (', time, ')')" />
15                                         </div>
16                                         <div class="clbody">
17                                                 <strong>
18                                                         <xsl:text>Note: </xsl:text>
19                                                 </strong>
20                                                 <xsl:value-of select="msg"/>
21                                                 <ul class="clbody">
22                                                         <xsl:for-each select="file">
23                                                                 <li>
24                                                                         <xsl:value-of select="name"/>
25                                                                         <span class="rev">
26                                                                                 <xsl:text> &#8212; Rev: </xsl:text>
27                                                                                 <xsl:value-of select="revision"/>
28                                                                                 <xsl:text>, Status: </xsl:text>
29                                                                                 <xsl:value-of select="cvsstate"/>
30                                                                                 <xsl:if test="tag">
31                                                                                         <xsl:text>, Tag: </xsl:text>
32                                                                                         <xsl:value-of select="tag" />
33                                                                                 </xsl:if>
34                                                                         </span>
35                                                                 </li>
36                                                         </xsl:for-each>
37                                                 </ul>
38                                         </div>
39                                 </xsl:for-each>
40         </body>
41 </html>
42 </xsl:template>
43 </xsl:stylesheet>