summaryrefslogtreecommitdiff
path: root/tests/listCI2.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/listCI2.xsl')
-rw-r--r--tests/listCI2.xsl11
1 files changed, 8 insertions, 3 deletions
diff --git a/tests/listCI2.xsl b/tests/listCI2.xsl
index 3dd48d7..484d9dd 100644
--- a/tests/listCI2.xsl
+++ b/tests/listCI2.xsl
@@ -7,10 +7,15 @@
<xsl:param name="type"/>
<xsl:param name="parentId"/>
+ <xsl:template match="xkbConfigRegistry">
+ <xsl:apply-templates select=".//configItem[(name(..) = $type) and (../../../configItem/name = $parentId or ../../configItem/name = $parentId )]">
+ <xsl:sort select="name"/>
+ </xsl:apply-templates>
+ </xsl:template>
+
<xsl:template match="configItem">
- <xsl:if test="name(..) = $type and ( ../../../configItem/name = $parentId or ../../configItem/name = $parentId )">
- <xsl:value-of select="./name"/>
- </xsl:if>
+ <xsl:value-of select="./name"/><xsl:text>
+</xsl:text>
</xsl:template>
</xsl:stylesheet>