]>
Commit | Line | Data |
---|---|---|
eb6a42c9 GB |
1 | <?xml version="1.0" encoding="utf-8"?> |
2 | <!-- | |
3 | * viking - GPS Data and Topo Analyzer, Explorer, and Manager | |
4 | * | |
5 | * Copyright (C) 2010, Guilhem Bonnefille <guilhem.bonnefille@gmail.com> | |
6 | * | |
7 | * This program is free software; you can redistribute it and/or modify | |
8 | * it under the terms of the GNU General Public License as published by | |
9 | * the Free Software Foundation; either version 2 of the License, or | |
10 | * (at your option) any later version. | |
11 | * | |
12 | * This program is distributed in the hope that it will be useful, | |
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 | * GNU General Public License for more details. | |
16 | * | |
17 | * You should have received a copy of the GNU General Public License | |
18 | * along with this program; if not, write to the Free Software | |
19 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
20 | --> | |
21 | <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:h="http://www.w3.org/1999/xhtml"> | |
22 | ||
23 | <xsl:output method="text"/> | |
24 | ||
25 | <xsl:template match="/"> | |
26 | <xsl:text>/* Generated file. */ | |
27 | const gchar *DOCUMENTERS[] = {\ | |
28 | </xsl:text> | |
29 | <xsl:for-each select="//author"> | |
30 | <xsl:text>"</xsl:text> | |
31 | <xsl:value-of select="firstname"/> | |
32 | <xsl:text> </xsl:text> | |
33 | <xsl:value-of select="surname"/> | |
34 | <xsl:text>",\ | |
35 | </xsl:text> | |
36 | </xsl:for-each> | |
37 | <xsl:text>NULL}; | |
38 | </xsl:text> | |
39 | </xsl:template> | |
40 | ||
41 | </xsl:stylesheet> |