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" />
11 <xsl:template name=
"contributor">
12 <xsl:param name=
"role" />
13 <xsl:apply-templates select=
"dc:contributor[contains(@role, $role)]" />
16 <xsl:template match=
"/dc:gimp-authors">
17 <xsl:text> -- This file is generated from authors.xml, do not edit it directly. --
19 GIMP was originally written by:
22 <xsl:apply-templates select=
"dc:creator" />
25 The current maintainers are:
28 <xsl:apply-templates select=
"dc:maintainer" />
31 The following people have contributed code to GIMP:
34 <xsl:call-template name=
"contributor">
35 <xsl:with-param name=
"role" select=
"'author'"/>
39 The following people have contributed art to GIMP:
42 <xsl:call-template name=
"contributor">
43 <xsl:with-param name=
"role" select=
"'artist'"/>
47 The following people have helped to document GIMP:
50 <xsl:call-template name=
"contributor">
51 <xsl:with-param name=
"role" select=
"'documenter'"/>
56 <xsl:template match=
"dc:creator">
57 <xsl:text> </xsl:text><xsl:apply-templates /><xsl:text>
61 <xsl:template match=
"dc:maintainer">
62 <xsl:text> </xsl:text><xsl:apply-templates /><xsl:text>
66 <xsl:template match=
"dc:contributor">
67 <xsl:text> </xsl:text><xsl:apply-templates /><xsl:text>