summaryrefslogtreecommitdiff
path: root/tests/listCIs.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/listCIs.xsl')
-rw-r--r--tests/listCIs.xsl13
1 files changed, 9 insertions, 4 deletions
diff --git a/tests/listCIs.xsl b/tests/listCIs.xsl
index 0d2cd97..09cf4d9 100644
--- a/tests/listCIs.xsl
+++ b/tests/listCIs.xsl
@@ -5,11 +5,16 @@
<xsl:output method="text"/>
<xsl:param name="type"/>
-
+
+ <xsl:template match="xkbConfigRegistry">
+ <xsl:apply-templates select=".//configItem[name(..) = $type]">
+ <xsl:sort select="name"/>
+ </xsl:apply-templates>
+ </xsl:template>
+
<xsl:template match="configItem">
- <xsl:if test="name(..) = $type">
- <xsl:value-of select="./name"/>
- </xsl:if>
+ <xsl:value-of select="./name"/><xsl:text>
+</xsl:text>
</xsl:template>
</xsl:stylesheet>