Move ref target attribute to root node

This commit is contained in:
Sam Whited 2020-04-22 08:50:16 -04:00
parent e0694f28bd
commit 7c97fb37bc
1 changed files with 1 additions and 0 deletions

View File

@ -35,6 +35,7 @@ THE SOFTWARE.
<xsl:template match='/'>
<reference>
<xsl:attribute name='anchor'><xsl:text>XEP-</xsl:text><xsl:value-of select='/xep/header/number'/></xsl:attribute>
<xsl:attribute name='target'><xsl:text>http://xmpp.org/extensions/xep-</xsl:text><xsl:value-of select='/xep/header/number'/><xsl:text>.html</xsl:text></xsl:attribute>
<front>
<title><xsl:value-of select='/xep/header/title' /></title>
<xsl:apply-templates select='/xep/header/author'/>