- <xslt:copy-of select="exsl:node-set($metadata)/node()[self::comment() or self::* and not(self::html:title)]"/>
- <xslt:if test="not(exsl:node-set($metadata)/html:meta[@name='generator'])">
- <html:meta name="generator" content="⛩️📰 书社"/>
- </xslt:if>
+ <xslt:copy-of select="exsl:node-set($metadata)/node()[not(self::*) or not(self::html:title)]"/>
+ <html:meta name="generator">
+ <xslt:attribute name="content">
+ <xslt:for-each select="exsl:node-set($metadata)/html:meta[@name='generator']">
+ <xslt:value-of select="@content"/>
+ <xslt:text>, </xslt:text>
+ </xslt:for-each>
+ <xslt:text>⛩️📰 书社</xslt:text>
+ <xslt:if test="$THISREV">
+ <xslt:text> (</xslt:text>
+ <xslt:value-of select="$THISREV"/>
+ <xslt:text>)</xslt:text>
+ </xslt:if>
+ </xslt:attribute>
+ </html:meta>