1<?xml version="1.0" encoding="UTF-8"?>
2<xsl:stylesheet version="1.0" 
3  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
4  >
5<xsl:output method="text"/>
6
7  <xsl:param name="type"/>
8
9  <xsl:template match="xkbConfigRegistry">
10    <xsl:apply-templates select=".//configItem[name(..) = $type]">
11      <xsl:sort select="name"/>
12    </xsl:apply-templates>
13  </xsl:template>
14
15  <xsl:template match="configItem">
16    <xsl:value-of select="./name"/><xsl:text>
17</xsl:text>
18  </xsl:template>
19
20</xsl:stylesheet>
21