<xsl:template name="xep-document-information">
<rx:meta-info>
- <xsl:variable name="authors" select="(//author|//editor|//authorgroup)[1]"/>
+ <xsl:variable name="authors" select="(//author|//editor|//corpauthor|//authorgroup)[1]"/>
<xsl:if test="$authors">
<xsl:element name="rx:meta-field">
<xsl:attribute name="name">author</xsl:attribute>
<xsl:with-param name="person.list" select="$authors/*[self::author|self::corpauthor|self::othercredit|self::editor]"/>
</xsl:call-template>
</xsl:when>
+ <xsl:when test="$authors[self::corpauthor]">
+ <xsl:value-of select="$authors"/>
+ </xsl:when>
<xsl:otherwise>
<xsl:call-template name="person.name">
<xsl:with-param name="node" select="$authors"/>
<xsl:apply-templates select="/*[1]" mode="title.markup"/>
</xsl:variable>
+ <xsl:element name="rx:meta-field">
+ <xsl:attribute name="name">creator</xsl:attribute>
+ <xsl:attribute name="value">
+ <xsl:text>DocBook XSL Stylesheets V</xsl:text>
+ <xsl:value-of select="$VERSION"/>
+ </xsl:attribute>
+ </xsl:element>
+
<xsl:element name="rx:meta-field">
<xsl:attribute name="name">title</xsl:attribute>
<xsl:attribute name="value">