My favorites | Sign in
Project Home Downloads Wiki Issues Source
Checkout   Browse   Changes    
 
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
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="html"/>

<xsl:template match="/">
<xsl:variable name="iisrecords" select="/cruisecontrol/build/ROOT" />
<xsl:apply-templates select="$iisrecords" />
</xsl:template>

<xsl:template match="ROOT">
<xsl:apply-templates />
</xsl:template>

<xsl:template match="ROW">

<xsl:choose>
<xsl:when test="sc-status = 403 or sc-status = 404">
<p style="color:red">
<xsl:value-of select="time"/> : <xsl:value-of select="sc-status"/> : <xsl:value-of select="cs-uri-stem"/>
</p>
</xsl:when>
<xsl:otherwise>
<p style="color:green">
<xsl:value-of select="time"/> : <xsl:value-of select="sc-status"/> : <xsl:value-of select="cs-uri-stem"/>
</p>
</xsl:otherwise>
</xsl:choose>


</xsl:template>

</xsl:stylesheet>

Change log

r44 by slmoloch on Jan 4, 2010   Diff
- xsl to show iis logs in ccnet report was
added.
Go to: 
Project members, sign in to write a code review

Older revisions

All revisions of this file

File info

Size: 966 bytes, 32 lines
Powered by Google Project Hosting