blob: 3de033d7cbe3b3c3859a7bc48fa386ce8d5fa1aa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:str="http://exslt.org/strings"
exclude-result-prefixes="str">
<xsl:output indent="yes"/>
<xsl:template match="test-cases">
<test-results>
<xsl:apply-templates select="test-case"/>
</test-results>
</xsl:template>
<xsl:template match="test-case">
<test-result>
<xsl:value-of select="str:align(@string, @padding, @alignment)"/>
</test-result>
</xsl:template>
</xsl:stylesheet>
|