Skip to content

Commit e49f4de

Browse files
committed
For <product>, make <desc> appear earlier
1 parent d2a0bf1 commit e49f4de

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

src/docbuild/config/xml/data/convert-v6-to-v7.xsl

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,11 @@
370370
<xsl:attribute name="rank">
371371
<xsl:value-of select="$cnfg/@rank" />
372372
</xsl:attribute>
373-
<xsl:apply-templates select="node()[not(self::desc)]" />
373+
374+
<xsl:apply-templates select="name"/>
375+
<xsl:apply-templates select="sortname"/>
376+
<xsl:apply-templates select="acronym"/>
377+
<xsl:apply-templates select="maintainers"/>
374378

375379
<!-- Handle desc elements -->
376380
<xsl:if test="desc">
@@ -397,6 +401,8 @@
397401
<xsl:with-param name="content" select="$content"/>
398402
</xsl:call-template>
399403
</xsl:if>
404+
405+
<xsl:apply-templates select="node()[not(self::desc) and not(self::name) and not(self::sortname) and not(self::acronym) and not(self::maintainers)]" />
400406
</product>
401407
</xsl:template>
402408

0 commit comments

Comments
 (0)