Better approach for the "multiple countries" problem.

svn path=/trunk/; revision=6398
This commit is contained in:
2006-04-13 11:30:41 +00:00
parent 43df850fb7
commit c9b6b8d9d5
2 changed files with 53 additions and 27 deletions

View File

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