summaryrefslogtreecommitdiff
path: root/xslt/idp-summary.xslt
diff options
context:
space:
mode:
Diffstat (limited to 'xslt/idp-summary.xslt')
-rw-r--r--xslt/idp-summary.xslt10
1 files changed, 8 insertions, 2 deletions
diff --git a/xslt/idp-summary.xslt b/xslt/idp-summary.xslt
index 90e57adf..cc5a5f16 100644
--- a/xslt/idp-summary.xslt
+++ b/xslt/idp-summary.xslt
@@ -10,6 +10,7 @@
xmlns:remd="http://refeds.org/metadata"
xmlns:exsl="http://exslt.org/common"
extension-element-prefixes="exsl"
+ xmlns:mdrpi="urn:oasis:names:tc:SAML:metadata:rpi"
xmlns:shibmd="urn:mace:shibboleth:metadata:1.0">
<xsl:output method="text"/>
@@ -29,7 +30,7 @@
</xsl:template>
<xsl:template match="/md:EntitiesDescriptor">
- <xsl:text>||EntityID||Organization||Technical Contact||Support Contact||Security Contact||Administrative Contact||Scopes||Entity category support||Assurance Certification||
+ <xsl:text>||EntityID||Organization||Technical Contact||Support Contact||Security Contact||Administrative Contact||Scopes||Entity category support||Assurance Certification||Registration Authority||
</xsl:text>
<xsl:apply-templates select="md:EntityDescriptor[md:IDPSSODescriptor]"/>
</xsl:template>
@@ -44,10 +45,15 @@
<xsl:text> | </xsl:text><xsl:apply-templates select="md:IDPSSODescriptor"/><xsl:text> </xsl:text>
<xsl:text> | </xsl:text><xsl:apply-templates select="md:Extensions/mdattr:EntityAttributes/samla:Attribute[@Name='http://macedir.org/entity-category-support']/samla:AttributeValue"/><xsl:text> </xsl:text>
<xsl:text> | </xsl:text><xsl:apply-templates select="md:Extensions/mdattr:EntityAttributes/samla:Attribute[@Name='urn:oasis:names:tc:SAML:attribute:assurance-certification']/samla:AttributeValue"/><xsl:text> </xsl:text>
+ <xsl:text> | </xsl:text><xsl:apply-templates select="md:Extensions/mdrpi:RegistrationInfo"/>
<xsl:text> |
</xsl:text>
</xsl:template>
+ <xsl:template match="mdrpi:RegistrationInfo">
+ <xsl:value-of select="@registrationAuthority"/><xsl:text> </xsl:text>
+ </xsl:template>
+
<xsl:template match="md:ContactPerson">
<xsl:apply-templates select="md:EmailAddress"/>
</xsl:template>
@@ -81,7 +87,7 @@
<xsl:call-template name="string-replace-all">
<xsl:with-param name="text" select="text()" />
<xsl:with-param name="replace" select="'-'" />
- <xsl:with-param name="by" select="'&amp;#x2011;'" />
+ <xsl:with-param name="by" select="'-'" />
</xsl:call-template>
<xsl:text> \\</xsl:text>
</xsl:template>