File: authors.xsl

package info (click to toggle)
gimp 2.2.13-1etch4
  • links: PTS
  • area: main
  • in suites: etch
  • size: 94,832 kB
  • ctags: 47,113
  • sloc: ansic: 524,858; xml: 36,798; lisp: 9,870; sh: 9,409; makefile: 7,923; python: 2,674; perl: 2,589; yacc: 520; lex: 334
file content (27 lines) | stat: -rw-r--r-- 671 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?xml version="1.0" encoding="UTF-8"?>

<!--  simple XSL transformation to create a header file from authors.xml  -->

<xsl:stylesheet version="1.0"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

  <xsl:output method="text" />
  <xsl:template match="/gimp-authors">
<xsl:text>
/* NOTE: This file is autogenerated from authors.xml, do not edit it. */

/*
 * The main authors are Spencer Kimball and Peter Mattis.
 */

static const gchar *authors[] =
{
</xsl:text><xsl:apply-templates select="contributor" /><xsl:text>
};
</xsl:text>
  </xsl:template>

  <xsl:template match="contributor">  "<xsl:apply-templates />",
</xsl:template>

</xsl:stylesheet>