diff options
Diffstat (limited to 'xslt')
-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> |