xep.xsl: Ensure that the leading zeroes are preserved in citations

This commit is contained in:
Jonas Schäfer 2021-04-13 19:25:31 +02:00
parent 5d186e6362
commit 72d8b4b3cf
1 changed files with 1 additions and 1 deletions

View File

@ -508,7 +508,7 @@ content: "XEP-<xsl:value-of select='/xep/header/number'/>";
title = {<xsl:value-of select='/xep/header/title'/>}, title = {<xsl:value-of select='/xep/header/title'/>},
version = {<xsl:value-of select='/xep/header/revision[position()=1]/version'/>}, version = {<xsl:value-of select='/xep/header/revision[position()=1]/version'/>},
type = {XEP}, type = {XEP},
number = <xsl:value-of select='/xep/header/number'/> number = {<xsl:value-of select='/xep/header/number'/>},
author = {<xsl:for-each select='/xep/header/author'><xsl:value-of select='firstname'/><xsl:text> </xsl:text><xsl:value-of select='surname'/><xsl:if test="not(position() = last())"> and </xsl:if></xsl:for-each> author = {<xsl:for-each select='/xep/header/author'><xsl:value-of select='firstname'/><xsl:text> </xsl:text><xsl:value-of select='surname'/><xsl:if test="not(position() = last())"> and </xsl:if></xsl:for-each>
}, },
institution = {XMPP Standards Foundation}, institution = {XMPP Standards Foundation},