3 xmlns:
xsl=
"http://www.w3.org/1999/XSL/Transform" version=
"1.0">
5 <xsl:output method=
"html"/>
7 <xsl:variable name=
"hrefnode" select=
"/cruisecontrol/build/buildresults//task[@name='fit']/message[starts-with(text(), 'results')]"/>
8 <xsl:variable name=
"resultsnode" select=
"/cruisecontrol/build/buildresults//task[@name='fit']/message[contains(text(), 'fixtures run')]"/>
9 <xsl:variable name=
"ahref" select=
"substring-after($hrefnode, ':')"/>
11 <xsl:template match=
"/">
12 <xsl:if test=
"count($hrefnode) > 0">
13 <table cellpadding=
"2" cellspacing=
"0" border=
"0" width=
"98%">
15 <td class=
"sectionheader" colspan=
"2">
16 Acceptance Tests:
<xsl:value-of select=
"$resultsnode"/>
21 <td><a href=
"{$ahref}">test results
</a></td>