summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2016-03-18 12:25:39 +0100
committerLeif Johansson <leifj@sunet.se>2016-03-18 12:25:39 +0100
commit6575df0dfb2039f23c712cf697466e5f54f138ad (patch)
treef6d4b371977f0fab8bfbbec7bf37617284987b0d
parentc656df931dff5ff5dfb31d9aad303d866c0097cb (diff)
extensions need to go to the headnew-signer
-rw-r--r--xslt/normalize.xsl6
1 files changed, 3 insertions, 3 deletions
diff --git a/xslt/normalize.xsl b/xslt/normalize.xsl
index d115d058..210fb44a 100644
--- a/xslt/normalize.xsl
+++ b/xslt/normalize.xsl
@@ -39,11 +39,11 @@ If You do not accept these Terms, then You must not continue to use this Metadat
<xsl:if test="@validUntil">
<xsl:attribute name="validUntil"><xsl:value-of select="$date"/></xsl:attribute>
</xsl:if>
+ <xsl:if test="$target">
+ <md:Extensions><xsl:call-template name="add-swamid-pi"/></md:Extensions>
+ </xsl:if>
<xsl:apply-templates/>
</md:EntitiesDescriptor>
- <xsl:if test="$target='true'">
- <md:Extensions><xsl:call-template name="add-swamid-pi"/></md:Extensions>
- </xsl:if>
</xsl:template>
<xsl:template match="md:EntityDescriptor">