Annotation of mandoc/ChangeLog.xsl, Revision 1.2
1.2 ! kristaps 1: <?xml version='1.0' encoding="utf-8"?>
1.1 kristaps 2: <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" >
1.2 ! kristaps 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="style.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> — Rev: </xsl:text>
! 27: <xsl:value-of select="revision"/>
! 28: <xsl:text>, Status: </xsl:text>
! 29: <xsl:value-of select="cvsstate"/>
! 30: </span>
! 31: </li>
! 32: </xsl:for-each>
! 33: </ul>
! 34: </div>
! 35: </xsl:for-each>
! 36: </body>
! 37: </html>
! 38: </xsl:template>
1.1 kristaps 39: </xsl:stylesheet>
CVSweb