diff options
author | Leif Johansson <leifj@sunet.se> | 2011-12-01 13:10:55 +0100 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2011-12-01 13:10:55 +0100 |
commit | ba159a996ea105e4f1dc03647fe0bf22039ff472 (patch) | |
tree | e4736c22a3a126e6cf1653a533225580d381d5cf /xslt/normalize.xsl | |
parent | ee5313ec12f581d7ff175132e3d3816d40090155 (diff) |
make org optional
Diffstat (limited to 'xslt/normalize.xsl')
-rw-r--r-- | xslt/normalize.xsl | 2 |
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)"> |