<?xml version="1.0"?>

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" xmlns:xhtml="http://www.w3.org/1999/xhtml" version="1.0">
    
    <xsl:output method="xml" indent="yes"/>

    <xsl:template match="people">
        <html>
            <head>
                <title>io - community - irc</title>
                <link rel="stylesheet" href="/site.css"/>
                <meta http-equiv="EXPIRES" content="0"/>
            </head>
        <body>
            <ul>
                <br/>
                <a href="/"><span class="selectedMenu">io</span></a>
                <br/><br/>
                <a href="/about"><span class="unselectedMenu">about</span></a>
                <span class="divider">|</span>
                <a href="/blog"><span class="unselectedMenu">blog</span></a>
                <span class="divider">|</span>
                <a href="/community"><span class="selectedMenu">community</span></a>
                <span class="divider">|</span>
                <a href="/docs"><span class="unselectedMenu">docs</span></a>
                <span class="divider">|</span>
                <a href="/downloads"><span class="unselectedMenu">downloads</span></a>
                <span class="divider">|</span>
                <a href="/issues"><span class="unselectedMenu">issues</span></a>
                <br/><br/>
                <a href="/community/irc"><span class="selectedMenu">irc</span></a>
            </ul>

            <table cellpadding="0" cellspacing="0" width="100%" border="0">
                <tr>
                    <td colspan="5"><img src="/Images/grayDot.png" height="1" width="100%"/></td>
                </tr>
            </table>
            
            <a href="/menu.cgi?action=edit&amp;path=community/irc"><font color="white">edit</font></a>

            <table cellpadding="0" cellspacing="12" border="0">
            <tr>
                <td valign="top" align="right" width="100">
                    <b>channel </b>
                </td>
                <td>
                    <a href="irc://irc.freenode.net/io">irc.freenode.net#io</a> - discussion of the Io programming language
                </td>
            </tr>

            <tr>
            <td valign="top" align="right" width="100">
            <b> paste </b>
            </td>
            <td>
                <a href="http://www.iolanguage.com/paste/">simple paste</a><br/>
                <a href="http://pipapo.org/iowiki/PasteBin">wiki paste</a>
            </td>
            </tr>


            <tr>
            <td valign="top" align="right" width="100">
            <b>folks</b>
            </td>
            <td>
            <table cellpadding="0" cellspacing="3" border="0">
            <tr>
            <td width="90"><b>handle</b></td>
            <td width="150"><b>name</b></td>
            <td width="160"><b>location</b></td>
            <td width="110"><b>background</b></td>
            <td><b>work</b></td>
            </tr>

            <tr>
                <td colspan="5"><img src="/Images/grayDot.png" height="1" width="100%"/></td>
            </tr>

            <xsl:for-each select="person">
                <xsl:sort select="nick"/>
                <tr>
                    <td>
                        <xsl:choose>
                            <xsl:when test="nick">
                                <xsl:value-of select="nick"/>
                            </xsl:when>
                            <xsl:otherwise>
                                <i>no nick</i>
                            </xsl:otherwise>
                        </xsl:choose>
                    </td>
                    <td>
                        <xsl:choose>
                            <xsl:when test="homepage">
                                <a href="{homepage}">
                                    <xsl:value-of select="name"/>
                                </a>
                            </xsl:when>
                            <xsl:otherwise>
                                <xsl:value-of select="name"/>
                            </xsl:otherwise>
                        </xsl:choose>
                    </td>
                    <td>
                        <xsl:value-of select="location"/>
                    </td>
                    <td>
                        <xsl:for-each select="language">
                            <xsl:if test="position() != 1">
                                <xsl:text>, </xsl:text>
                            </xsl:if>
                            <xsl:value-of select="."/>
                        </xsl:for-each>
                    </td>
                    <td>
                        <xsl:copy-of select="work/child::node()"/>
                    </td>
                </tr>
            </xsl:for-each>
            </table>

            <br/><br/>
            Please enter yourself in the <a href="http://www.frappr.com/iolanguage">map</a>.

            </td>
            </tr>
            </table>
        </body>
        </html>
    </xsl:template>
</xsl:stylesheet>
