0
|
1 |
<xsl:stylesheet
|
|
2 |
version="1.0"
|
|
3 |
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
4 |
xmlns:m="http://www.w3.org/2005/02/query-test-XQTSResult">
|
|
5 |
|
|
6 |
<!-- Simply outputs a list of what test cases that failed. -->
|
|
7 |
|
|
8 |
<xsl:output method="text"/>
|
|
9 |
|
|
10 |
<xsl:template match="/">
|
|
11 |
<xsl:text>Failures: </xsl:text>
|
|
12 |
<xsl:apply-templates select="m:test-suite-result/m:test-case">
|
|
13 |
<xsl:sort select="@name"/>
|
|
14 |
</xsl:apply-templates>
|
|
15 |
</xsl:template>
|
|
16 |
|
|
17 |
<xsl:template match="m:test-case[@result = 'fail']">
|
|
18 |
<xsl:text> </xsl:text>
|
|
19 |
<xsl:value-of select="@name"/>
|
|
20 |
<xsl:text> </xsl:text>
|
|
21 |
</xsl:template>
|
|
22 |
|
|
23 |
</xsl:stylesheet>
|
|
24 |
<!-- vim: et:ts=4:sw=4:sts=4
|
|
25 |
-->
|