diff options
author | marha <marha@users.sourceforge.net> | 2012-11-19 10:16:38 +0100 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2012-11-19 10:16:38 +0100 |
commit | 3744281b9ae8aa0ab86ceaee1afe8a603e3aeb2c (patch) | |
tree | f59b9749730728729691a8a1efd54dce95f0177c /xorg-server/xkeyboard-config/tests/listCIs.xsl | |
parent | 8d57b7fcb22cf1a52203ee57c745b64bba649249 (diff) | |
download | vcxsrv-3744281b9ae8aa0ab86ceaee1afe8a603e3aeb2c.tar.gz vcxsrv-3744281b9ae8aa0ab86ceaee1afe8a603e3aeb2c.tar.bz2 vcxsrv-3744281b9ae8aa0ab86ceaee1afe8a603e3aeb2c.zip |
dos -> unix
Diffstat (limited to 'xorg-server/xkeyboard-config/tests/listCIs.xsl')
-rw-r--r-- | xorg-server/xkeyboard-config/tests/listCIs.xsl | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/xorg-server/xkeyboard-config/tests/listCIs.xsl b/xorg-server/xkeyboard-config/tests/listCIs.xsl index 87e5bd9de..09cf4d92a 100644 --- a/xorg-server/xkeyboard-config/tests/listCIs.xsl +++ b/xorg-server/xkeyboard-config/tests/listCIs.xsl @@ -1,20 +1,20 @@ -<?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:template match="xkbConfigRegistry">
- <xsl:apply-templates select=".//configItem[name(..) = $type]">
- <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>
+<?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:template match="xkbConfigRegistry"> + <xsl:apply-templates select=".//configItem[name(..) = $type]"> + <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> |