3 Copyright (C) 2002 Stanislav Sinyagin
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
20 Stanislav Sinyagin <ssinyagin@yahoo.com>
22 XSLT Template to transform Torrus configuration into a skeleton of
23 subtrees and leaves only.
27 <xsl:transform version=
"1.0" xmlns:
xsl=
"http://www.w3.org/1999/XSL/Transform">
29 <xsl:output method=
"xml" encoding=
"UTF-8" indent=
"yes" />
30 <xsl:strip-space elements=
"*" />
32 <xsl:template match=
"/configuration">
35 This file is a result of extract-skeleton.xsl template
39 <xsl:apply-templates />
44 <xsl:template match=
"creator-info">
46 <xsl:value-of select=
"." />
53 <xsl:template match=
"datasources">
55 <xsl:apply-templates />
62 <xsl:template match=
"subtree">
65 <subtree name=
"{@name}">
66 <xsl:text> </xsl:text>
67 <xsl:apply-templates />
74 <xsl:template match=
"leaf">
78 <xsl:text> </xsl:text>
79 <xsl:apply-templates />