diff options
author | Leif Johansson <leifj@sunet.se> | 2010-11-18 18:58:50 +0100 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2010-11-18 18:58:50 +0100 |
commit | 2aa3f7340454d6fc9c567b8e3431c8a5c0500ca6 (patch) | |
tree | 7b64315e4a910caacdae75625d3171ceca81415e /xslt/summary.xslt | |
parent | 002e6f0949eaaf352c7e57fc9dbc64c83c6493b0 (diff) |
better more
Diffstat (limited to 'xslt/summary.xslt')
-rw-r--r-- | xslt/summary.xslt | 33 |
1 files changed, 25 insertions, 8 deletions
diff --git a/xslt/summary.xslt b/xslt/summary.xslt index 4c8e559f..ed379727 100644 --- a/xslt/summary.xslt +++ b/xslt/summary.xslt @@ -29,9 +29,15 @@ <xsl:text>h2. </xsl:text><xsl:call-template name="entity-name"/><xsl:text> </xsl:text> <xsl:text>||EntityID|</xsl:text><xsl:value-of select="@entityID"/><xsl:value-of select="$eol"/> - <xsl:apply-templates/> - <xsl:value-of select="$eol"/> + <xsl:apply-templates select="md:IDPSSODescriptor"/> + <xsl:apply-templates select="md:SPSSODescriptor"/> + <xsl:apply-templates select="md:Organization"/> + <xsl:apply-templates select="md:ContactPerson"/> + <xsl:text> +</xsl:text> + <xsl:apply-templates select="md:SPSSODescriptor/md:AttributeConsumingService"/> <xsl:text> + </xsl:text> </xsl:template> @@ -54,15 +60,20 @@ </xsl:template> <xsl:template match="md:SPSSODescriptor"> - <xsl:text>||Role|</xsl:text> - <xsl:text>Service Provider</xsl:text> - <xsl:value-of select="$eol"/> + <xsl:text>||Role|Service Provider</xsl:text><xsl:value-of select="$eol"/> + </xsl:template> + + <xsl:template match="md:AttributeConsumingService"> + <xsl:apply-templates/> + </xsl:template> + + <xsl:template match="md:ServiceDescription"> + <xsl:text>{info}</xsl:text><xsl:value-of select="text()"/><xsl:text>{info}</xsl:text> </xsl:template> <xsl:template match="md:IDPSSODescriptor"> - <xsl:text>||Role|</xsl:text> - <xsl:text>Identity Provider</xsl:text> - <xsl:value-of select="$eol"/> + <xsl:text>||Role|Identity Provider</xsl:text><xsl:value-of select="$eol"/> + <xsl:text>||Scopes|</xsl:text><xsl:apply-templates select="md:Extensions/shibmd:Scope"/><xsl:value-of select="$eol"/> </xsl:template> <xsl:template match="md:EmailAddress"> @@ -77,6 +88,12 @@ <xsl:value-of select="text()"/> </xsl:template> + <xsl:template match="shibmd:Scope"> + <xsl:text>* </xsl:text><xsl:value-of select="text()"/><xsl:text> +</xsl:text> + </xsl:template> + + <xsl:template match="*"/> <xsl:template match="text()"/> |