summaryrefslogtreecommitdiff
path: root/xslt/normalize.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'xslt/normalize.xsl')
-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>