]> git.saurik.com Git - wxWidgets.git/blob - build/buildbot/tools/email.xsl
Add more checks for Intel compiler.
[wxWidgets.git] / build / buildbot / tools / email.xsl
1 <?xml version="1.0"?>
2
3 <!--
4 Name: email.xsl
5 Purpose: Create email address lookup.
6 Author: Mike Wetherell
7 Copyright: (c) 2007 Mike Wetherell
8 Licence: wxWindows licence
9
10 Usage: xsltproc -html tools/email.xsl http://svn.wxwidgets.org/users.cgi \
11 > config/include/wx-devs.xml
12 -->
13
14 <xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
15
16 <xsl:param name="at"> -at- </xsl:param>
17
18 <xsl:output indent="yes"/>
19
20 <xsl:template match="/">
21 <emaillookup>
22 <xsl:apply-templates select="//table/tr">
23 <xsl:sort select="normalize-space(td[1])"/>
24 </xsl:apply-templates>
25 </emaillookup>
26 </xsl:template>
27
28 <xsl:template match="tr">
29 <xsl:variable name="id" select="normalize-space(td[1])"/>
30 <xsl:variable name="email" select="normalize-space(td[3])"/>
31
32 <xsl:if test="$id and not(contains($id, ' ')) and contains($email, $at)">
33 <email id="{$id}">
34 <xsl:value-of select="$email"/>
35 </email>
36 </xsl:if>
37 </xsl:template>
38
39 </xsl:transform>