</xsl:when>
<xsl:when test="$authors[self::corpauthor]">
<xsl:value-of select="$authors"/>
+ </xsl:when>
+ <xsl:when test="$authors[orgname]">
+ <xsl:value-of select="$authors/orgname"/>
</xsl:when>
<xsl:otherwise>
<xsl:call-template name="person.name">
<xsl:when test="$authors[self::corpauthor]">
<xsl:value-of select="$authors"/>
</xsl:when>
+ <xsl:when test="$authors[orgname]">
+ <xsl:value-of select="$authors/orgname"/>
+ </xsl:when>
<xsl:otherwise>
<xsl:call-template name="person.name">
<xsl:with-param name="node" select="$authors"/>
<xsl:when test="$authors[self::corpauthor]">
<xsl:value-of select="$authors"/>
</xsl:when>
+ <xsl:when test="$authors[orgname]">
+ <xsl:value-of select="$authors/orgname"/>
+ </xsl:when>
<xsl:otherwise>
<xsl:call-template name="person.name">
<xsl:with-param name="node" select="$authors"/>
Pdf bookmarks
******************************************************************** -->
+<xsl:variable name="collapse.subtree">
+ <xsl:choose>
+ <xsl:when test="$bookmarks.collapse != 0">true</xsl:when>
+ <xsl:otherwise>false</xsl:otherwise>
+ </xsl:choose>
+</xsl:variable>
+
<xsl:template match="*" mode="xep.outline">
<xsl:apply-templates select="*" mode="xep.outline"/>
</xsl:template>
<xsl:when test="self::index and $generate.index = 0"/>
<xsl:when test="parent::*">
<rx:bookmark internal-destination="{$id}">
+ <xsl:attribute name="collapse-subtree">
+ <xsl:value-of select="$collapse.subtree"/>
+ </xsl:attribute>
<rx:bookmark-label>
<xsl:value-of select="normalize-space($bookmark-label)"/>
</rx:bookmark-label>
<xsl:otherwise>
<xsl:if test="$bookmark-label != ''">
<rx:bookmark internal-destination="{$id}">
+ <xsl:attribute name="collapse-subtree">
+ <xsl:value-of select="$collapse.subtree"/>
+ </xsl:attribute>
<rx:bookmark-label>
<xsl:value-of select="normalize-space($bookmark-label)"/>
</rx:bookmark-label>