Skip to content

Commit

Permalink
Add a section to the end showing which entities have mdui:UIInfo elem…
Browse files Browse the repository at this point in the history
…ents.
  • Loading branch information
iay committed Jul 13, 2011
1 parent 9abee64 commit 10e1bfb
Showing 1 changed file with 40 additions and 1 deletion.
41 changes: 40 additions & 1 deletion build/statistics.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@
<li><p><a href="#membersByScope">Members by Primary Scope</a></p></li>
<li><p><a href="#undeployedMembers">Members Lacking Deployment</a></p></li>
<li><p><a href="#shib13">Shibboleth 1.3 Remnants</a></p></li>
<li><p><a href="#mdui">Entities with mdui:UIInfo support</a></p></li>
</ul>


Expand Down Expand Up @@ -977,8 +978,46 @@
<xsl:call-template name="list.shibboleth.1.3.entities">
<xsl:with-param name="entities" select="$sps"/>
</xsl:call-template>


<!--
*************************************************
*** ***
*** m d u i : U I I n f o S U P P O R T ***
*** ***
*************************************************
-->

<h2><a name="mdui">Entities with mdui:UIInfo support</a></h2>
<xsl:variable name="uiInfoEntities" select="$entities[descendant::mdui:UIInfo]"/>
<xsl:variable name="uiInfoEntitiesCount" select="count($uiInfoEntities)"/>
<xsl:if test="$uiInfoEntitiesCount != 0">
<ul>
<xsl:for-each select="$uiInfoEntities">
<li>
<xsl:value-of select="@ID"/>
<xsl:text>: </xsl:text>
<xsl:if test="md:IDPSSODescriptor">
<xsl:text>[IdP] </xsl:text>
</xsl:if>
<xsl:if test="md:SPSSODescriptor">
<xsl:text>[SP] </xsl:text>
</xsl:if>
<xsl:choose>
<xsl:when test="descendant::mdui:DisplayName">
<xsl:value-of select="descendant::mdui:DisplayName"/>
</xsl:when>
<xsl:otherwise>
<xsl:text>(</xsl:text>
<xsl:value-of select="descendant::md:OrganizationDisplayName"/>
<xsl:text>)</xsl:text>
</xsl:otherwise>
</xsl:choose>
</li>
</xsl:for-each>
</ul>
</xsl:if>


</body>
</html>
</xsl:template>
Expand Down

0 comments on commit 10e1bfb

Please sign in to comment.