Allow for more than one country per person.

svn path=/trunk/; revision=6386
This commit is contained in:
2006-04-12 20:29:37 +00:00
parent a6facfd88c
commit dc46b9a4f5
2 changed files with 3 additions and 3 deletions

View File

@@ -109,7 +109,7 @@
<link>http://www.fsfe.org/en/fellows/patrick</link> <link>http://www.fsfe.org/en/fellows/patrick</link>
</person> </person>
<person id="oriordan" country="BE"> <person id="oriordan" country="BE,IE">
<name>Ciar<EFBFBD>n O'Riordan</name> <name>Ciar<EFBFBD>n O'Riordan</name>
<email>oriordan (at) fsfeurope (dot) org</email> <email>oriordan (at) fsfeurope (dot) org</email>
<link>/about/oriordan/oriordan.html</link> <link>/about/oriordan/oriordan.html</link>

View File

@@ -53,10 +53,10 @@
<!-- Core team members --> <!-- Core team members -->
<xsl:element name="p"> <xsl:element name="p">
<xsl:choose> <xsl:choose>
<xsl:when test="count(/html/set/person[@country=$country])>0"> <xsl:when test="count(/html/set/person[contains(@country,$country)])>0">
<xsl:value-of select="/html/text[@id='members']" /> <xsl:value-of select="/html/text[@id='members']" />
<xsl:text> </xsl:text> <xsl:text> </xsl:text>
<xsl:for-each select="/html/set/person[@country=$country]"> <xsl:for-each select="/html/set/person[contains(@country,$country)]">
<xsl:if test="position()!=1"> <xsl:if test="position()!=1">
<xsl:text>, </xsl:text> <xsl:text>, </xsl:text>
</xsl:if> </xsl:if>