reg2ll.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            encoding="UTF-8"
7            doctype-system="xkb.dtd"
8            indent="no"/>
9
10<xsl:template match="modelList|optionList|name|description|shortDescription|configItem"/>
11<xsl:strip-space elements="*"/>
12
13<xsl:template match="layoutList"><xsl:apply-templates select="./layout"/></xsl:template>
14
15<xsl:template match="variantList"><xsl:apply-templates select="./variant"/></xsl:template>
16
17<xsl:template match="layout"><xsl:text>
18</xsl:text><xsl:value-of select="./configItem/name"/>:"<xsl:value-of select="./configItem/description"/>"<xsl:apply-templates match="./variantList/variant"/></xsl:template>
19  
20<xsl:template match="variant"><xsl:text>
21</xsl:text><xsl:value-of select="../../configItem/name"/>(<xsl:value-of select="./configItem/name"/>):"<xsl:value-of select="./configItem/description"/>"</xsl:template>
22
23</xsl:stylesheet>
24