diff options
-rw-r--r-- | xslt/normalize.xsl | 6 |
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"> |