Skip to content

Commit

Permalink
Enable listing of non-member relationships.
Browse files Browse the repository at this point in the history
  • Loading branch information
iay committed Aug 16, 2007
1 parent 418a36c commit c73a1d9
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion build/statistics.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,28 @@
<p>Gateways: <xsl:value-of select="$memberDualEntityCount"/></p>
</li>
</ul>

<h3>Additional Non-member Entity Owners</h3>
<p>
In addition, the UK federation operator maintains agreements with certain
other organisations so that metadata for entities belonging to those
organisations can be published within the UK federation metadata for the
benefit of UK federation members.
</p>
<p>Number of non-member relationships: <xsl:value-of select="$nonMemberCount"/></p>
<table border="1" cellspacing="2" cellpadding="4">
<tr>
<th align="left">Non-member agreement</th>
<th>Entities</th>
<th>IdPs</th>
<th>SPs</th>
</tr>
<xsl:apply-templates select="$nonMembers" mode="count">
<xsl:with-param name="entities" select="$entities"/>
</xsl:apply-templates>
</table>


<h2><a name="entities">Entity Statistics</a></h2>
<p>Total entities: <xsl:value-of select="$entityCount"/>. This breaks down into:</p>
<ul>
Expand Down Expand Up @@ -661,7 +682,7 @@
</html>
</xsl:template>

<xsl:template match="members:Member" mode="count">
<xsl:template match="members:Member|members:NonMember" mode="count">
<xsl:param name="entities"/>
<xsl:variable name="myName" select="string(md:OrganizationName)"/>
<xsl:variable name="matched" select="$entities[md:Organization/md:OrganizationName = $myName]"/>
Expand Down

0 comments on commit c73a1d9

Please sign in to comment.