orgname as a child of author.
</xsl:when>
<!-- handle corpauthor as a special case...-->
+ <!-- * MikeSmith 2007-06: I'm wondering if the person.name template -->
+ <!-- * actually ever gets called to handle corpauthor.. maybe -->
+ <!-- * we don't actually need to check for corpauthor here. -->
<xsl:when test="local-name($node)='corpauthor'">
<xsl:apply-templates select="$node"/>
</xsl:when>
</xsl:if>
<h3>
<xsl:apply-templates select="." mode="class.attribute"/>
- <xsl:call-template name="person.name"/>
+ <xsl:choose>
+ <xsl:when test="orgname">
+ <xsl:apply-templates/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:call-template name="person.name"/>
+ </xsl:otherwise>
+ </xsl:choose>
</h3>
<xsl:if test="not($contrib.inline.enabled = 0)">
<xsl:apply-templates mode="titlepage.mode" select="contrib"/>