summaryrefslogtreecommitdiff
path: root/xslt
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2011-12-01 13:10:55 +0100
committerLeif Johansson <leifj@sunet.se>2011-12-01 13:10:55 +0100
commitba159a996ea105e4f1dc03647fe0bf22039ff472 (patch)
treee4736c22a3a126e6cf1653a533225580d381d5cf /xslt
parentee5313ec12f581d7ff175132e3d3816d40090155 (diff)
make org optional
Diffstat (limited to 'xslt')
-rw-r--r--xslt/normalize.xsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/xslt/normalize.xsl b/xslt/normalize.xsl
index 7de5a90f..1abe4e05 100644
--- a/xslt/normalize.xsl
+++ b/xslt/normalize.xsl
@@ -64,7 +64,7 @@ If You do not accept these Terms, then You must not continue to use this Metadat
<md:Extensions><xsl:call-template name="add-swamid-rpi"/></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="not(md:Organization)">
+ <xsl:if test="$org='true' and not(md:Organization)">
<xsl:apply-templates select="document($orginfo)"/>
</xsl:if>
<xsl:if test="$defaultContact='true' and not(md:ContactPerson)">