mirror of
https://github.com/moparisthebest/xeps
synced 2025-01-10 21:38:18 -05:00
Merge pull request #1167 from SamWhited/superseded
Make XEP superseded more visible in HTML output
This commit is contained in:
commit
29dc732022
22
xep.xsl
22
xep.xsl
@ -271,6 +271,28 @@ content: "XEP-<xsl:value-of select='/xep/header/number'/>";
|
||||
<xsl:with-param name='thetype' select='/xep/header/type'/>
|
||||
</xsl:call-template>
|
||||
</dd>
|
||||
<xsl:variable name='supersedes.count' select='count(/xep/header/supersedes/spec)'/>
|
||||
<xsl:choose>
|
||||
<xsl:when test='$supersedes.count > 0'>
|
||||
<dt>Supersedes</dt>
|
||||
<dd>
|
||||
<xsl:apply-templates select='/xep/header/supersedes/spec'>
|
||||
<xsl:with-param name='speccount' select='$supersedes.count'/>
|
||||
</xsl:apply-templates>
|
||||
</dd>
|
||||
</xsl:when>
|
||||
</xsl:choose>
|
||||
<xsl:variable name='supersededby.count' select='count(/xep/header/supersededby/spec)'/>
|
||||
<xsl:choose>
|
||||
<xsl:when test='$supersededby.count > 0'>
|
||||
<dt>Superseded By</dt>
|
||||
<dd>
|
||||
<xsl:apply-templates select='/xep/header/supersededby/spec'>
|
||||
<xsl:with-param name='speccount' select='$supersededby.count'/>
|
||||
</xsl:apply-templates>
|
||||
</dd>
|
||||
</xsl:when>
|
||||
</xsl:choose>
|
||||
<dt>Type</dt>
|
||||
<dd><xsl:value-of select='/xep/header/type'/></dd>
|
||||
<dt>Version</dt>
|
||||
|
Loading…
Reference in New Issue
Block a user