diff options
author | Björn Mattsson <bjorn@sunet.se> | 2023-03-23 16:11:33 +0100 |
---|---|---|
committer | Björn Mattsson <bjorn@sunet.se> | 2023-03-23 16:11:33 +0100 |
commit | d5e304e74692a764475a78c0bddf13bfa37f148b (patch) | |
tree | 1bb13d798277fb27f5ea5dac8cd7e258eeb2ff7c | |
parent | af72a90d84c02f704f920a42c0f33a05ec673470 (diff) |
Added OrgInfo for webb
-rw-r--r-- | xslt/entityInfo2Webb.xslt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/xslt/entityInfo2Webb.xslt b/xslt/entityInfo2Webb.xslt index 2c0ad01..da15112 100644 --- a/xslt/entityInfo2Webb.xslt +++ b/xslt/entityInfo2Webb.xslt @@ -47,6 +47,7 @@ <th>EntityID </th> <th>Contacts</th> <th>UIInfo</th> + <th>Organization</th> <th>RequestedAttributes</th> </tr> </xsl:text> @@ -67,6 +68,8 @@ <xsl:text></td> <td></xsl:text><xsl:apply-templates select="md:SPSSODescriptor/md:Extensions/mdui:UIInfo"/> <xsl:text></td> + <td></xsl:text><xsl:apply-templates select="md:Organization"/> + <xsl:text></td> <td></xsl:text><xsl:apply-templates select="md:SPSSODescriptor/md:AttributeConsumingService[1]"/> <xsl:text></td> </tr> @@ -87,12 +90,25 @@ <xsl:apply-templates select="mdui:InformationURL[1]"/> </xsl:template> + + <xsl:template match="md:Organization"> + <xsl:apply-templates select="md:OrganizationName[1]"/><xsl:text><br></xsl:text> + <xsl:apply-templates select="md:OrganizationDisplayName[1]"/> + <xsl:apply-templates select="md:OrganizationURL[1]"/> + </xsl:template> + <xsl:template match="mdui:InformationURL"> <xsl:text><br><a href="</xsl:text> <xsl:value-of select="text()"/> <xsl:text>">InformationURL</a></xsl:text> </xsl:template> + <xsl:template match="md:OrganizationURL"> + <xsl:text><br><a href="</xsl:text> + <xsl:value-of select="text()"/> + <xsl:text>">md:OrganizationURL</a></xsl:text> + </xsl:template> + <xsl:template match="md:ContactPerson"> <xsl:text><a href="mailto:</xsl:text> <xsl:apply-templates select="md:EmailAddress"/> |