summaryrefslogtreecommitdiff
path: root/xslt/add-rpi.xsl
diff options
context:
space:
mode:
authorBjörn Mattsson <bjorn@sunet.se>2021-05-19 12:23:53 +0200
committerBjörn Mattsson <bjorn@sunet.se>2021-05-19 12:23:53 +0200
commitae08455b815260bf2c4d4b19e374b00b47d19f05 (patch)
tree55c9924198d7febb1707cb332e1ed3fefe7ea292 /xslt/add-rpi.xsl
parent2ea19404edc60f657de96b1a82f92dbe415372da (diff)
Updated Makefile and xslt/add-rpi.xsl to get registrationInstant added on new files
Diffstat (limited to 'xslt/add-rpi.xsl')
-rw-r--r--xslt/add-rpi.xsl4
1 files changed, 3 insertions, 1 deletions
diff --git a/xslt/add-rpi.xsl b/xslt/add-rpi.xsl
index 687ba626..3e928716 100644
--- a/xslt/add-rpi.xsl
+++ b/xslt/add-rpi.xsl
@@ -36,7 +36,9 @@
<xsl:template name="add-swamid-ri">
<xsl:if test="not(mdrpi:RegistrationInfo[@registrationAuthority])">
- <mdrpi:RegistrationInfo registrationAuthority="http://www.swamid.se/">
+ <mdrpi:RegistrationInfo>
+ <xsl:attribute name="registrationAuthority">http://www.swamid.se/</xsl:attribute>
+ <xsl:attribute name="registrationInstant"><xsl:value-of select="$regDate"/></xsl:attribute>
<mdrpi:RegistrationPolicy xml:lang="en">http://swamid.se/policy/mdrps</mdrpi:RegistrationPolicy>
</mdrpi:RegistrationInfo>
</xsl:if>