5 Purpose: Create email address lookup.
8 Copyright: (c) 2007 Mike Wetherell
9 Licence: wxWidgets licence
11 Usage: xsltproc -html tools/email.xsl http://svn.wxwidgets.org/users.cgi \
12 > config/include/wx-devs.xml
15 <xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
17 <xsl:param name="at"> -at- </xsl:param>
19 <xsl:output indent="yes"/>
21 <xsl:template match="/">
23 <xsl:apply-templates select="//table/tr"/>
27 <xsl:template match="tr">
28 <xsl:variable name="id" select="normalize-space(td[1])"/>
29 <xsl:variable name="email" select="normalize-space(td[3])"/>
31 <xsl:if test="$id and not(contains($id, ' ')) and contains($email, $at)">
33 <xsl:value-of select="$email"/>