so the name style can be selected by passing a param.
<!-- Formats a personal name. Handles corpauthor as a special case. -->
<xsl:param name="node" select="."/>
- <xsl:variable name="style">
+ <xsl:param name="style">
<xsl:choose>
<xsl:when test="$node/@role">
<xsl:value-of select="$node/@role"/>
</xsl:call-template>
</xsl:otherwise>
</xsl:choose>
- </xsl:variable>
+ </xsl:param>
<xsl:choose>
<!-- the personname element is a specialcase -->