Better approach for the "multiple countries" problem.
svn path=/trunk/; revision=6398
This commit is contained in:
@@ -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>
|
||||
|
Reference in New Issue
Block a user