diff options
author | svu <svu> | 2006-10-09 20:41:33 +0000 |
---|---|---|
committer | svu <svu> | 2006-10-09 20:41:33 +0000 |
commit | bedcf4e1511639c314800fbd87486d7eb1bd4149 (patch) | |
tree | a29442b45613389dbfb02f0174d58f4bbd27a330 /tests/listCIs.xsl | |
parent | 21cf640fe5f2269439d2c140dff2df691922570d (diff) | |
download | xkeyboard-config-bedcf4e1511639c314800fbd87486d7eb1bd4149.tar.gz |
a bit of cleanup in tests
Diffstat (limited to 'tests/listCIs.xsl')
-rw-r--r-- | tests/listCIs.xsl | 13 |
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> |