1 <?xml version=
"1.0" encoding=
"UTF-8"?>
3 <!-- simple XSL transformation to create a text version from authors.xml -->
5 <xsl:stylesheet version=
"1.0"
6 xmlns:
xsl=
"http://www.w3.org/1999/XSL/Transform"
7 xmlns:
dc=
"http://purl.org/dc/elements/1.1/">
9 <xsl:output method=
"text" />
10 <xsl:param name=
"today" />
12 <xsl:template name=
"contributor">
13 <xsl:param name=
"role" />
14 <xsl:apply-templates select=
"dc:contributor[contains(@role, $role)]" />
17 <xsl:template match=
"/dc:gimp-authors">
18 <xsl:text>Title: Authors: The People That Made it Happen
19 Date:
</xsl:text><xsl:value-of select=
"$today"/><xsl:text>
20 Modified:
</xsl:text><xsl:value-of select=
"$today"/><xsl:text>
21 Author: generated from authors.xml.
23 ## GIMP was originally written by:
26 <xsl:apply-templates select=
"dc:creator" />
28 ## The current maintainers are:
31 <xsl:apply-templates select=
"dc:maintainer" />
33 ## The following people have contributed code to GIMP:
35 *Contributing patches, fixes, plugins, extensions, scripts and other [improvements to the code](/develop/).*
38 <xsl:call-template name=
"contributor">
39 <xsl:with-param name=
"role" select=
"'author'"/>
43 ## The following people have contributed art to GIMP:
45 *Contributing icons, cursors, brushes, gradients, patterns, etc.*
48 <xsl:call-template name=
"contributor">
49 <xsl:with-param name=
"role" select=
"'artist'"/>
53 ## The following people have helped to document GIMP:
55 *Contributing [documentation](/docs/).*
58 <xsl:call-template name=
"contributor">
59 <xsl:with-param name=
"role" select=
"'documenter'"/>
64 <xsl:template match=
"dc:creator">
65 <xsl:text>*
</xsl:text><xsl:apply-templates /><xsl:text>
69 <xsl:template match=
"dc:maintainer">
70 <xsl:text>*
</xsl:text><xsl:apply-templates /><xsl:text>
74 <xsl:template match=
"dc:contributor">
75 <xsl:text>*
</xsl:text><xsl:apply-templates /><xsl:text>