summaryrefslogtreecommitdiff
path: root/xslt
diff options
context:
space:
mode:
authorBjörn Mattsson <bjorn@sunet.se>2023-03-06 10:35:43 +0100
committerBjörn Mattsson <bjorn@sunet.se>2023-03-06 10:35:43 +0100
commitbc1d55080e5d42e6ef2bba892d640aa8f68bbc90 (patch)
treef1d150e15cbf8d1e95178ec807aec07e30285571 /xslt
parent96a548fa18a1b992029848931501bc8c3bbb710f (diff)
Removed organization/* files and function to add missing organization in xslt/normalize.xsl
Diffstat (limited to 'xslt')
-rw-r--r--xslt/normalize.xsl6
1 files changed, 0 insertions, 6 deletions
diff --git a/xslt/normalize.xsl b/xslt/normalize.xsl
index 67dabe72..f3c086ac 100644
--- a/xslt/normalize.xsl
+++ b/xslt/normalize.xsl
@@ -65,18 +65,12 @@ If You do not accept these Terms, then You must not continue to use this Metadat
<xsl:variable name="domain">
<xsl:value-of select="substring-after($host,'.')"/>
</xsl:variable>
- <xsl:variable name="orginfo">
- <xsl:value-of select="concat('../organization','/',$domain,'.xml')"/>
- </xsl:variable>
<md:EntityDescriptor>
<xsl:apply-templates select="@*"/>
<xsl:if test="$rpi='true' and not(md:Extensions)">
<md:Extensions><xsl:call-template name="add-swamid-ri"/></md:Extensions>
</xsl:if>
<xsl:apply-templates select="text()|comment()|md:Extensions|md:RoleDescriptor|md:IDPSSODescriptor|md:SPSSODescriptor|md:AuthnAuthorityDescriptor|md:AttributeAuthorityDescriptor|md:PDPDescriptor|md:AffiliationDescriptor"/>
- <xsl:if test="$org='true' and not(md:Organization)">
- <xsl:apply-templates select="document($orginfo)"/>
- </xsl:if>
<xsl:apply-templates select="md:Organization"/>
<xsl:if test="$defaultContact='true' and not(md:ContactPerson)">
<md:ContactPerson contactType="technical"><md:EmailAddress>operations@swamid.se</md:EmailAddress></md:ContactPerson>