diff options
author | marha <marha@users.sourceforge.net> | 2010-08-02 09:00:24 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2010-08-02 09:00:24 +0000 |
commit | 240baf59a219841c5f8942c82f7ed61da9d2323b (patch) | |
tree | 76937e127002c1ba58c5a379651f20a17e866627 /xorg-server/xkeyboard-config/tests/listCI2.xsl | |
parent | 6c5a4ae0c8e57225ce31fb0a39c87ec9a5eed2b5 (diff) | |
parent | d2758df0a0091496717fe7a65c3e7563e7c82785 (diff) | |
download | vcxsrv-240baf59a219841c5f8942c82f7ed61da9d2323b.tar.gz vcxsrv-240baf59a219841c5f8942c82f7ed61da9d2323b.tar.bz2 vcxsrv-240baf59a219841c5f8942c82f7ed61da9d2323b.zip |
svn merge ^/branches/released .
Diffstat (limited to 'xorg-server/xkeyboard-config/tests/listCI2.xsl')
-rw-r--r-- | xorg-server/xkeyboard-config/tests/listCI2.xsl | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/xorg-server/xkeyboard-config/tests/listCI2.xsl b/xorg-server/xkeyboard-config/tests/listCI2.xsl new file mode 100644 index 000000000..09ee37abb --- /dev/null +++ b/xorg-server/xkeyboard-config/tests/listCI2.xsl @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ >
+<xsl:output method="text"/>
+
+ <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:value-of select="./name"/><xsl:text>
+</xsl:text>
+ </xsl:template>
+
+</xsl:stylesheet>
|