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