diff options
Diffstat (limited to 'packaging/templates.xsl')
-rw-r--r-- | packaging/templates.xsl | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/packaging/templates.xsl b/packaging/templates.xsl index 1c9072c..8012ffa 100644 --- a/packaging/templates.xsl +++ b/packaging/templates.xsl @@ -55,8 +55,13 @@ <!-- Print initials for a given worker with id $who --> <!-- DO NOT CHANGE SPACING! --> - <xsl:template name="initials"><xsl:for-each - select="/rpm-info/colophon/worker"><xsl:if test="@id = $who"><xsl:value-of - select="@initials"/></xsl:if></xsl:for-each></xsl:template> + <xsl:template name="initials"> + <xsl:param name="who" select="''"/> + <xsl:for-each select="/rpm-info/colophon/worker"> + <xsl:if test="@id = $who"> + <xsl:value-of select="@initials"/> + </xsl:if> + </xsl:for-each> + </xsl:template> </xsl:stylesheet> |