summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2014-11-12 01:33:34 +0100
committerLeif Johansson <leifj@sunet.se>2014-11-12 01:33:34 +0100
commitcd0a3300603500758306b423d70d640b35182671 (patch)
treec9fd44a0dbdcf601f4a71fec6c245f742886983b
parent438edbc945ce0b695fda8bc8abc11ae0d9a842ec (diff)
fix bug in org/contactperson mgmt
-rw-r--r--xslt/normalize.xsl4
1 files changed, 3 insertions, 1 deletions
diff --git a/xslt/normalize.xsl b/xslt/normalize.xsl
index 071a69e2..2ae8a1e1 100644
--- a/xslt/normalize.xsl
+++ b/xslt/normalize.xsl
@@ -67,10 +67,12 @@ If You do not accept these Terms, then You must not continue to use this Metadat
<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>
</xsl:if>
- <xsl:apply-templates select="md:Organization|md:ContactPerson|md:AdditionalMetadataLocation"/>
+ <xsl:apply-templates select="md:ContactPerson"/>
+ <xsl:apply-templates select="md:AdditionalMetadataLocation"/>
</md:EntityDescriptor>
</xsl:template>