listCI2.xsl revision 46185892
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 <xsl:param name="parentId"/> 9 10 <xsl:template match="xkbConfigRegistry"> 11 <xsl:apply-templates select=".//configItem[(name(..) = $type) and (../../../configItem/name = $parentId or ../../configItem/name = $parentId )]"> 12 <xsl:sort select="name"/> 13 </xsl:apply-templates> 14 </xsl:template> 15 16 <xsl:template match="configItem"> 17 <xsl:value-of select="./name"/><xsl:text> 18</xsl:text> 19 </xsl:template> 20 21</xsl:stylesheet> 22