[BACK]Return to ChangeLog.xsl CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

File: [cvsweb.bsd.lv] / mandoc / Attic / ChangeLog.xsl (download)

Revision 1.4, Mon Sep 21 15:12:03 2009 UTC (12 years ago) by kristaps
Branch: MAIN
CVS Tags: VERSION_1_9_9, VERSION_1_9_8, VERSION_1_9_7, VERSION_1_9_6, VERSION_1_9_5, VERSION_1_9_25, VERSION_1_9_24, VERSION_1_9_23, VERSION_1_9_22, VERSION_1_9_21, VERSION_1_9_20, VERSION_1_9_19, VERSION_1_9_18, VERSION_1_9_17, VERSION_1_9_16, VERSION_1_9_15-pre2, VERSION_1_9_15-pre1, VERSION_1_9_15, VERSION_1_9_14, VERSION_1_9_13, VERSION_1_9_12, VERSION_1_9_11, VERSION_1_9_10, VERSION_1_10_9, VERSION_1_10_8, VERSION_1_10_7, VERSION_1_10_6, VERSION_1_10_5_PREPDF, VERSION_1_10_5, VERSION_1_10_4, VERSION_1_10_3, VERSION_1_10_2, VERSION_1_10_10, VERSION_1_10_1
Changes since 1.3: +1 -1 lines

Wrong stylesheet in xsl.

<?xml version='1.0' encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" >
<xsl:output encoding="utf-8" method="html" indent="yes" doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN" />
<xsl:template match="/changelog">
<html>
	<head>
		<title>mdocml - CVS-ChangeLog</title>
		<link rel="stylesheet" href="index.css" type="text/css" media="all" />
	</head>
	<body>
				<xsl:for-each select="entry">
					<div class="clhead">
						<xsl:text>Files modified by </xsl:text>
						<xsl:value-of select="concat(author, ': ', date, ' (', time, ')')" />
					</div>
					<div class="clbody">
						<strong>
							<xsl:text>Note: </xsl:text>
						</strong>
						<xsl:value-of select="msg"/>
						<ul class="clbody">
							<xsl:for-each select="file">
								<li>
									<xsl:value-of select="name"/>
									<span class="rev">
										<xsl:text> &#8212; Rev: </xsl:text>
										<xsl:value-of select="revision"/>
										<xsl:text>, Status: </xsl:text>
										<xsl:value-of select="cvsstate"/>
										<xsl:if test="tag">
											<xsl:text>, Tag: </xsl:text>
											<xsl:value-of select="tag" />
										</xsl:if>
									</span>
								</li>
							</xsl:for-each>
						</ul>
					</div>
				</xsl:for-each>
	</body>
</html>
</xsl:template>
</xsl:stylesheet>