Skip to content

Commit

Permalink
Add statistics for RequestedAttribute. Show export SPs with or withou…
Browse files Browse the repository at this point in the history
…t RequestedAttribute.
  • Loading branch information
iay committed Jan 27, 2012
1 parent bb27534 commit a70aa83
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions mdx/uk/statistics.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -775,6 +775,17 @@
</li>
</xsl:if>

<xsl:variable name="sp.rqa" select="$sps[descendant::md:RequestedAttribute]"/>
<xsl:variable name="sp.rqa.count" select="count($sp.rqa)"/>
<xsl:if test="$sp.rqa.count != 0">
<li>
<p>
Includes <code>RequestedAttribute</code> elements: <xsl:value-of select="$sp.rqa.count"/>
(<xsl:value-of select="format-number($sp.rqa.count div $spCount ,'0.0%')"/>).
</p>
</li>
</xsl:if>

</ul>

<p>SSO protocol support:</p>
Expand Down Expand Up @@ -1093,6 +1104,14 @@
</xsl:if>
<xsl:if test="md:SPSSODescriptor">
<xsl:text>[SP] </xsl:text>
<xsl:choose>
<xsl:when test="descendant::md:RequestedAttribute">
<xsl:text>[RqA] </xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:text>[!RqA] </xsl:text>
</xsl:otherwise>
</xsl:choose>
</xsl:if>
<xsl:choose>
<xsl:when test="descendant::mdui:DisplayName">
Expand Down

0 comments on commit a70aa83

Please sign in to comment.