]> git.saurik.com Git - wxWidgets.git/blame - build/buildbot/tools/email.xsl
Correct making the newly inserted menu item owner drawn in some cases.
[wxWidgets.git] / build / buildbot / tools / email.xsl
CommitLineData
42d93b83
MW
1<?xml version="1.0"?>
2
3<!--
4 Name: email.xsl
5 Purpose: Create email address lookup.
6 Author: Mike Wetherell
42d93b83 7 Copyright: (c) 2007 Mike Wetherell
526954c5 8 Licence: wxWindows licence
42d93b83
MW
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>
0c2d0fcf
MW
22 <xsl:apply-templates select="//table/tr">
23 <xsl:sort select="normalize-space(td[1])"/>
24 </xsl:apply-templates>
42d93b83
MW
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>