summaryrefslogtreecommitdiff
path: root/metadata/xslt/summary.xslt
diff options
context:
space:
mode:
authorBjörn Mattsson <bjorn@sunet.se>2023-11-06 15:12:20 +0100
committerBjörn Mattsson <bjorn@sunet.se>2023-11-06 15:12:20 +0100
commita9fa6d5551f047e976e624c1b6cc82e8c4fbb76d (patch)
treef8c0f59a36ae572e3f67045435b27e15bf9d0b44 /metadata/xslt/summary.xslt
parentb4f5e684ecb318e10735414c683787d435bae7a5 (diff)
Cleaning up old files left after we stopped signing on mds1/2. Done by Bjorn and Jocarmd-2023-11-06-v02
Diffstat (limited to 'metadata/xslt/summary.xslt')
-rw-r--r--metadata/xslt/summary.xslt102
1 files changed, 0 insertions, 102 deletions
diff --git a/metadata/xslt/summary.xslt b/metadata/xslt/summary.xslt
deleted file mode 100644
index 05152d13..00000000
--- a/metadata/xslt/summary.xslt
+++ /dev/null
@@ -1,102 +0,0 @@
-<?xml version="1.0"?>
-<xsl:stylesheet version="1.0"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:shibmeta="urn:mace:shibboleth:metadata:1.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
- xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata"
- xmlns:exsl="http://exslt.org/common"
- extension-element-prefixes="exsl"
- xmlns:shibmd="urn:mace:shibboleth:metadata:1.0">
-
- <xsl:output method="text"/>
- <xsl:variable name="eol">
-<xsl:text>|</xsl:text><xsl:text>
-</xsl:text>
- </xsl:variable>
-
- <xsl:template name="entity-name">
- <xsl:variable name="h"><xsl:value-of select="substring-after(@entityID,'://')"/></xsl:variable>
- <xsl:if test="contains($h,'/')">
- <xsl:value-of select="substring-before($h,'/')"/>
- </xsl:if>
- <xsl:if test="not(contains($h,'/'))">
- <xsl:value-of select="$h"/>
- </xsl:if>
- </xsl:template>
-
- <xsl:template match="md:EntityDescriptor">
- <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 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:text>[Supplemental documentation|</xsl:text><xsl:call-template name="entity-name"/><xsl:text>]
-</xsl:text>
- <xsl:text>
-</xsl:text>
- </xsl:template>
-
- <xsl:template match="md:ContactPerson[@contactType='technical']">
- <xsl:text>||Technical contact|</xsl:text>
- <xsl:apply-templates select="md:EmailAddress"/>
- <xsl:value-of select="$eol"/>
- </xsl:template>
-
- <xsl:template match="md:ContactPerson[@contactType='administrative']">
- <xsl:text>||Administrative contact|</xsl:text>
- <xsl:apply-templates select="md:EmailAddress"/>
- <xsl:value-of select="$eol"/>
- </xsl:template>
-
- <xsl:template match="md:Organization">
- <xsl:text>||Organization|[</xsl:text>
- <xsl:apply-templates select="md:OrganizationDisplayName[1]"/><xsl:text>|</xsl:text><xsl:apply-templates select="md:OrganizationURL[1]"/><xsl:text>]</xsl:text>
- <xsl:value-of select="$eol"/>
- </xsl:template>
-
- <xsl:template match="md:SPSSODescriptor">
- <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|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">
- <xsl:value-of select="text()"/>
- </xsl:template>
-
- <xsl:template match="md:OrganizationDisplayName">
- <xsl:value-of select="text()"/>
- </xsl:template>
-
- <xsl:template match="md:OrganizationURL">
- <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()"/>
-
-</xsl:stylesheet>