diff options
author | Björn Mattsson <bjorn@sunet.se> | 2021-05-19 12:23:53 +0200 |
---|---|---|
committer | Björn Mattsson <bjorn@sunet.se> | 2021-05-19 12:23:53 +0200 |
commit | ae08455b815260bf2c4d4b19e374b00b47d19f05 (patch) | |
tree | 55c9924198d7febb1707cb332e1ed3fefe7ea292 /xslt/add-rpi.xsl | |
parent | 2ea19404edc60f657de96b1a82f92dbe415372da (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.xsl | 4 |
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> |