1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-11-21 08:45:04 -05:00

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

View File

@ -35,6 +35,7 @@ THE SOFTWARE.
<xsl:template match='/'> <xsl:template match='/'>
<reference> <reference>
<xsl:attribute name='anchor'><xsl:text>XEP-</xsl:text><xsl:value-of select='/xep/header/number'/></xsl:attribute> <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> <front>
<title><xsl:value-of select='/xep/header/title' /></title> <title><xsl:value-of select='/xep/header/title' /></title>
<xsl:apply-templates select='/xep/header/author'/> <xsl:apply-templates select='/xep/header/author'/>