mirror of
https://github.com/boostorg/boostbook.git
synced 2025-05-09 15:03:57 +00:00
fix Concept section id when library has multiple reference sections
[SVN r35037]
This commit is contained in:
parent
12ec1284fe
commit
b9e5003e43
@ -50,15 +50,23 @@
|
||||
|
||||
<xsl:if test="concept">
|
||||
<section>
|
||||
<xsl:choose>
|
||||
<xsl:when test="@id">
|
||||
<xsl:attribute name="id">
|
||||
<xsl:value-of select="@id"/>
|
||||
<xsl:text>.concepts</xsl:text>
|
||||
</xsl:attribute>
|
||||
</xsl:when>
|
||||
<xsl:when test="ancestor::library/attribute::id">
|
||||
<xsl:attribute name="id">
|
||||
<xsl:value-of select="ancestor::library/attribute::id"/>
|
||||
<xsl:text>.concepts</xsl:text>
|
||||
</xsl:attribute>
|
||||
</xsl:when>
|
||||
</xsl:choose>
|
||||
|
||||
<title>Concepts</title>
|
||||
|
||||
<xsl:if test="ancestor::library/attribute::id">
|
||||
<xsl:attribute name="id">
|
||||
<xsl:value-of select="ancestor::library/attribute::id"/>
|
||||
<xsl:text>.concepts</xsl:text>
|
||||
</xsl:attribute>
|
||||
</xsl:if>
|
||||
|
||||
|
||||
<itemizedlist>
|
||||
<xsl:for-each select="concept">
|
||||
<listitem>
|
||||
|
Loading…
x
Reference in New Issue
Block a user