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 <!-- template "lang.split" -->
10 <xsl:import href=
"authors_common.xsl" />
12 <xsl:output method=
"text" />
14 <xsl:template match=
"/dc:gimp-authors">
15 <xsl:text>This file is generated from authors.xml, do not edit it directly.
21 <xsl:apply-templates select=
"//dc:creator" />
25 Contributors in the past
26 ========================
31 <xsl:apply-templates select=
"//dc:contributor[contains(@role, 'documenter')]" />
37 <xsl:apply-templates select=
"//dc:contributor[contains(@role, 'artist')]" />
40 Buildsystem, Technical Contributions
41 ------------------------------------
43 <xsl:apply-templates select=
"//dc:contributor[contains(@role, 'technican')]">
44 <xsl:with-param name=
"print_language" select=
"0" />
45 </xsl:apply-templates>
51 <!-- Print creator/contributor and (optionally) his/her languages -->
52 <xsl:template match=
"//dc:creator | //dc:contributor">
53 <xsl:param name=
"print_language">1</xsl:param>
54 <xsl:value-of select=
"."/>
55 <xsl:if test=
"@lang != '' and $print_language != 0">
56 <xsl:text> (
</xsl:text>
57 <xsl:call-template name=
"lang.split">
58 <xsl:with-param name=
"lang" select=
"@lang" />
60 <xsl:text>)
</xsl:text>