forked from ccnet/CruiseControl.NET
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDocumentation-Display.xslt
More file actions
49 lines (48 loc) · 1.24 KB
/
Copy pathDocumentation-Display.xslt
File metadata and controls
49 lines (48 loc) · 1.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" exclude-result-prefixes="msxsl">
<xsl:output method="html" indent="yes"/>
<xsl:template match="/">
<style type="text/css">
.doc-Info
{
color: #000000;
}
.doc-Debug
{
color: #666666;
font-style: italic;
}
.doc-Warning
{
color: #FF6600;
}
.doc-Error
{
color: #FF3333;
font-weight: bold;
}
.header
{
border-bottom: solid 1px #888888;
}
.footer
{
margin-bottom: 1em;
}
</style>
<h3>Documentation Generation</h3>
<xsl:for-each select="//docGen">
<div class="header">
<b>Type: </b>
<xsl:value-of select="@command"/>
</div>
<xsl:for-each select="message">
<div>
<xsl:attribute name="class">doc-<xsl:value-of select="@type"/></xsl:attribute>
<xsl:value-of select="@time"/>: <xsl:value-of select="."/>
</div>
</xsl:for-each>
<div class="footer"></div>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>